Back to Blog

November 18, 2017: Making a Logo with Python

If you happened to see my old logo and maybe view it at a larger size, you might have seen that I was trying to do something neat with 'kceades' in the center of a paint stripe-esque circle with increasing width. Here it is again for clarity.

My old logo

Unfortunately, this was not showing up well at all in the browser. So I decided to make a new logo, and to do it in Python using rgba arrays and converting to an image at the end. Using rgba arrays is nice for logos especially because you can set the transparency down to zero where you don't want just annoying white or black outside the logo.

After some more exploring the interwebs and playing around with a lot of array values, I found a couple tips that might be useful to know for someone attempting to modify this script in the future.

Now, for my actual logo, I chose a gradient in color with three random walks in it with different probabilities. The red one 0.6 probability of moving upward on a given step while green is 0.5 and blue is 0.4. Well, without further ado, here is my new logo in case it was not clear in the browser (it is double size here).

My new logo

If you want to see the code for any of this, feel free to browse my github repo corresponding to my static site, specifically this folder and look at the logo.py file.

Until next time, imaginary blog readers.

Back to Blog