const u = 20; // one unit = 20 px function setup() { createCanvas(400, 400); setupGraphics(); graphics(); } function graphics() { grid(u); // displayMousePosition(u); // drawing }