Integrate Processing into a Website

edited January 2017 in JavaScript Mode

Hello

I would like to build a website using a digital gallery of graphics I've made using processing.

I tried to set this up on Wordpress before seeing that the plugin isn't supported anymore.

Ive seen the posts for processing js and will try to give this a go, but now I am stuck on what platform to use to build my website. This is my first programming project so advice on which works best with processing would be really helpful.

Thank you!

Tagged:

Answers

  • As long as your sketches don't rely on 3rd-party libraries and stick very close to Processing's API, the transpilation from Java to JavaScript Mode (Pjs) got high chances to be successful w/o any further adaptations: O:-)

    http://ProcessingJS.org/reference/

    You can paste your sketches in the site below in order to check the transpilation for Pjs:

    https://OpenProcessing.org/sketch/create

    But don't forget to switch to Processing.js mode from the default p5.js in Settings there! :-&

    However, if any of your sketches relies on 3rd-party libraries or anything outside Pjs' API, my advise is to convert it to p5.js, which is JS syntax instead of Java: >-)

    http://p5js.org/reference/

Sign In or Register to comment.