Composing for Infinity

by Darius Kazemi

(Use left/right arrow keys to navigate. This won't make much sense without the talk itself, text of which is here, video coming soon.)

73 Projects, ~350 hours of work (4.8 hours/project)

Auto Charts

Scenes from The Wire

Amazon Random Shopper

Black Box: Google Street View Image API

Black Box: Google Street View Image API

http://maps.googleapis.com/maps/api/streetview
?size=400x400
&location=40.794813,-73.920215
&fov=90
&heading=0
&pitch=0

Black Box: Google Street View Image API

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[continental US]
&fov=[0-120]
&heading=[0-360]
&pitch=[0-360]

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[continental US]
&fov=[0-120]
&heading=[0-360]
&pitch=[0-360]

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[0-120]
&heading=[0-360]
&pitch=[0-360]

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[0-120]
&heading=[0-360]
&pitch=[0-360]

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[33]
&heading=[140]
&pitch=[50]

(everything is constant but we vary lat/lng within bounds)

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[33]
&heading=[140]
&pitch=[50]

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[0-120]
&heading=[140]
&pitch=[50]

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[0-120]
&heading=[140]
&pitch=[50]

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[33]
&heading=[140]
&pitch=[0-180]

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[33]
&heading=[140]
&pitch=[0-180]

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[120]
&heading=[140]
&pitch=[0-180]

Low FOV sucks, let's max out FOV and vary pitch

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[120]
&heading=[140]
&pitch=[0-180]

That eye level shot was neat, looks like that's pitch 0

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[120]
&heading=[140]
&pitch=[0]

That eye level shot was neat, looks like that's pitch 0

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[120]
&heading=[140]
&pitch=[0]

What if we look up?

http://maps.googleapis.com/maps/api/streetview
?size=120x120
&location=[Boston, Newbury St Area]
&fov=[120]
&heading=[140]
&pitch=[90]

What if we look up?

Now we have a sense of the black box

"This is boring!"

-Frieder Nake

// Code is weird

while true
  print Math.random()
        

"This is boring!"

-Me

"This is boring!"

-Me

...so how do we make it less boring?

The Most Important Achievement in Procedurally Generated Art of the Last Ten Years

Spelunky (Derek Yu)

(On the next slide press 1, 2, and 3 to change aspects of the Spelunky level generator. See here for more.)

Elegant

P(treasure) ∝ numberOfWalls

Not Elegant

If we are in the first cave tileset, then for every brick tile that is not the ceiling of the level itself, and is not in a shop, and is not in the starting room, and is not on the bottom half of a room, check to see if we have a two by two block of empty tile spaces below this brick. If there is a two by two block of empty tile spaces, and we're allowed to generate a Giant Spider in this level, and we have yet to generate a Giant Spider in this level, then there is a 1 in 40 chance that we generate a Giant Spider and some cobwebs right beneath this brick. If we do generate a Giant Spider, make sure not to generate another one in this level.

Templated Authorship
+
Random Input
+
Context

Context is important.

Context is important.

 
earthquake
 
a sudden and violent shaking of the ground, sometimes causing great destruction, as a result of movements within the earth's crust or volcanic action.

Context is important.

Girl, you must be an
earthquake
because you are
a sudden and violent shaking of the ground, sometimes causing great destruction, as a result of movements within the earth's crust or volcanic action.

Templated Authorship
+
Random Input
+
Context

Olivia Taters (Rob Dubbin)


Pentametron (Ranjit Bhatnagar)


Two Headlines


Two Headlines

...is the same thing as...

Templated Authorship + Random Input + Context

THANKS

Darius Kazemi, Jun 12 2014

Extra thanks to:

Courtney Stanton
Rob Dubbin
Ranjit Bhatnagar
Evelyn Eastmond