Commit b3d64c3d authored by amandaghassaei's avatar amandaghassaei


parent 078dfa5f
......@@ -888,7 +888,9 @@
<b>ORIGAMI SIMULATOR</b><br/><br/>
This app allows you to upload any origami crease pattern and simulate how it will fold. It iteratively solves for small displacements in the geometry of an initially flat sheet due to forces
This app allows you to simulate how any origami crease pattern will fold. It may look a little different
from what you typically think of as "origami" - rather than folding paper in a set of sequential steps,
this simulation attempts to fold every crease simultaneously. It does this by iteratively solving for small displacements in the geometry of an initially flat sheet due to forces
exerted by creases. This solver extends work from the following sources: <br/><br/>
&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="">Origami Folding: A Structural Engineering Approach</a> by Mark Schenk and Simon D. Guest<br/>
&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="">Freeform Variations of Origami</a> by Tomohiro Tachi<br/>
......@@ -964,7 +966,7 @@
<li>Outline edges have <b style="color:black">black</b> stroke - rgb(0, 0, 0), hex #000000 - use
this edge type for both the border of the pattern, and any internal holes.</li>
<li>Cuts have <b style="color:#00ff00">green</b> stroke - rgb(0, 255, 0), hex #00ff00- use this edge type
to form thin slits.</li>
to form thin slits in the pattern.</li>
<li>Hinges (undriven creases) have <b style="color:magenta">magenta</b> stroke - rgb(255, 0, 255), hex #ff00ff</li>
<img src="assets/examplepattern.jpg"/>
......@@ -26,5 +26,5 @@ $(function() {
globals.rigidSolver = initRigidSolver(globals);
globals.pattern = initPattern(globals);
globals.vive = initViveInterface(globals);
$(".demo[data-url='Tessellations/huffmanExtrudedBoxes.svg']").click();//load demo models
$(".demo[data-url='Tessellations/huffmanWaterbomb.svg']").click();//load demo models
\ No newline at end of file
......@@ -727,8 +727,6 @@ function initPattern(globals){
if (numRedundant == 0) return fold;
console.warn(numRedundant + " redundant vertices found");
fold = FOLD.filter.remapField(fold, 'vertices', old2new);
// delete fold.vertices_vertices;
// fold = FOLD.convert.edges_vertices_to_vertices_vertices_unsorted(fold);
return fold;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment