move draw logic to separate package

This commit is contained in:
Felix Roos
2024-02-29 22:14:53 +01:00
parent 94dd547a74
commit 6ce8a3feba
22 changed files with 78 additions and 59 deletions
+1
View File
@@ -34,6 +34,7 @@
"homepage": "https://github.com/tidalcycles/strudel#readme",
"dependencies": {
"@strudel/core": "workspace:*",
"@strudel/canvas": "workspace:*",
"superdough": "workspace:*"
},
"devDependencies": {
+2 -1
View File
@@ -1,4 +1,5 @@
import { Pattern, getDrawContext, clamp } from '@strudel/core';
import { Pattern, clamp } from '@strudel/core';
import { getDrawContext } from '@strudel/canvas';
import { analyser, getAnalyzerData } from 'superdough';
export function drawTimeScope(