index.js 143 B

12345
  1. export const structureDraw = (canvas) => {
  2. const ctx = canvas.getContext("2d");
  3. ctx.fillStyle = "#000";
  4. ctx.fillRect(0, 0, 100, 100);
  5. };