Ask your own question, for FREE!
Computer Science 13 Online
OpenStudy (anonymous):

an usefull algoritmh to make a line rotate in x,y coordinatian system var g = setInterval('rotateMe',speed) function rotateMe() { x = |length| Math.cos(t) y = |length| Math.sin(t) plot = 'position:absolute; top:y; left:x' document.getElementById('img').position = plot t = t+angle of rotation }

OpenStudy (anonymous):

OpenStudy (amistre64):

it can be if utilized appropriately ;)

OpenStudy (anonymous):

i did in my cannon game would you like to see the code?

OpenStudy (anonymous):

and i made this algorithm better to use :D

OpenStudy (anonymous):

I also used the collapsion test in the cannon game that it worked :) and i think its ok now :D

OpenStudy (anonymous):

but i didn't draw pics :( i take them from net because drawing pics on pc is extremeley boring...

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!