Balls which collide amalgamate into a larger one, conserving momentum. After a limited number of bounces off the floor a ball will drop off the bottom of the world and be destroyed.
Source code: bouncy_balls (or in Java).
Built with Processing
Source code: bouncy_balls (or in Java).
Built with Processing