update processing.js version
outerD based on window size
remove redundant loop();