Experiments >

Drag to resize

Experiment #11910th April, 2021by Joshua Nussbaum

For the code animation project, I wanted to allow the step duration to be adjusted visually. That means gripping one side of the step, and dragging it to increase the duration of the step.

This is what I came up with:

Code

https://svelte.dev/repl/fd9d2216e7e243d49de8fae39ecc6fe8?version=3.37.0

Demo

view all experiments

Stay tuned in

Learn how to add more experimentation to your workflow