An open API service indexing awesome lists of open source software.

https://github.com/jonaxplanta/bouncingballs

A simple Bouncing Balls website using HTML canvas in JavaScript with purposes of learning.
https://github.com/jonaxplanta/bouncingballs

bouncing-balls canvas2d css3 html5 javascript school-project training website

Last synced: 5 months ago
JSON representation

A simple Bouncing Balls website using HTML canvas in JavaScript with purposes of learning.

Awesome Lists containing this project

README

          

### Bouncing Balls WebSite
This is a **Website** which uses *HTML*, *CSS*, *Javascript* and *Canvas API* to generate a **Ball Bouncing Frame Animation**.

---

### Dependences
This is **dependences** to run the program:

| Name | Download Link |
|------------|------------------------------------------------|
| NodeJS | https://nodejs.org/en/download/package-manager |

### Installing

#### NodeJS
1. Open the **terminal**

- Windows
```
Windows + R : "cmd" or "powershell"
```

- Linux
```
Ctrl + Alt + T
```

2. Insert the following command

```
cd
```

3. Then
```
npm init -y
```

---

### How to run
1. Download *Index.html*, *Style.css* and *Script.js*

2. Create a folder called **bouncing-balls**
- In the folder location, insert the following command
```
mkdir bouncing-balls
```

3. Move *Index.html*, *Style.css* and *Script.js* files to *bouncing-balls* folder
- In the **terminal**
```
move
```

4. Open the **bouncing-balls** folder
- In the **terminal**
```
cd
```

5. Copy the *Index.html* path and paste in browser
```
file:\\\
```

- PS.: Remove the Quotation marks from **

7. Wait until the site load completelly

##### OR
4. Open the **bouncing-balls** folder in **File Explorer**

5. Click with the *Right Mouse Button* on *Index.html* file

6. Select the *Open with* option and select a **Browser**

7. Wait until the site load completelly

#### OR Acess it with the following URL:

```
https://jonaxplanta.github.io/BouncingBalls/
```