Thinking UI

Processing TorusPRO

A dotted donut wobbling on two axes while its dots stream around the tube.

Code

2 files · 65 lines of TypeScriptPRO

Processing Torus is part of Pro

Get its source, the one-paste agent prompt and all 113 components, for a one-time $99.

Motion notes

  • Dots circulate around the tube continuously, like a vortex ring, so it reads as work flowing through a loop.
  • Each row of dots twists once per lap, which turns the grid into gentle spirals and hides the seams of the torus mesh.
  • The tilt rocks between about 35° and 75° while the ring swings round, so it wobbles like a spinning coin but never goes edge-on and loses its hole.
  • Dots are shaded by depth and by how directly they face you, which gives the tube real volume at small sizes. With reduced motion it renders one still frame.

Usage

Example
<StatusPill icon={<ProcessingTorus />} label="Processing" />

Props

PropTypeDefaultDescription
sizenumber32Size in px.
ringsnumber24Rings of dots around the donut.
segmentsnumber8Dots around each ring of the tube.
cyclenumber2.4Seconds for a dot to circulate once around the tube.
classNamestring—Classes for the canvas.