Make dots ratio of canvas height

This commit is contained in:
Tyler Hallada 2016-04-02 17:49:35 -04:00
parent 1b2ba7abe7
commit 8a6ac5db2c

View File

@ -165,7 +165,7 @@ Stuff.prototype.drawPolygon = function(context) {
self.canvas.width = dimensions.width;
}
if (self.points === undefined) {
self.initPoints(self.canvas.width, self.canvas.height, 5000);
self.initPoints(self.canvas.width, self.canvas.height, self.canvas.width * 1.5);
}
if (!self.paused) {