I somehow have the feeling the internet is going to be rife with election-related fun today. I won’t have time for a good websurf until later because I’m trying to get to the polls to vote before class, but this caught my eye: string red and blue lights up around your house for your election party and use this
python script to scape CNN’s election results and indicate how the election is trending to change which lights are on so your lightly reflects the trending of the election. Your house will start out purple and end up…. well, slightly less purple? Looking at the code there is some normalization going on, so it might end up having more of a range to spread over. There’s nothing in this code that is specific to the lighting application either, so go ahead and grab it and build your own election tracking toy!