Skip to content

ceciliosanchez/xPro-Animation-Moving-Balls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project for MIT xPro Full Stack Developer course

Moving Balls

This project demonstrates how to create animated balls in JavaScript that move around the screen with a colorful appearance against an ocean backdrop.

Functionality

  • 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.

Files

  • 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.

How to run

  1. Clone the repository.
  2. Open moving_balls.html in a web browser.
  3. Preview: Moving BallsAnimation Screenshot

Support

Reach out at http://ceciliosanchez.com/contact/

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published