Skip to content

R360 motion that eases: a ring click that speeds up and slows down, a drag that coasts, the owner's switch #153

Description

@Devski

Wanted by Dawid on 11.09.2026, for later — outside the R360 milestone.

Today

In src/components/ui/use-orbit.ts:

  • A click on the ring travels at a constant pace — 28 ms a frame, 250–1200 ms in all — starting and stopping at full speed.
  • A drag on the picture follows the hand frame by frame and stops dead the moment the hand lets go.

Wanted

  • Ease in and out on a travel: a ring click (and a cue click, R360 cue points: labelled frames on the ring, shown on hover, reached by a click #107) speeds up, then slows into its frame.
  • A drag that coasts: after release the orbit keeps turning at the hand's speed and slows to a stop.
  • The owner's switch, per work: on or off, among the R360 parameters of the edit form. Stored in works.r360_params (JSON) as an optional field, so no migration. Which way a work saved before it reads — on or off — is to be decided.
  • prefers-reduced-motion keeps winning: no easing and no coasting, whatever the owner chose.

To tune on a phone with Dawid: the curve, how long a coast lasts, and whether a slow release coasts at all.

Spec: SPEC.md A13 · Related: #106, #107

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestuxUser experience: everything between the person and the product. Sequenced, never optional.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions