Couple of days ago I discovered Greensock JS library. I am creating a web app with animations. So I decided to give it a try and I was surprised how smooth a movement can be.
My first attempt to implement animation was jQuery animate and it was far away from smooth movement. After that I found jQuery CSS transit library which was much better than jQuery animate method, but there was still some jitter while animation.
But Greensock beat all of them. I am getting very smooth movements.
Shhhh...don't tell anybody...we discovered how to inject magical browser pixie dust that turns JavaScript into native machine code and offloads everything to the GPU to make quick work of animations. Kidding. The real answer is...well...somewhat complex. Here's a quick (but not complete) list of our techniques:
Use highly optimized JavaScript across the board (this entails many things like using linked lists, local variables, quick lookup tables, inlining code, bitwise operators, leveraging pr