observablehq / inputs

Better input elements
https://observablehq.com/framework/lib/inputs
ISC License
125 stars 34 forks source link

Scrubber? #69

Open mbostock opened 3 years ago

mbostock commented 3 years ago

Seems like a pretty natural fit for controlling animation…

https://observablehq.com/@mbostock/scrubber

jrus commented 3 years ago

It would be great if a scrubber had some controls like playback speed and choice of {loop, back-and-forth, stop at the end} as reader-accessible parts of the view, instead of only exposed in the code. These can be convenient to manipulate while actively interacting with a model. See Desmos for inspiration: https://www.desmos.com/calculator/fsycejw4dz