https://github.com/error-four-o-four/sketches
A hotchpotch of p5.js sketches
https://github.com/error-four-o-four/sketches
genart p5js
Last synced: 3 months ago
JSON representation
A hotchpotch of p5.js sketches
- Host: GitHub
- URL: https://github.com/error-four-o-four/sketches
- Owner: error-four-o-four
- Created: 2024-08-04T13:18:09.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-30T11:00:37.000Z (4 months ago)
- Last Synced: 2025-03-30T11:29:00.015Z (4 months ago)
- Topics: genart, p5js
- Language: TypeScript
- Homepage: https://error-four-o-four.github.io/sketches/
- Size: 4.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Sketches](https://error-four-o-four.github.io/sketches/)
A hotchpotch (monorepo) of p5.js sketches
## cli commands
#### `npx create`
use `npx create foo` to create a new sketch based on this [template](./templates/instance)
#### options
* pass a \ as the first positional argument or use `--name ` (alias: `-n`)
* either use `--tmpl <'global' | 'instance'>` to choose a specific template (alias: `-t`)
* or use `--source ` to use an existing sketch as a template (alias: `--src`, `-s`)#### `npx fetch`
use `npx fetch [email protected]` to download a specific library from [cdnjs](https://cdnjs.com/)
## development
use `npm run dev -w foo` to work on a single sketch
## production
use `npm run build -w foo` to create a start point for a new sketch on [open processing](https://openprocessing.org/)
use `npm run build` to bundle the files, which will be deployed to github\
update included [sketches](./vite.options.ts) to specify the deployed files\
use `npm run preview` to test deployed files locally