processing / p5.js-video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

automatic slider demo

shiffman opened this issue · comments

should the slider slide back and forth automatically when I first reference that it will change the color?

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.

A lerp turned out to be smoothest after all.

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.

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.

works great now, thanks!