Writing a Particle System on the Raspberry Pi

I’ve always been interested in computer graphics and embedded systems. So when I got a Raspberry Pi for $35 with its high-resolution HDMI video interface, I knew it would make a good platform for experimentation. Since then, I have written about how to setup the Raspberry Pi (Nuts & Volts magazine, March 2013), have made it into an Internet Radio/Music player (Nuts & Volts magazine, August 2013), and have performed numerous experiments in computer graphics. In this article, I describe and demonstrate the particle system code I developed for the Raspberry Pi. From this point forward, I will refer to the Raspberry Pi by its typical abbreviation, RPi. My RPi setup and coding process are described at the end of this article.

To quote Wikipedia, a particle system refers to a “computer graphics technique that uses a large number of very small sprites or other graphic objects to simulate certain kinds of ‘fuzzy’ phenomena, which are otherwise very hard to reproduce with conventional rendering techniques