need a check on this function that it fails... :( 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 {

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions.

A community for students.

need a check on this function that it fails... :( 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 {

Mathematics
See more answers at brainly.com
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions

that function is to make a cannon rotate over a dat.
Although I think this is not the correct study group for this question, I'll try to answer: 0. I hope I'm correct that it is javascript 1. you should end your commands with semicola (;) 2. What is |length|? Do you mean Math.abs(length)*? 3. It should be ...getElementById('img').style.position = plot; 4. You need to declare t and length as global variables 5. The end of the function must be } not {.
non o i used 0 prograaming language in this its just the algorithm ^^ but if u want i can paste cods here too (if i can find the file on pc :D )

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

The algorithm seems ok, for me it's a question of clean implementation.
hmmm
well i found codes but i wrote them in C# and its not a whole, that my function only gives new values, i made a new class for this rotation ^^
well, Ill try to reprogram it ^^

Not the answer you are looking for?

Search for more explanations.

Ask your own question