tweak num

This commit is contained in:
O-01-67 2022-07-28 21:08:19 -04:00 committed by GitHub
parent b6dc65da7d
commit 45a7146b4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ randomEvents.paint = function() {
var randomR = Math.floor(Math.random() * 256);
var randomG = Math.floor(Math.random() * 256);
var randomB = Math.floor(Math.random() * 256);
var radius = Math.floor(Math.random()*4)+3;
var radius = Math.floor(Math.random()*5)+2;
var rColor = "rgb(" + randomR + "," + randomG + "," + randomB + ")";
var coords = circleCoords(x,y,radius);
for (var i = 0; i < coords.length; i++) {
@ -14,4 +14,4 @@ randomEvents.paint = function() {
pixelMap[coord.x][coord.y].color = rColor;
};
};
};
};