Graphics programming with Python


For reasons unknown to me, probably psychological, I’ve always hated graphics programming…. Never touched it, if I could avoid it… 

Over the past 40 years that I’ve been programming,professionally as well as privately,  most of the time making ‘the pedal hitting the metal’, or ‘the led to flash’,  in the world of embedded realtime software, some of the time doing pretty advanced stuff, like software sitting in a fighter jet,  I’ve always regarded GUI programming as totally non-interesting, something for the ‘softies’ of software development,  like the web developers, PHP or HTTP hackers, or database administrators, or Excel & Powerpoint hackers…. 

Every graphics library I’ve looked into before just made me wanna puke, for the sheer complexity of the library: typically, in order to get even a midget speck of color to appear on the screen, you’d have to read 1000 pages, and then type 100’s of lines of code you’d not understand… To get a splash of color appearing on your screen…. 

My gut feeling has always been that it shouldn’t be that hard to make simple graphical objects appear on the screen…. In positions you want, with sizes you want….  

Not so anymore: Thanks to Professor John M Zelle, and his Graphics library for Python, even those of us who hate the nitty gritty detail of graphics programming can produce pretty awsome graphical applications. 

The grid above, simple as it is,  took me just 5 mins of thinking and programming, without ever before having had a look at Zelle’s Graphics library.  

A great example of good abstractions! 

About swdevperestroika

High tech industry veteran, avid hacker reluctantly transformed to mgmt consultant.
This entry was posted in development, software and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s