How do you setup processingJS on html?
问题 How do you run a processingJS script on an html page? Could someone send me a test .html and any auxiliary code files for me to get an idea? Let's say I wanted to run this rectangle: rect(50,50,50,50); 回答1: Everything you want to know is on this page: JavaScript Quick Start | Processing.js But basically, you need to do create an html file that loads the Processing.js library, then write Processing.js code and load the .pde file into a canvas tag on that page. It looks like this: <!DOCTYPE