revolunet / angular-carousel

Mobile friendly AngularJS carousel
http://revolunet.github.io/angular-carousel
MIT License
1.55k stars 705 forks source link

Animation go continuous and smooth? #390

Open karlvonbonin opened 8 years ago

karlvonbonin commented 8 years ago

Hello,

is it possible to make the transition/animation go continuously and smooth? (Like a news ticker) from right to left.

Thanks

ScallyGames commented 8 years ago

You can set rn-carousel-easing to change the easing function. By doing so you could set it to a linear function and set rn-carousel-duration and rn-carousel-auto-slide to an equal duration to get a smooth transition (not tested but should work). I hope you get the idea (if you have any problems just ask back)

karlvonbonin commented 8 years ago

Thanks for your reply. Doesnt work :( - This is my setup:

rn-carousel-auto-slide="0.1" rn-carousel-duration="0.1" //cause 0 doesnt work rn-carousel-loop rn-carousel-easing="easeFromTo"

Any other suggestions ? I really like this slider

ScallyGames commented 8 years ago

Could you set up a fiddle for this?