Commit 6e481d27 by doszhang

dos

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