8000 GitHub - tjandro93/p5js-sketches
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tjandro93/p5js-sketches

Repository files navigation

p5.js Sketchbook

This is my personal sketchbook for making generative art in p5.js.

Running dev server

npm run start

Creating a new sketch

First make sure you've built the schematics package:

npm run build-schematics

Then run either of the below

npm run generate-interactive-sketch -- --name=<path>/<to>/<place>/<sketch>
npm run generate-sketch -- --name=<path>/<to>/<place>/<sketch>

This will just scaffold a sketch file and an NgModule. The last part of the path will be used for the sketch name.

After running this you'll need to wire up routing manually via the appropriate parent module. You'll also need to edit src\app\core\constants\sketch-route-sidenav-links.constants.ts to make your sketch appear in the sidenav.

Note that each sketch is left in it's own lazy-loaded module because this really improves compile time letting you iterate your sketches faster.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0