Skip to content

chiaraani/bouncing-ball

Repository files navigation

bouncing-ball

A web page with a bouncing ball in a container. Ball starts at random position, speed, direction and size. Reload or click on "Switch ball" to visualise a different ball.

Visit on chiara-bouncing-ball.netlify.app

preview

Install with npm

npm i @chiaraani/bouncing-ball

To import the project:

import '@chiaraani/bouncing-ball/index.mjs'

And a container with a ball will appear in your site, and a "switch ball" button.

About

A web page with a bouncing ball in a container.

Resources

License

Stars

Watchers

Forks

Packages

No packages published