Finite boards (#1)

This commit is contained in:
gavin
2018-07-15 02:54:26 +00:00
committed by Gitea
parent 68f83bfc4b
commit 0545c0a5d9
14 changed files with 497 additions and 356 deletions

View File

@@ -18,7 +18,7 @@ class Demo {
tile: Tessellate.TILE_STYLES.HEX,
tap: this.onTap,
draw: this.draw,
pointyTop: false, //utils.random(1) ? true : false,
orientation: Tessellate.TILE_ORIENTATIONS.FLAT,
}, queryStringObj));
this.circle = new DrawCircle();
@@ -40,7 +40,7 @@ class Demo {
x: tap.point.x,
y: tap.point.y,
scale,
pointyTop: utils.random(1) ? true : false,
orientation: utils.random(1) ? Tessellate.TILE_ORIENTATIONS.FLAT : Tessellate.TILE_ORIENTATIONS.POINTY,
red: utils.random(255),
green: utils.random(255),
blue: utils.random(255),