Week 9 HW

Here is a curve trace of the J train line, superimposed with 100 equidistant points. Each point was moved in the z-direction by a random number to simulate noise. Going forward in the class I am going to be doing field recording, or some other audio analysis to obtain noise data, and utilize it in a design relating to noise in the anthropocene.

Screen Shot 2015-03-31 at 12.08.57 PM

 

Here is the Python script:

import rhinoscriptsyntax as rs
import random

pntList = []

arrObjects = rs.GetObjects(“choose objects”, rs.filter.point, True, True)

for object in arrObjects:
if rs.IsPoint(object):
pntLoc = rs.PointCoordinates(object)
print pntLoc
z = random.uniform(0.0,4.0)
scale = (0, 0, z)
rs.MoveObject(object, scale)
newPnt = rs.PointCoordinates(object)
pntList.append(newPnt)

poly = rs.AddPolyline(pntList)

Circles w/Recrusion: Joanna

 

Screen Shot 2015-03-30 at 7.06.37 PM

import rhinoscriptsyntax as rs
import random

#def random_color():
#return (random.randint(0,255), random.randint(0,255), random.randint(0,255))
color = random.randint(255, 255)

pt = rs.GetPoint(“Pick starting point”)

def RecursiveCircle(pt, d):
if d == 0:
return 1
else:
c = rs.AddCircle(pt, d)
rs.ObjectColor(c, color)

return RecursiveCircle(pt, d-1)

RecursiveCircle(pt, 10)

Midterm/Final project idea- Joanna

For my primary project in Sculpting Data into Everyday Objects I partnered up with Ross Goodwin and decided to create a lamp that will visualize the traveling salesman problem between a set of cities that Italo Calvino described in Invisible Cities.

The lamp will be a three-dimensional set of vertices, each a 3D printed city-node designed based on descriptions of various cities in the Calvino’s Invisible Cities. The cities will serve a purpose of little light bulbs with LEDs inside them, that will visualize a computer algorithm running on Raspberry Pi solving the traveling salesman problem in real time between the cities.

Here is the first node-city I have modeled in Rhino, Valdrada:

Screen Shot 2015-03-10 at 10.46.01 AM