Embedding a processing sketch to a website?

edited June 2016 in JavaScript Mode

Hello. How can we publish our web site with processing sketch in web page, like processing.org does? Which methods should we use? html, php, css, wordpress.... any idea?

Answers

  • Just a guess, could you not use processing.js?

    p5.js is javascript.

    I took a p5.js sketch last night and converted all of the var to their relevant variables in a processing sketch and it worked perfectly. If your sketch is simple enough I think all you should need to do is convert those variables into var and it should work.

    Again, this is all just me guessing as I've never actually used p5.js

    You will however need to embed it using html5 canvas.

    Hope that gives you some sort of starting point.

  • Thanks for the reply. I wish to see a tutorial of making it. Actually I have no information about js and building website. I am beginner in processing.

  • First, I have a processing skecth. I want to publish it online. I don't have anywebsite. What should i do first? Any blog account may be ok to embed it?

Sign In or Register to comment.