const WIDTH = 1000; const HEIGHT = 1000; const draw_grid = (ctx) => {}; const main = () => { const canvas = document.getElementById("canvas"); const ctx = canvas.getContext("2d"); }; main();