1,234
edits
Changes
no edit summary
Processing.js itself is a kind of translator - it reads Processing (Java) code and coverts it to JavaScript code. This is possible to do to an extent and many Processing apps will run just fine in Processing.js but there are differences that can require porting work. For example there are no data types in JS, so if your Java logic depends on data types (e.g. integer rounding) you will need to modify that code to work in JS.
== PHP ==
Much more can be done in a webpage if content is generated dynamically on the server. We'll review some PHP programming basics.
PHP doesn't have to generate only HTML. It is quite reasonable to generate JavaScript in PHP as well.
= References =