Skip to content

A mechanical part, parametric

Two meshed gears built from primitives inside one {js} cell: sliders drive the tooth count and the speed, and the geometry rebuilds live.

Two gears, meshed and spinning, every vertex computed in the {js} cell below. Change the tooth count and the geometry rebuilds; change the speed and the mesh keeps its ratio. Drag to orbit, scroll to zoom.

12
0.6