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.

The {js} cell below computes every vertex of the two meshed gears and spins them. 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