Note: this prorotype is now integrated into https://github.com/bocoup/p5js-site-proto. See more info there.
A prototype for a faster, more accessible p5.js code embed and preview component. This prototype has basic functionality and no styling outside of that needed for the code editor area itself.
To view the demo page:
Ensure you have pnpm installed on your machine.
$ pnpm install
$ pnpm build
$ pnpm serve
Open http://[::]:8000/test-site/
in a browser.
Note that the serve
script requires python. Alternative local server options also work.
The component code is at src/component.tsx.