Show / Hide Table of Contents

OffGrid

Quick facts
GridOffGrid
CellTypeSquareCellType
CellDirSquareDir
CellRotationSquareRotation
BoundSquareBound
Properties2d, Planar, Infinite

OffGrid is a packed grid of irregular rectangles invented by Chris Cox. It resembles rough masony.

Unlike most Sylves grids, this grid is not edge to edge. Every rectangle is considered a square with exactly 4 neighbours.

The size of cells can be controlled with the minSize parameter, which limits the minimum width and height of each rectangle. It also limits the max width/height to 2-minSize. To get rectangles with a different distribution of size and aspect ratio, use TransformModifier.

Cell co-ordinates

As with a square grid, increasing the x co-ordinate of a cell moves right, and the y co-ordinate up.

The cell (0, 0) always includes the point (0, 0, 0), and and has maximum extents of ±(1-minSize/2).

In This Article
Back to top Generated by DocFX