Writing · page 5

Using PyFirmata to rewrite an Arduino sketch

Controlling a MAX7219 LED Matrix to use in your projects

I’ve had an Arduino for almost 8 years now; I got it as a birthday present from my Dad. And boy, I’ve gotten a lot of use out of the thing. From a makeshift oscilloscope to a quick-and-dirty...

Read post

Exploring Perlin Noise in Python

Generating coherent noise for all manner of simulations and games

First of all, I would like to say that the code in this post was inspired by Adrian Biagioli’s article on Perlin Noise, which can be found here. That being said, this really isn’t going to be a...

Read post

Compile-time constants with Pyinstaller spec files

Insert version number and build time directly into your code!

When I was developing LIFX-Control-Panel, I was constantly running into the problem of keeping my version numbers straight. Namely, I was keeping my version number in two separate places; one in the top of my settings.py file, and...

Read post