daniel-lundin / snabbt.js

Fast animations with javascript and CSS transforms
http://daniel-lundin.github.io/snabbt.js/
MIT License
5.21k stars 331 forks source link

Add sane examples #69

Open tommiehansen opened 8 years ago

tommiehansen commented 8 years ago

This is just a recommendation more then an issue per se but you should work on adding some basic UI examples. The stack cards etc are all nice etc but hardly useful for anyone looking to use snabbt.js for different types of UI-animations.

I may be adding my own stuff though since snabbt.js since you've added some much needed functionality and i like the fact that Snabbt.js is quite lightweight etc so i may integrate it onto a working project (a flight booking engine).

daniel-lundin commented 8 years ago

I agree. Demos are more a show off at the moment :) I'm in the middle of doing a big refactoring (move to es6, new build system, unit tests etc..). And as soon as I finish with that I will give the documentation some love.

tommiehansen commented 8 years ago

I like that i tried to write that comment in under 5s hence the horrible grammar and spelling. :)

But yeah -- great!

tommiehansen commented 8 years ago

This is sort of what i mean: http://codepen.io/tommiehansen/pen/netCu

Click "Demo loop (infinite)" to just run the thing or click manually if that's your cup of tea. :)

It is hardly as impressive as your sticks- and card demos but it's a bit more in line with what i think people would use Snabbt.js for.

daniel-lundin commented 8 years ago

Totally agree. I've just registered a codepen account for snabbt so will start soon :)