Another help request about processing.js

edited November 2017 in JavaScript Mode

Hello you all, I am quite a novice with processing and programming in general, and I am trying to figure out how to run a code into a browser. I have been reading about this processing.js so I followed the instruction here: http://processingjs.org/articles/p5QuickStart.html#obtainingpjs i.e. I download this processing.js file and created a html file with the script suggested in the link, everything in the same directory of a simple processing code (3.3.4). but what the browser loads is the script: (maybe I am missing something very trivial, but I am really not familiar with .html)

That does not change with Opera (49.0), Firefox (57.0) or Chrome (62.0.3202.94).

I read the following threads, and could not come up with a solution: https://forum.processing.org/two/discussion/24760/help-playing-sketches-on-the-web https://forum.processing.org/two/discussion/23720/processingjs-download#Item_1 https://forum.processing.org/two/discussion/comment/108125/#Comment_108125

Is there anyone who could give me a hint of what am I getting wrong?

Tagged:

Answers

Sign In or Register to comment.