Changes

Jump to: navigation, search

Processingjs paper

30 bytes removed, 12:50, 6 January 2011
DOM Integration?? (need a better header)
Processing.js is more than just a Processing parser written in JavaScript. It is designed in a way that connects the processing language with web technologies such as JavaScript, the HTML5 canvas element, JQuery, and various web services such as the flickr api. Furthermore, Processing.js is built in such a way as to allow easy integration of new technologies as they emerge.
The original Processing Language (also known as P5) is Java based. In order to make to parse run processing code, in a web page it has to be completely converted into JavaScript. While syntactically JavaScript and Java are fairly similar. However, in order to make Processing work in JavaScript however, we were faced with several challenges there are some fundamental differences that weremade this conversion challenging.  
We had to dynamically parse the processing sketch. The code had to be fully object oriented. We had to provide support all native Java functions that are supported by Processing. We had to take into account the differences between working with web resources vs local resources. Furthermore, we also had to consider how we would handle some of the fundamental differences between Java and JavaScript such as typed vs typeless variables, function overloading, and variable name overloading.

Navigation menu