**1,388**posts

First, a so-called isometric pattern that is quoted at the app's help page (where the code lines are commented)

width = LN.getWidth(); height = LN.getHeight(); scale = LN.getScale(); step = width / 150 + scale * width / 25; LN.setStrokeWidth(width / 1000); for (x = 0; x < width; x += step) LN.drawLine(x, 0, x, height); stepX = 2 * step; stepY = 1.1547 * step; x1 = 0; y1 = step; x2 = stepX; y2 = 0; while ((x1 < width) && (y2 < height)) { LN.drawLine(x1, y1, x2, y2); if (y1 < height) y1 += stepY; else x1 += stepX; if (x2 < width) x2 += stepX; else y2 += stepY; } x1 = x2 - stepX; y1 = 0; y2 = step; while ((x2 > 0) && (y1 < height)) { LN.drawLine(x1, y1, x2, y2); if (x1 > 0) x1 -= stepX; else y1 += stepY; if (y2 < height) y2 += stepY; else x2 -= stepX; }

width = LN.getWidth(); height = LN.getHeight(); page = LN.getPage(); LN.setTextSize(0.02 * width); LN.setTextAlign(0); LN.drawText("Page " + page, 0.5 * width, 0.95 * height);