CREASE PATTERNS

let cp = new CreasePattern().fishBase()

This is a javascript library for creating origami crease patterns.

Download

Everything you need, including a guide to making your first sketch is on the introduction.

Graphs

Origami crease patterns leverage mathematical graphs. Crease lines are the graph's edges defined by their end nodes.

This type of graph is a planar graph, the crease lines exist on the Euclidean plane in the typical X, Y coordinate system.

planarGraph.fragment();

The aim of this library is for origami designs to be able to be created entirely in code, making every component accessible, flexible, and parametric.

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.