It's probably not a good idea, to be honest — Processing.js doesn't easily interact with the rest of the DOM outside of its own <canvas> element. There are plenty of javascript libraries for doing parallax sites; Skrollr is one that springs to my mind but a quick search should bring up others.
Answers
It's probably not a good idea, to be honest — Processing.js doesn't easily interact with the rest of the DOM outside of its own
<canvas>
element. There are plenty of javascript libraries for doing parallax sites; Skrollr is one that springs to my mind but a quick search should bring up others.