This project demonstrates how to create animated balls in JavaScript that move around the screen with a colorful appearance against an ocean backdrop.
- Balls start from the top-left corner and move randomly.
- Bright, saturated colors make the balls visually appealing.
- A deep ocean backdrop enhances the visual experience.
moving_balls.html
: Main HTML file that includes the canvas and scripts.magic.js
: Contains functions to create and manipulate ball elements.ball.js
: Initializes and animates the balls.
- Clone the repository.
- Open
moving_balls.html
in a web browser. - Preview: Moving Balls
Reach out at http://ceciliosanchez.com/contact/
This project is licensed under the MIT License.