shapes ={
const cvs = DOM.canvas(dim.x, dim.y);
const ctx = cvs.getContext('2d');
ctx.fillStyle = "#f0f";
ctx.fillRect(0,0,80,80);
ctx.beginPath();
ctx.arc(dim.x / 4 , dim.y/2,40,0, 2*Math.PI, true);
ctx.fillStyle = "#0f0";
ctx.fill();
ctx.beginPath();
ctx.arc(dim.x * 2/4, dim.y/2 ,40,0, 3/4*Math.PI, true);
ctx.fillStyle = "#0ff";
ctx.fill();
ctx.beginPath();
ctx.arc(dim.x * 3/4, dim.y/2,40,0, 3/4*Math.PI, true);
ctx.strokeStyle = "#000";
ctx.fillStyle = "#ff0";
ctx.fill();
ctx.stroke();
return cvs
}