Skip to content

Instantly share code, notes, and snippets.

@tdhartwick
Created October 1, 2015 23:20
Show Gist options
  • Save tdhartwick/203887d049e9a03951c4 to your computer and use it in GitHub Desktop.
Save tdhartwick/203887d049e9a03951c4 to your computer and use it in GitHub Desktop.
The variables used for css-flip-book!
//Name of animation slides
$animation-name: 'walking';
//The name of the directory in the img folder where the slides live.
$directory-name: $animation-name;
//The screen width that the flip book starts.
$starting-width: 200px;
//The number of images you have for the flipbook.
$number-of-slides: 48;
//The number of times the animation repeats.
$number-of-repeats: 10;
//Interval the screen moves before the next frame is loaded.
$fps: 5px;
//Flip book height and width.
$dimension: 150px;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment