A hotchpotch (monorepo) of p5.js sketches
use npx create foo
to create a new sketch based on this template
- pass a <workspace-name> as the first positional argument or use
--name <workspace-name>
(alias:-n
) - either use
--tmpl <'global' | 'instance'>
to choose a specific template (alias:-t
) - or use
--source <sketch-folder>
to use an existing sketch as a template (alias:--src
,-s
)
use npx fetch [email protected]
to download a specific library from cdnjs
use npm run dev -w foo
to work on a single sketch
use npm run build -w foo
to create a start point for a new sketch on open processing
use npm run build
to bundle the files, which will be deployed to github
update included sketches to specify the deployed files
use npm run preview
to test deployed files locally