1.2.3 • Published 1 year ago

canvasanimation-quancsleo v1.2.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Canvas Animation

This is a simple JavaScript Canvas animation that simulates bouncing balls. It creates multiple balls that move around the canvas, bouncing off the walls and each other.

Usage

Clone this repository. Open the index.html file in a web browser. Description The animation is created using HTML Canvas and JavaScript. Each ball is represented by an instance of the Ball class, which has properties such as position, velocity, radius, and color. The balls move around the canvas by updating their positions in each frame of the animation loop.

Features

Multiple balls bouncing around the canvas. Randomized colors and sizes for each ball. Responsive design: canvas size adapts to the window size. Dependencies This project has no external dependencies.

License

This project is licensed under the MIT License.