processing.js not working

guilleramirezc / 2015-03-08 18:02:21   

Hello,

I have tried without success to add a processing.js sketch to one of my exhibits. Has anyone succeeded in doing this?

I have read this older thread
indexhibit.org/forum/thread/14288/
but I still can't get my code to work.

In which file and where exactly should I place the line

and where should I place the other line

What about the sketch file? where should it go?
I have tried to place the load script line in the head of the index.php file in my theme, and the canvas line in the content of my exhibit disabling text processing. I placed the sketch file in the same folder as index.php. No luck so far.

Any help would be greatly appreciated!

guilleramirezc / 2015-03-08 18:06:38   

whoops..my code lines disappearead

  1. first line should read:
  2. <script src="processing-1.0.0.min.js"></script>
  3. second line should read:
  4. <canvas data-processing-sources="hello-web.pde"></canvas>

This thread has been closed, thank you.