0;
            const h = 280;
            const initialPoints = [];
            const padding = w * 0.15; 
            const spacingX = (w - 2 * padding) / 3;
            const spacingY = (h - 2 * padding) / 3;

            for (let i = 0; i < 4; i++) {
                initialPoints[i] = [];
                for (let j = 0; j < 4; j++) {
                    let x = padding + i * spacingX;
                    let y = padding + j * spacingY;
                    initialPoints[i][j] = createPoint(x, y);
        