Gestures

Motion · Next.js

Arrange a room, at any zoom

Zoom the floor plan in or out, then drag the sofa, the table and the lamp about: each stays under your pointer, and inside the room.

With Wardic: Solid 1 · Solid 2

Live demo
Sofa
Table
Lamp

Reduced motion: Nothing changes: a piece follows your pointer, and nothing moves by itself.

Beside Wardic

Motion's correctParentTransform takes a React ref to the plan; Wardic's takes the element, or an accessor of it.

The code

Highlighting…