We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to implement the very first example of processing.js embedding a pde file and can't get it working (the 'Using processing' example in this page: http://processingjs.org/learning/). The pde file, html and processing.js files are all saved in the same directory. Anyone has any idea why? (i'm using processing 2.1 and processing.js 1.4.1)
It also automatically creates a local HTTP server and opens a browser to run it.
Take notice that w/o a server, mostly only Firefox and its derivatives allow JS scripts and other plugins to run! :-&
W/o having your actual code, we can't test it either! :-&
it's the most basic one:
I also try to get this code running with processing.js (as an embedded code in the html script. I've simplified it a lot, and still, it's not running... any idea why?
the entire code is:
It works when I pasted it @ OpenProcessing.org:
So.., any idea why i can't get it working not in openProcessing?...
Thanks PhiLho. I also tried to embed the code into the html, and couldn't get it working... Any idea why?
Again, how do you try to open this HTML file?
with googleChrome / fireFox browser, loading it from a file system. The example code is working for me that way, so I assume the problem is with the specific code.