tweaked processing.js sketch