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