The Sweet Spot

Andrew Hao's thoughts about software engineering, design, and anything shiny.

The making of SOS: Intro

| Comments

Save Our Souls - Logo

I’m starting a project for my church’s art show that integrates Twitter, print design and light. I’m titling it “Save Our Souls”.

The theme of the art show is “Instead of Ashes”, a reference from of Isaiah 61 which highlights of God’s promises of redemption for the world’s suffering through Jesus.

What does it do?

Essentially, what I want it to do is parse the global Twitter firehose and display a live stream of tweets that highlight brokenness and pain: tweets about the world’s injustices, breakups, deaths, disappointments, and even ennui. This is inspired by twistori.

At the same time these tweets are floating across the screen, I want to illuminate a part of the printed verse in physical space that corresponds to the tweet.

Imagine:

Tweet: I just want everyone to understand something……I’m SEVERELY depressed right now……my (ex)girlfriend is one of the greatest things to happen to me and she’s gone.

At the same time, the LED array behind “he has sent me to bind up the brokenhearted” from Isaiah 61:1 would light up and pulse.

And so on, for each tweet that flies across the screen.

Architecture

Isaiah 61 Architecture

node.js would process messages from the Twitter streaming API keyed off of certain keywords and filter them by (negative) sentiment, and pushed onto queues. Queues would be drained in a fair manner and pushed out to a browser frontend, while a socket connection to an Arduino script would be responsible for pulsing the LED array.

Of course, there’s a lot of questions left unanswered here: How do you make an LED array? How do you do (reliable) sentiment analysis? How big should the print graphic be? How far behind the print should the LED arrays be placed for the light to be sufficiently diffuse, yet bright enough to be visible? I’m not sure yet.

First steps

So I just bought an Arduino and a ton of LEDs off of eBay. I’m trying to relearn all the EE40 I tried so hard to forget way back in my undergrad days.

[caption id=“” align=“alignnone” width=“500” caption=“Arduinos are cool. I had to do my fair share of head-scratching to figure out resistor values.”]Arduino is hooked up[/caption]

[caption id=“” align=“alignnone” width=“500” caption=“A conceptual design for the print graphic.”]Print Concepts[/caption]

[caption id=“” align=“alignnone” width=“500” caption=“Basic node.js backend with a rudimentary frontend streams live tweets.”]Testing backend.[/caption]

See the (rudimentary) nodejs/client code at github.

See the rest of the photos.

More to come!

Comments