ORIGAMI

let cp = new CreasePattern().fishBase()

This is a planar graph javascript library for creating origami crease patterns.

Graphs

Origami crease patterns are modeled on planar graphs, which themselves are graphs; an abstract model of nodes and edges. The crease lines exist on the Euclidean plane using the familiar X and Y axes, and every component is accessible and available to be sculpted.

planarGraph.getEdgeIntersections();

This library includes tools covering traditional geometry to origami-specific operations like generating rabbit-ear creases or simulating a crease pattern's folded form.

About

This is open source

These docs make heavy use of paper.js, d3.js, and p5.js. Thank you to their developers.

This libary is available under the MIT open source license.

This library is under construction