We are about to switch to a new forum software. Until then we have removed the registration on this forum.
So, I only know java, and I have a project I whipped up from an old school project to support a charity and need to embed it in a web page. From what iv found, using it in javascript mode is the only way to do it easily, and I dont have any clue about javascript. Iv attempted to use this PDE to PJS converter: http://generactive.net/tools/pde_to_pjs/convert_to_pjs.html# Except I get to many errors to fix with my limited knowledge of javascript. I would appreciate someone giving me an alternative to using javascript, or helping me convert it properly. Thanks!
Answers
In order to raise the chances for a successful transpilation from Java to JS mode (Pjs) we need to stick to Processing's API: http://ProcessingJS.org/reference/
It means we can't use 3rd-party Java libraries in our sketches. Unless a version exists in JS too.
There's also another link where we can see the transpilation code:
http://ProcessingJS.org/tools/processing-helper.html
And for hosting simple sketches written in Java Mode, but running in JS Mode (Pjs) we can go here: