We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello,
I have used Processing in Java mode for some time and now I have begun with the JavaScript mode.
My program has obviously a problem but I don't see any error message in the console. Is the console supposed to work the same way in JavaScript mode as in Java mode ?
Answers
OK. This is explained here: wiki.processing.org/w/JavaScript . You need a console within the browser used for testing. There is a console integrated in some browsers (Chrome, Safari). For FireFox, you need a plugin such as FireBug.
Be aware that with FireBug one has to replace the print function with console.log otherwise the script attempts to print to a real printer !