+ 2

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) https://code.sololearn.com/WZx25mKv77SG/?ref=app jQuery is also accepted.....

2nd Mar 2018, 11:11 AM
_c0d£ Bit£_
_c0d£ Bit£_ - avatar
1 Odpowiedź
0
What you need is here. https://en.m.wikipedia.org/wiki/Rotation_matrix The explanation on Wikipedia is comprehensible enough although the implementation may require intermeditae programming knowledge. I don't have my laptop with me so I can't give you an example
12th Jul 2024, 2:35 PM
Mel