Embedding a Processing.js sketch in a WordPress page

Processing.js is very handy, and it is very cool to run your sketches in your browser. I was looking around for one easy way to embed a sketch into a WordPress page or post, and found a good option.

I used the Processing JS plugin, written by Keyvan Minoukadeh. You can get it from this location : http://www.keyvan.net/code/processing-js/

I just faced a small issue while trying to use this plugin and the preview mode in WordPress. Sketch was not running, but reloading the page is solving the issue. And there is no problem if the post is really published, only issue is in preview mode. I am using Chrome on MacOS.

Below one example I made in few code lines :

Similar Posts

One Comment

Comments are closed.