Hey! I'm Khushal; thanks for stopping by! I’m passionate about technology, computers, entrepreneurship, nature, and the web. I’m currently a high schooler, and I founded & teach programming and robotics at CodeX.
Before this, I interned at New Delhi Space Society, where I managed their main website using NextJS.
I also founded Tapgull and Seek Help, and I love working on solutions that address real-world problems and make an impact in today's World.
I'm always happy to chat! Say hello!
Wanna get back to the home page? Click me!
SIMULATION ERROR
Average vertex error gives a sense of how much the distance constraints in the
origami pattern are being violated (i.e. how much the sheet is being stretched). The error at each vertex is
evaluated by averaging the
percent deviation of all its distance constraints with adjacent vertices. This error is
reported as a percent of the total length of the distance constraint to remove scaling effects.
This measurement is equivalent to
Cauchy strain or engineering strain of the distance constraints on this system.
Increasing the Axial Stiffness will tighten these constraints and
lower the error in the simulation.
To visualize the error of each vertex graphically, select Strain Visualization under Mesh
Material
in the left menu.
SIMULATION SETTINGS
This app uses a compliant dynamic simulation method to solve for the geometry of an origami pattern
at a given fold angle. The simulation sets up several types of constraints: distance constraints prevent the
sheet from stretching or compressing, face constraints prevent the sheet from shearing, and angular constraints
fold or flatten the sheet. Each of these constraints is weighted by a stiffness - the stiffer the
constraint, the better it is enforced
in the simulation.
Axial Stiffness is the stiffness of the distance constraints. Increasing axial
stiffness will decrease the stretching/compression (strain) in the simulation, but it will also slow down
the solver.
Face Stiffness is the stiffness of the face constraints, which help the axial constraints prevent
deformation of the sheet's surface between the creases.
Fold and facet stiffnesses correspond to two types of angular constraints. Fold Stiffness is the
stiffness of the mountain
and valley creases in the origami pattern. Facet Stiffness is the stiffness of the triangulated faces
between
creases in the pattern. Increasing facet stiffness causes the faces between creases to stay very flat as the
origami is folded.
As facet stiffness becomes very high, this simulation approaches a
rigid origami simulation, and models the behavior of a rigid material (such as metal) when
folded.
Internally, constraint stiffnesses are scaled by the length of the edge associated with that constraint to
determine its geometric stiffness. For Axial constaints, stiffness is
divided by length and for angular constraints, stiffness is multiplied by length.
Since this is a dynamic simulation, vertices of the origami move with some notion of acceleration and
velocity. In order to
keep the system stable and help it converge to a static solution,
damping is applied to slow the motion of the vertices. The Damping slider allows you to control
the amount of damping
present in the simulation. Decreasing damping makes the simulation more "springy".
It may be useful to temporarily turn down damping to help the simulation more quickly converge towards its
static solution - especially
for patterns that take a long time to curl.
A Numerical Integration technique is used to integrate acceleration into velocity and position for
each time step of the simulation.
Different integration techniques have different associated computational cost, error, and stability. This
app allows you to choose
between two different integration techniques: Euler Integration
is the simplest type of numerical integration (first order) with large associated error, and
Verlet Integration is a
second order integration technique
with lower error and better stability than Euler.
COMPLIANT DYNAMIC SIMULATION
....
COMPLIANT STATIC SIMULATION
....
RIGID STATIC SIMULATION
....
STRAIN VISUALIZATION
Cauchy strain or engineering strain is a unitless measurement of how much a material is being
stretched or compressed under load.
The Strain Visualization illustrates the strain across an origami sheet by mapping it to a color from
blue (no strain) to red (max strain).
USER INTERACTION
Toggle this control to enable/disable mouse interaction with the origami model. When enabled,
mousing over the model will display a highlighter; clicking and dragging allows you to
interact with the model in real time. Very vigorous interactions with the model may cause it
to pop into a strange configuration that it can't escape - use the Reset button to start
the simulation again from a flat state.
ROTATION SPEED
Speed :
( radians per frame )
BACKGROUND COLOR
Color (rgb hex) :
Hex colors are 6 digit alphanumeric codes that specify different colors. You can get
these codes using a color
picker.
SVG IMPORT SETTINGS
Vertex merge tolerance (px) :
For curved folding
Intervals of vertices for discretization (px) :
Approximation tolerance of curves (px) :