This article mainly introduces the introductory tutorial on Processing. js for javascript developers. If you are interested, refer to this tutorial for javascript developers. Before reading this document, you 'd better master javascript and web development programming, and have basic Processing knowledge.
Directory:
Prepare for those who have no patience to read the long story:
If you are anxious to get started, you need to know the following points:
1. Processing. js converts the Processing code into javascript code that can be run on the browser. Labels for drawing;
2. to use it, you first download Processing. js;
3. Create Your Processing file with the extension name ". PVDF", which is the same as a common text file that you normally create, for example: hello-web.pde
4. Create an html page, reference the Processing. js file inside and outside the page, and add Tag, The tag specifies your sketch file (as the name suggests, a sketch file is a Processing file). The sketch file can have multiple files separated by spaces. For example: