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 v2, colour v2, brush v2- noise v2 Smooth noise as a number, in two dimensions.
- colour v2 Mixing, lightening, darkening and shifting colour values, and reading a ramp (a list of colours) at a position from 0 to 1.
- brush v2 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 v2 Smooth curves through points, as numbers.