simple background colors

This commit is contained in:
Gavin McDonald
2018-08-31 21:46:46 -04:00
parent a7070a735e
commit 3ded7cf4f0
3 changed files with 21 additions and 4 deletions

View File

@@ -187,6 +187,12 @@ class Demo {
}
draw({context, scale, tilePoints}) {
this.tessellate.background({
red: 64,
green: 32,
blue: 128,
});
tilePoints.forEach(tilePoint => this.drawTile(tilePoint, context, scale));
const now = Date.now();