processing.js?

skttrbraind / 2011-10-31 22:50:21   

Any way to get processing.js to work with the current version of indexhibit? I'm trying to include a sketch that I made in processing on the main page of a website, although I'm not sure which files / folders to edit. I have the latest processing.js file, as well as the .pde that I'm trying to include.

Any help would be greatly appreciated. Thanks!

G470 / 2011-11-01 04:30:52   

Hi, sounds like a nice project. Did you read the quickstart quide?
http://processingjs.org/reference/articles/p5QuickStart
I think all you have to do is include the script in your index.php of your template and add your canvas object. I think it´s even possible by pasting this stuff into the indexhibit text field. Just turn off html processing in your exhibit.

skttrbraind / 2011-11-01 19:33:47   

Awesome, thanks so much for your help! Wound up working :) I had actually checked that guide before but had included the script incorrectly within index.php. Just had to change that up a bit.

This thread has been closed, thank you.