Build a custom binary for p5js #42
joaodasilva
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Window.js can run some p5js (Processing) scripts:
https://windowjs.org/about/processing
The command line is a bit cumbersome and requires checking out custom files:
windowjs.exe examples/p5.js -- examples/p5/simulate-recursive-tree.js
We could build and distribute an additional binary (and sign it) that embeds examples/p5.js and p5.min.js, and has a different welcome screen when a script is missing from the command line. Then running a Processing source would be just this:
windowjs-p5.exe my-processing-script.js
(Without any other downloads, other than windowjs-p5.exe).
This would reduce a lot of the friction in trying out Window.js for p5js.
Beta Was this translation helpful? Give feedback.
All reactions