Skip to content

gkonjevod/cp_multiply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cp_multiply

Code to help generate tessellation crease patterns.

The input is the data describing the creases in the folded state of a unit cell of the tessellation, and a sequence of operations that generate a translation unit.

The output is an SVG file whose lines encode the creases, with color values defining the crease sense (mountain/valley) and the opacity defining the fold angle in the folded state. Such a file can be imported by Origami Simulator.

Examples are in cp_multiply.examples, and some of them can be run using the top-level run_examples script.

TODO: lots (more examples; non-isometric mappings for recursive-style patterns; non-square grid examples and utilities, ...)

Requirements: python >=3.9.7 (probably some earlier versions also work; but not tested) drawsvg

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages