This is a Website which uses HTML, CSS, Javascript and Canvas API to generate a Ball Bouncing Frame Animation.
This is dependences to run the program:
Name | Download Link |
---|---|
NodeJS | https://nodejs.org/en/download/package-manager |
-
Open the terminal
- Windows
Windows + R : "cmd" or "powershell"
- Linux
Ctrl + Alt + T
-
Insert the following command
cd <program-file-path>
-
Then
npm init -y
-
Download Index.html, Style.css and Script.js
-
Create a folder called bouncing-balls
- In the folder location, insert the following command
mkdir bouncing-balls
-
Move Index.html, Style.css and Script.js files to bouncing-balls folder
- In the terminal
move <file-path> <target-folder-path>
-
Open the bouncing-balls folder
- In the terminal
cd <folder-path>
-
Copy the Index.html path and paste in browser
file:\\\<file-path>
- PS.: Remove the Quotation marks from
-
Wait until the site load completelly
-
Open the bouncing-balls folder in File Explorer
-
Click with the Right Mouse Button on Index.html file
-
Select the Open with option and select a Browser
-
Wait until the site load completelly
https://jonaxplanta.github.io/BouncingBalls/
⠀