Commit 1f2f8095 by doszhang

dos

parent d8edf0d1
...@@ -123,7 +123,7 @@ function paint() { ...@@ -123,7 +123,7 @@ function paint() {
function createFirework() { function createFirework() {
xPoint = Math.random() * (w - 200) + 100; xPoint = Math.random() * (w - 200) + 100;
yPoint = Math.random() * (h - 200) + 100; yPoint = Math.random() * (h - 500) + 100;
var nFire = Math.random() * 50 + 100; var nFire = Math.random() * 50 + 100;
var c = "rgb(" + (~~(Math.random() * 200 + 55)) + "," + var c = "rgb(" + (~~(Math.random() * 200 + 55)) + "," +
(~~(Math.random() * 200 + 55)) + "," + (~~(Math.random() * 200 + 55)) + ")"; (~~(Math.random() * 200 + 55)) + "," + (~~(Math.random() * 200 + 55)) + ")";
......
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