fbm2: fractal noise with configurable octaves, persistence and lacunarity.SimplePath.length, pointAt, tangentAt and pointsAlong: measure and sample paths by distance. alongPath passes each sampled point and angle to a callback.withSymmetry: repeat a drawing with rotational, mirror or kaleidoscope symmetry.curl2: a vector field derived from noise. SimplePath.flowLine traces paths through vector fields.SimplePath.boundingBox, area, containsPoint and convexHull: measure and query shapes. A standalone convexHull accepts arrays of points.SimplePath.simplified: reduce point count with a configurable tolerance.harmony: create colour schemes. mixColors: blend colours along the shortest route around the hue circle.worley2: cellular noise with configurable distance, metric and jitter. worleyCell2 returns feature-point details and an ID for colouring cells.SimplePath.offset: create parallel paths with mitred corners for ribbons and contours.forRadialTiling: divide rings into sectors, returning a HollowArc for each cell. Supports a centre hole and partial circles.renderShaderrenderdrawImagetransformLoopedPoints keeps the first and last points together during non-deterministic transformationsrotateAround helpermetapalettePreset for named palettes or palette for custom coefficients. See an example.Solandra was made by James Porter.
Check out the GitHub page or install with npm i solandra