Thinking UI

Solving LatticePRO

Scattered dots click into a cube lattice a few at a time, the solved lattice turns a quarter, then dissolves.

Code

2 files · 128 lines of TypeScriptPRO

Solving Lattice is part of Pro

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

Motion notes

  • Pieces arrive in small batches on an ease-out-back, so each one overshoots its slot and settles: it reads as clicking into place, not sliding.
  • Each piece flashes briefly as it lands, and the whole lattice glows once when the quarter-turn finishes, so there is a clear moment where the puzzle is solved.
  • The turn winds up slightly before it rotates and settles after it. A cube looks the same after 90°, so it lands back in a familiar pose before it dissolves.
  • Five scatter layouts and snap orders rotate between solves, and each dissolve flows into the next layout, so the loop has no seam. With reduced motion it holds the solved lattice.

Usage

Example
<StatusPill icon={<SolvingLattice />} label="Solving" />

Props

PropTypeDefaultDescription
sizenumber32Size in px.
gridnumber3Dots per edge of the lattice: 3 gives 27 pieces, 4 gives 64.
batchnumber3How many pieces click in together.
cyclenumber4.8Seconds for one solve: assemble, turn and dissolve.
classNamestring—Classes for the canvas.