Skip to content

ELF32bit/godot-folder

Repository files navigation

Origami folding plugin for Godot 4

Demonstration
Folder plugin provides a way to work with FOLD (Flexible Origami List Datastructure).
Draw crease patterns and simulate them, freeze the intermediate results as key frames.
Export precomputed folding animation as an easy to parse series of meshes.

Inspiration

This codebase builds upon an existing work.
All example files are produced by the software below.

  1. FOLD file format for origami models, crease patterns, etc.
    https://github.com/edemaine/fold

  2. Realtime WebGL origami simulator.
    https://github.com/amandaghassaei/OrigamiSimulator

  3. Rabbit Ear library for modeling origami.
    https://github.com/rabbit-ear/rabbit-ear

Design goals

  • Create a practical tool for encoding digital origami instructions.
  • Synchronized 3D editor with 2D crease pattern view and a timeline.
  • Attempt to solve Z-fighting of a flat folded paper with stencil decalling.
  • Rigid origami solver for displaying a smooth folding process of key frames.
  • Web viewer for the precomputed animation and a cross-software export.

Current features

  • Triangulation of SVG crease patterns into meshes.
  • Software agnostic encoding of a colorful wireframes.
  • GPU accelerated origami simulation with a CPU fallback.

About

WIP: Origami folding software

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors