zarocknz / javascript-winwheel

Create spinning prize wheels on HTML canvas with Winwheel.js
http://dougtesting.net
MIT License
527 stars 361 forks source link

Request: alternate gsap animation option #54

Open phazei opened 6 years ago

phazei commented 6 years ago

Gsap isn't free for any paywalled site. An alternative more open solution would be preferable.

zarocknz commented 6 years ago

It's been a long time since I looked in to JS animation libraries; I'm open to suggestions.

The great thing about GSAP is that it can animate any numeric property over time and has the nice "easing" functions for the animations. So any suggestions should be strong in these areas.

phazei commented 6 years ago

I was looking into it and found this: https://github.com/tweenjs/tween.js

looks like it would be a relatively simple switch and is made precisely for that

AshokRamaraja commented 5 years ago

@phazei Is it going to be huge change on winwheel ?

phazei commented 5 years ago

Don't think so, but I don't use this anymore. I did use tween.js here and there and it's very easy to use.

AshokRamaraja commented 5 years ago

You mean you haven't used winwheel library.. ?

AshokRamaraja commented 5 years ago

This was used in WinWheel js TweenMax.to(this, this.animation.duration, properties);

Is there a way you can replace this with createjs animation.