2.1: Grid/Margin

Each page has a new system. Using Basil.js, to automate randomized margins in InDesign to generate unpredictability inside a tool built for control. The grid, usually a symbol of order, becomes a device for disorder.

What Layout/Margin
Sources basil.js
Tools InDesign, Sublime Text, basil.js library
Steps 1. Set Up Code (below);
2. Execute in Indesign
Output Layout Base/Grid

CODE:

// @includepath ~/Documents/;%USERPROFILE%Documents; // @include basiljs/basil.js; function draw() { units(MM); addPage(); var marginTop = random(20, 60); var marginBottom = random(20, 60); var marginLeft = random(20, 60); var marginRight = random(20, 60); size("A4", PORTRAIT); margins(marginTop, marginLeft, marginBottom, marginRight); canvasMode(MARGIN); }