nKinso
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by nKinso
-
-
Hello,
I would like to control a video frame by frame via a slider. As It is a short video, my idea was to embed it in a sprite sheet and then move it along a slider.
My Sprite sheet is 11*10 and the size of each 300x250.
I found this great CodePen:
Which basically do what I am looking for (just need to add a slider rather than a mouse drag and it is all good)
However, The sprite sheet used was on 1 line only and I cannot do that as I would end up with a 31000px jpeg, which I guess is not good.
How can I modify the code pen to force the sprite to go to the line every 10*300px?
Sorry if it is a little bit confusing, I am not familiar with JS, I just want to show the front end, the type of animation I am looking for.
Cheers
Nico
See the Pen Cvidl by astrogastro (@astrogastro) on CodePen
- 1
Sprite sheet animated by slider
in GSAP
Posted
This is awesome, Thanks you very much Carl