3 ms·
The graphics are excellent. I'm curious about the code organization: it seems that processing.js contains both the application code for the clock as well as th
by chillingeffect 12y ago
The graphics are excellent.
I'm curious about the code organization: it seems that processing.js contains both the application code for the clock as well as the libraries for interpreting the Processing code. Is that true? Is that the best organization? Would it not be better to have have a processing.js which is the interpreter/libraries and a bezier_clock.js?
- tslater2006 12y agoPer the Processing.js site, you include the processing.js file and then set an attribute on the canvas showing where to get the PDE file (your code). In this case they set it to: data-processing-sources="bezier_clock.pde" Making the sources to the clock available here: http://jackf.net/bezier-clock/bezier_clock.pde http://jackf.net/bezier-clock/bezier_clock.pde
- chillingeffect 12y agoAh! I see now. Thank you very much for explaining that.