Algorithmically generated framed pictures of heads of governments
Computer programming, Data visualization, Exhibitions, Research
#!/usr/bin/python
#
import datetime
for row in cursor.fetchall():
if row['country_code'] + ".png" in srcfiles:
x = datetime.datetime.now().date() - row['h_gov_since']
if x.days > 365*2:
years = " ("+ str(math.floor(x.days/365))[:-2] + " years)"
elif x.days < 365:
years = " ("+ str(x.days) + " days)"
else:
years = " ("+ str(math.floor(x.days/365))[:-2] + " year)"
img = row['country_code'] + ".png"
imgs.append(img)
li[img] = row['country_name'].capitalize() + years
height.append(Image.open(pathx + img).size[1]+35)
width.append(Image.open(pathx + img).size[0]+20) Data visualization experiment using flags of the world
Communication design, Computer programming, Data visualization, Exhibitions, Research
An evolving algorithm that generates music & visuals
Computer programming, Data visualization, Exhibitions
Copyright © 2001-2020 Shahee Ilyas. Privacy Policy