
You can also use pure JavaScript to work with the Processing drawing API, skipping the Java syntax of Processing in favour of JavaScript. From the processing site:Īny Processing code or concepts should map to Processing.js (the exceptions are listed below). The program takes its syntax called sketches and converts it to javascript. This program was originally written for Java, hence the Java like syntax. The tutorial uses processing.js which has its own syntax. I just did a small test to see if drawing something basic would work.Īt any case, I took it off now, I just want to make the JS program I wrote to work on another platform, without using Khan’s Academy simulation and with whatever goes on in the background of their coding and challenges environment
