Question for those html5 canvas pros | SoloLearn: Learn to code for FREE!


Question for those html5 canvas pros

how can i make this circle to spin on its x-axis (like a spining coin on a flat surface) which can also be useful animating pick-up coins /tools/weapons in game...i tried hard to animating it that way..but only errors...anything useful like a link to a canvas tuitorial concerning this will also be apreciated (P.S css animations are obvious) jQuery is also accepted.....

3/2/2018 11:11:18 AM

_c0d£ Bit£_

1 Answer

New Answer


decrease the radius until it gets to a certain size then increase and again. If you see how coin sprites are animated (search images), you'll understand.