I started this sketch in 2019 practicing conditionals using The coding train "Bouncing ball" tutorials as a guide. I modified the code so I could make the spheres bounce off of each other when touching and multiply the number of spheres.
- Download Processing 4
- Instal Processing Java
- Install extention Processing VSCode (not to be confused with Processing Language)
- Open the entire folder that contains the PDE files in VSC
- Run the sketch by pressing the green play button on your right
- Internet browser
- VSCode
- Processing 4
- Click on the link to my repository: https://github.com/Sofacosta/gravity_spheres
- Click on the green "Code" button and copy the repository URL
- Open your terminal and use the command
git clone https://github.com/Sofacosta/gravity_spheres
into the directory you would like to clone the repository - Open in text editor to view code and make your own changes
- Go to the right side of the PDE file and press the green play button (you will have to install extention processing VScode)
- No known bugs
- Processing 4
- Java
This software is licensed under the MIT License.