Cuttlepress

Blogging about Hacker School?

Day 6

Having decided I wanted to make some pretty pictures of graphs to adorn my NY apartment’s walls, I wrote some code in Processing to make random nodes and edges pack attractively into a corner. Having done that, I wanted to use more-meaningful-than-random data, and my seatmate suggested that I use a relationship graph of Shakespeare characters. Actually graphing out the relationships is nontrivial, so I decided to instead approximate relationships based on which characters appear in scenes together. I wrote some Python to pull that information out of the script for The Winter’s Tale.

I also attended a workshop by Mel Chua, whose speech last night about educational psychology was tremendously enlightening for me, and had a quick discussion with some of my costudents about running a Python workshop for high schoolers.