Set speed rotation with text input filed in html5
Hi everyone, it's me again😊
How can I make a button rotate another object, like this:
There is an object, button and input text field:
when I put the number in the input text field and then click the button, it will effect on rotation speed. Higher numbers that user type in the input text will cause faster rotation. But, in other case, i want to set the object rotate only 10 times not continously.
How can I do this using html5? Can anyone tell me the code?
Thanks in advance!
Have a nice day
Sorry, I'm not good in English. Hope you can understand my question😊
