This project demonstrates how to create animated particles in JavaScript that rotate in a loop.
- Particles rotate from the left to right.
- When they hit the walls, they change in size.
one-dimension-motion.html
: Main HTML file that includes the canvas and scripts.one-dimension-motion.js
: Contains functions to create and manipulate the particle elements and its effects.
- Clone the repository.
- Open one-dimension-motion.html in a web browser.
- Preview: Flowing Particles
Reach out at http://ceciliosanchez.com/contact/
This project is licensed under the MIT License.