Open danzen opened 1 year ago
You could try using StageGL (GPU based) with CreateJS
this.stage = new createjs.StageGL("canvas");
and then you need to cache() the rectangles so they are bitmaps
rect.cache(0, 0, size, size); this.stage.addChild(rect);
@danzen I didn't work with CreateJS so I'll need to read and learn to implement the example. If we have rectangles of different sizes will the cache do its thing?
You could try using StageGL (GPU based) with CreateJS
this.stage = new createjs.StageGL("canvas");
and then you need to cache() the rectangles so they are bitmaps
rect.cache(0, 0, size, size); this.stage.addChild(rect);