https://github.com/marklagodych/boxwithballs
Simulation of box with balls (friction can be toggled)
https://github.com/marklagodych/boxwithballs
balls friction physics physics-simulation processing processing-language processing-sketch simulation
Last synced: 9 months ago
JSON representation
Simulation of box with balls (friction can be toggled)
- Host: GitHub
- URL: https://github.com/marklagodych/boxwithballs
- Owner: MarkLagodych
- Created: 2021-01-07T21:12:48.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-07T22:05:11.000Z (about 5 years ago)
- Last Synced: 2025-01-07T06:45:51.614Z (over 1 year ago)
- Topics: balls, friction, physics, physics-simulation, processing, processing-language, processing-sketch, simulation
- Language: Processing
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Box with balls
A simple program in processing that makes balls to move, collide with the box (actually, the window border) and (optionally) simulate friction.
## Features:
* When a mouse button is pressed, balls scatter from the cursor.
* Friction is toggled on every key press.
* The bigger is a ball, the more friction it has.
