Libraries
A library is Nilo written once and called from many pieces. A piece names the ones it uses at its top, each with its version, and only the part it calls is shipped.
use noise v1, colour v1, brush v1- noise v1 Smooth noise as a number, in two dimensions.
- colour v1 Mixing, lightening, darkening and shifting colour values, and reading a ramp (a list of colours) at a position from 0 to 1.
- brush v1 One stroke style, the sweep: a run of thin streaks laid close along one path, so their colours blend the way a wide brush dragged fast does.
- spline v1 Smooth curves through points, as numbers.