0
JavaScript moving objects?
Anyone got a simple script to move an ellipse in a square path? (Loops)
2 Réponses
- 1
I guess CSS would be able to do the job.
https://www.w3schools.com/css/tryit.asp?filename=trycss3_animation3
**Of course you’ll need to modify the square into an ellipse
+ 1
thanks cyrus but i would like it in javascript, i try to understand how to control the flow, i would like to do it in four steps, move to right until width -10px move doWn until height - 10px, move left until x-10px move up back to starting point where x and y = 10px