canvas 2d render
const scene = new c.Scene({
width: 800,
height: 800,
});
const group = new c.Group();
const rect = new c.Rect({
width: 5,
height: 5,
lineWidth: 3,
strokeStyle: color(),
cursor: 'pointer',
});
rect.translate(30, 30);
rect.moveTo(30, 30);
rect.scale(30, 30);
rect.rotate(30);