Commit 07a9f319 by doszhang

dos

parent 92a53605
...@@ -111,7 +111,7 @@ function update() { ...@@ -111,7 +111,7 @@ function update() {
function paint() { function paint() {
ctx.globalCompositeOperation = 'source-over'; ctx.globalCompositeOperation = 'source-over';
ctx.fillStyle = "rgba(0,0,0,0)"; ctx.fillStyle = "rgba(0,0,0,0.2)";
ctx.fillRect(0, 0, w, h); ctx.fillRect(0, 0, w, h);
ctx.globalCompositeOperation = 'lighter'; ctx.globalCompositeOperation = 'lighter';
for (var i = 0; i < particles.length; i++) { for (var i = 0; i < particles.length; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment