react-frame-sequencer
v0.1.1
Published
React Frame Sequencer
Downloads
0
Maintainers
Readme
React Frame Sequencer
Frames sequencer player for changing frames when user scrolls
Usage
import { FrameSequencer } from "react-frame-sequencer";
const App = () => {
return (
<FrameSequencer
framesCount={100}
imagesPath='frames'
imagesType='jpg'
imagesPrefix='thumb'
speed={20}
>
<h1>Hello World!</h1>
</FrameSequencer>
)
}
Props
framesCount - number of frames
imagesPath - path to images folder
imagesType - type of images
imagesPrefix - (optional) - prefix in the images names
speed - (optional) - speed of the frames updates (default 10)