This is a quick and dirty terminal screensaver for macos/linux. Made to illustrate the principles in this guide. The screensaver adapts to your terminal window size and you can asjust the number of balls! I hope its fun and helpful.
git clone https://github.com/harrinp/BouncingBalls
cd BouncingBalls
make install
Default install location is /usr/local/bin, make changes to the makefile to change this.
Type:
BouncingBalls
Add a number argument to change number of balls!
BouncingBalls 500