Controls:
- Rotate: Use a single finger on a touchscreen or the left click on your mouse
- Zoom: Use two fingers on a touchscreen or the wheel on your mouse
- Reset: Press number 5 to reset both the camera position and the object rotation.
- Press Shift key and Drag the vertices to move them
- Pause and resume the solver using the space bar.
- Use the Up and Down Arrow keys to browse through the loaded models
Notes:
This viewer was made to test several algorithms that would turn any mesh into a regular faced polyhedron.
The constraints are on all edges to be of unitary length and for the faces to be planar, convex and regular.
The solving methods used are the following:
- kinematic solver on the edges
- kinematic solver on the faces
- spring mass model on the edges
- (to be done) spring mass model on the faces
This three.js viewer was inspired by
http://stemkoski.github.io/Three.js/ by Lee Stemkoski.