One of my favourite things to do is start new side projects. Three years ago, my roommate Adrian and I decided to build a mobile app to keep track of the books we wanted to read. So we put together some designs and started building. We came up with the name To Read. The plan was to build functional apps for iOS and Android and submit both before the weekend ended.
I was browsing around CodePen today and some particle animation demos caught my eye so I thought to myself, “how hard could that be?” I spent half the day tinkering and this is what I came up with: Bouncy Balls The first thing I wrote was a simple container of moving particles. Each particle is initialized with a random velocity that remains constant throughout its life. The most challenging part of this demo was creating the bounce effect.