Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.28 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.28 KB

Sierpinski-Tetrahedron-Vis

A simple visualization of a Sierpinski Tetrahedron being folded from a two-dimensional triangle. three.js is used for rendering.

Demo guide

Demo

The camera can be ...

  • rotated around the fractal using left mousebutton (or dragging with one finger)
  • zoomed using mouse wheel (or pinching / spreading with two fingers)
  • panned using the right mousebutton (or dragging with two fingers)

The animation can be played (forward or backward) or paused using the top-left controls. The progress bar indicates the timestamp of the animation. It can be clicked to jump to a timestep.

It is possible to jump between complete iterations using the bottom left buttons. The bar next to it sets the animation speed and the last button toggles animation looping.

The buttons in the bottom right set the following options/actions:

  • Coloring the triangles depending on their side. The color of triangles still being folded is interpolated between the two sided.
  • Shading the triangles depending on their distance to the camera.
  • Shading the triangles using Lambert shading.
  • Resetting the camera to the initial position.