diff --git a/.gitignore b/.gitignore index ee889666ef01553b9e643877900de8289c38171f..132e69b8485fce186dba9992f62a04a441e94dc7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -assets/ +assets/attrib.txt \ No newline at end of file diff --git a/assets/Tests/SimpleVertex.svg b/assets/Tests/SimpleVertex.svg new file mode 100644 index 0000000000000000000000000000000000000000..bd340679bd885f7d7c8c797505c6a15235e4320a --- /dev/null +++ b/assets/Tests/SimpleVertex.svg @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 16.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg version="1.1" + id="svg2" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:version="0.48.1 " sodipodi:docname="Miura-Ori CP.svg" + xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="601.875px" + height="476.511px" viewBox="0 0 601.875 476.511" enable-background="new 0 0 601.875 476.511" xml:space="preserve"> +<sodipodi:namedview fit-margin-top="0" fit-margin-left="0" id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:zoom="1.1156267" inkscape:cx="546.13303" inkscape:cy="198.09671" showgrid="false" showguides="true" inkscape:current-layer="svg2" inkscape:window-x="-8" inkscape:window-width="1920" fit-margin-bottom="0" inkscape:document-units="px" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-y="-8" inkscape:guide-bbox="true" inkscape:window-height="1058" fit-margin-right="0" inkscape:window-maximized="1"> + </sodipodi:namedview> +<path fill="#FF0000" stroke="#FF0000" stroke-width="4" d="M95.875,100.643h80"/> +<path fill="none" stroke="#000000" stroke-width="4" d="M10.875,192.643v-184 M10.875,8.643h174.839 M185.875,192.643l-10-92 + M175.875,100.643l10-92 M10.875,192.643h95 M105.875,192.643h80"/> +<path fill="#000080" stroke="#0000FF" stroke-width="3" d="M105.875,192.643l-10-92 M95.875,100.643l10-92 M10.875,100.643h85"/> +</svg> diff --git a/assets/Tests/SimpleVertex2.svg b/assets/Tests/SimpleVertex2.svg new file mode 100644 index 0000000000000000000000000000000000000000..ed483b5d906d5b098b52e89a8acddb2e4309c879 --- /dev/null +++ b/assets/Tests/SimpleVertex2.svg @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 16.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg version="1.1" + id="svg2" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:version="0.48.1 " sodipodi:docname="Miura-Ori CP.svg" + xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="601.875px" + height="476.511px" viewBox="0 0 601.875 476.511" enable-background="new 0 0 601.875 476.511" xml:space="preserve"> +<sodipodi:namedview fit-margin-top="0" fit-margin-left="0" id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:zoom="1.1156267" inkscape:cx="546.13303" inkscape:cy="198.09671" showgrid="false" showguides="true" inkscape:current-layer="svg2" inkscape:window-x="-8" inkscape:window-width="1920" fit-margin-bottom="0" inkscape:document-units="px" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-y="-8" inkscape:guide-bbox="true" inkscape:window-height="1058" fit-margin-right="0" inkscape:window-maximized="1"> + </sodipodi:namedview> +<path fill="#FF0000" stroke="#FF0000" stroke-width="4" d="M95.875,100.643h80"/> +<path fill="none" stroke="#000000" stroke-width="4" d="M10.875,100.643l95-92 M105.875,8.643l70,92 M105.875,192.643l70-92 + M10.875,100.643l95,92"/> +<path fill="#000080" stroke="#0000FF" stroke-width="3" d="M105.875,192.643l-10-92 M95.875,100.643l10-92 M10.875,100.643h85"/> +</svg> diff --git a/assets/Tests/TwoTri.svg b/assets/Tests/TwoTri.svg new file mode 100644 index 0000000000000000000000000000000000000000..d8616cf04d715d7c61b6f043fda8769ed1ffc26a --- /dev/null +++ b/assets/Tests/TwoTri.svg @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 16.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg version="1.0" + id="svg2" inkscape:version="0.48.1 " sodipodi:docname="Miura-Ori CP.svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="601.875px" + height="476.511px" viewBox="0 0 601.875 476.511" enable-background="new 0 0 601.875 476.511" xml:space="preserve"> +<sodipodi:namedview id="base" inkscape:window-height="1058" fit-margin-right="0" inkscape:current-layer="svg2" inkscape:guide-bbox="true" inkscape:pageopacity="0.0" inkscape:window-x="-8" inkscape:window-maximized="1" inkscape:pageshadow="2" inkscape:window-y="-8" inkscape:window-width="1920" inkscape:document-units="px" fit-margin-bottom="0" fit-margin-top="0" fit-margin-left="0" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:zoom="1.1156267" showguides="true" showgrid="false" inkscape:cy="198.09671" inkscape:cx="546.13303"> + </sodipodi:namedview> +<path fill="#FF0000" stroke="#FF0000" stroke-width="4" d="M10.875,100.643h165"/> +<path fill="none" stroke="#000000" stroke-width="4" d="M105.875,192.643l70-92 M175.875,100.643l-70-92 M10.875,100.643l95-92 + M105.875,192.643l-95-92"/> +</svg> diff --git a/assets/attrib.txt b/assets/attrib.txt new file mode 100644 index 0000000000000000000000000000000000000000..3af13151e00fc7fa1a9c9855a9cca8c1dcf9252f --- /dev/null +++ b/assets/attrib.txt @@ -0,0 +1,2 @@ +Miura-Ori +https://commons.wikimedia.org/wiki/File:Miura-Ori_CP.svg \ No newline at end of file diff --git a/index.html b/index.html index 31abbcfb40e4885a50929a189de57f93b552e2bb..9dfe253ebb8b98c8c8716a5696d5addf9e763345 100644 --- a/index.html +++ b/index.html @@ -438,9 +438,9 @@ <div class="modal-content"> <div class="modal-body"> <p><b>Origami Simulator</b><br/><br/> - http://www2.eng.cam.ac.uk/~sdg/preprint/5OSME.pdf - http://origami.c.u-tokyo.ac.jp/~tachi/cg/SimulationOfRigidOrigami_tachi_4OSME.pdf - https://github.com/mapbox/earcut + <a href="http://www2.eng.cam.ac.uk/~sdg/preprint/5OSME.pdf">Origami Folding; A Structural Engineering Approach</a><br/> + <a href="http://origami.c.u-tokyo.ac.jp/~tachi/cg/SimulationOfRigidOrigami_tachi_4OSME.pdf">Rigid Origami Simulator</a><br/> + <a href="https://github.com/mapbox/earcut">Earcut Library</a><br/> <br/><br/> Built by <a href="http://www.amandaghassaei.com/" target="_blank">Amanda Ghassaei</a> as a final project for <a href="http://courses.csail.mit.edu/6.849/spring17/" target="_blank">Geometric Folding Algorithms</a>.