SurfacePoints: Generate points within a shape. Useful for creating patterns
Vectors: Vector operations working on either Cartesian or polar coordinates
Example: Importing
// If library is stored two directories up under `ixfx/` import {Lines, Points} from'../../ixfx/dist/geometry.js'; // Import from web import {Lines, Points} from'https://unpkg.com/ixfx/dist/geometry.js'
Functions for different shapes, paths and coordinate spaces.
A foundation module is Points for working with x, y (and maybe z). It has the top-level helper functions: degreeToRadian and radianToDegree
Basic shapes: Arcs, Circles, Ellipses, Lines, Rects, Triangles
Curves & paths: Beziers, Paths, Compound
Util:
Example: Importing