processing.js를 이용한 빗방울 떨어지는 애니메이션 만들기
Processing.JS inside Webpages: Template make it rain var sketchProc = function(processingInstance) {with (processingInstance) {size(400, 400);frameRate(30);var xPositions = [200];var yPositions = [0];var rainColorArray = [];var rainColor = function(r,g,b) {this.r = r;this.g = g;this.b = b;};rainColorArray.push(new rainColor(0,200,255));draw = function() {background(204, 247, 255);for (var i = 0;..