LEIF01

INTERPOL TWITTER BOT

ABOUT

Project developed at Bauhaus University for the class Bot n’ Plots. The task was to program a twitter bot with the use of python. The band Interpol was chosen as an incentive for the creation of the bot. The final result can still be found on twitter under the name @RolandandLeif.
The first thing that was done was a compilation of the most famous Interpol’s songs in a text edit document. The lyrics were placed line by line with no breaks. Afterwards a rgb palette of colors was chosen, each letter was going to be represented by a specific color. The palette was ran from rgb [255, 0, 0], red color until rgb [0, 0, 0], black. The comma, a space and an apostrophe were considered in the process. This was the final values of each letter:
 
 a : (255,0,0),
b : (243,0,0),
c : (231,0,0),
d : (219,0,0),
e : (0,0,0),
f : (195,0,0),
g : (183,0,0),
h : (171,0,0),
i : (0,0,0),
j : (159,0,0),
k : (135,0,0),
l : (0,0,0),
m : (123,0,0),
n : (0,0,0),
o : (0,0,0),
p : (0,0,0),
q : (111,0,0),
r : (0,0,0),
s : (99,0,0),
t : (0,0,0),
u : (75,0,0),
v : (63,0,0),
w : (51,0,0),
x : (39,0,0),
y : (15,0,0),
z : (3,0,0),
: (255,255,255),
‘ : (15,0,0),
, : (207,0,0)

 

The line “Oh, she puts the weights into my little heart” can be then translated into this image, following the previous parameters:

To make the visuals more interesting it was suggested to include some pictures from the band in the back. A selection of Interpol’s pictures was done, cut in 660 x 330 pixels in order to standardized the whole process. This images are chosen randomly through the code and the selected one is then blended with the image produced from the color interpretation of the lyrics.

FINAL RESULTS

LOOK ON TWITTER