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

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)

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.

![IMAGE](https://github.com/MarkLagodych/assets/blob/main/BoxWithBalls/1.PNG?raw=true)