moved 'background' to drawShapes for the time being

This commit is contained in:
Gavin McDonald
2018-09-01 15:01:01 -04:00
parent 3ded7cf4f0
commit 1f2131c992
4 changed files with 12 additions and 16 deletions

View File

@@ -212,18 +212,15 @@ export class Tessellate {
return funky.flatten(this.cartographer.boundingBox(upperLeft, upperRight, lowerLeft, lowerRight));
}
background (color) {
this.sketch.background(color);
}
draw (context) {
const canvas = context.canvas;
const width = canvas.width;
const height = canvas.height;
const width = canvas.width;
this.settings.draw({
context,
height, width,
scale: this.cartographer.getScale(),
tilePoints: this.getTilePoints({