automatic slider demo
shiffman opened this issue · comments
Daniel Shiffman commented
should the slider slide back and forth automatically when I first reference that it will change the color?
Scott Garner commented
I think a lerp would be hard to time, but I can go back and set the color at a few points the same way I do with the drawing finger.
Scott Garner commented
A lerp turned out to be smoothest after all.
Daniel Shiffman commented
Re-opening this. A minor point, but the slider should probably finish on the left or else live above the video. Right now where it ends, the clickable part is being obscured by me.
Scott Garner commented
I have an overlay layer now, but in testing it seemed a little strange to separate it.
I added another lerp to take it to the left and it seems to work well.
Daniel Shiffman commented
works great now, thanks!