jQuery or Greensock
- Started
- Last post
- 6 Responses
- dee-dubs
Has anyone used either of these technologies for simple html animation.
I have been recently been learning and using jQuery for simple DOM selecting and animating elements (moving around, fading in/out scaling kinda thing).
I have a new project starting that is html build and is will need some animating to make it more interesting. I have been reading about Greensock and it being touted as a better alternative for html animation than jQuery.
So I guess Im asking if anyone here has used both, is this true? is it much of a learning curve to GSAP? Am I setting myself for a headache jumping and learning something I havent used before?
- dee-dubs0
Oh I realise I could use both, not sure how that works thou? jQuery for selecting and GSAP for animating??
- animatedgif0
Isn't Greensock more general purpose? e.g easier to hook into tweening a three.js scene for instance
If it's just basic HTML/CSS elements then jQuery should be plenty for you
- rabbit0
Im really wanting to (and will get into) Googles fairly new Angular framework.
It seems amazing and will be the way to go, perhaps watch this for an idea to get started:
http://angularjs.org/- (dont try doing this for this project - but learn it in background)rabbit
- dee-dubs0
Angular framework looks interesting, defo one for another time.
Anyone else got any ideas on whether I should be looking at GSAP...will I be able to have more wow factor animations with less effort that JQuery?
- BabySnakes0
Just used Greensock on js project and it was very nice. The Timeline feature makes animated multiple objects a breeze. I haven't used anything else other the than jQuery animations though.
- Did it take you long to pick up or is it fairly straight forward ?dee-dubs
- bout an 1-2 hours to fully get it, they have a video that helps pretty well.BabySnakes
- foobaz0
I prefer to keep it simple as far as libraries go. For animations I use the jQuery plugin, Transit. It uses JS to trigger CSS animations rather than typical JS frame based animations.