ARCH 516: Grasshopper and Galapagos

Homework assignment #1:

Three of the exercises I did from digitaltoolbox.info:
Basic:

Homework assignment #2:

For this week, we had to solve a mathematical problem using galapagos.

The problem (from http://www.math.ucdavis.edu/~kouba/CalcOneDIRECTORY/maxmindirectory/MaxMin.html) I chose was the following:
Build a rectangular pen with three parallel partitions using 500 feet of fencing. What dimensions will maximize the total area of the pen ?

According to galapagos, the dimension of the fence is 400'x 300'.

Final Project Idea:
For my final project, I want to find different pathways in which the four identified points could connect.
For my thesis project in studio, I'm working on how pathways on the ground emerge as a building.
The four points represent four points of entrance/exit into the site.
I want to use galapagos to develop interesting pathways in between these four points.

Homework assignment #3:

For this week, we had to explore a multi-objetive galapagos exercise.
As I looked through Nathan's class exercises, I found 'traveling salesmen' exercise, which pertains to my final project (desription above).
So I studied the structure of Nathan's layout of the program. I did have a difficult time of understanding how everything was fitting together.
I will ask Nathan for the explanation in class!
In this exercise, Galapagos is used to find the most efficient pathways connecting these 10 points.

Here are the connections:

Final Project Process:

So following nathan's structure, I changed it to create connections among 4 points instead.

FINAL PROJET:
1.) What is the goal of the project?
The goal of the project was to identify various ways the 10 points (indicating entrances/exits & attraction points) can connect on a given site.
One of the pathways being the shortest ways the 10 points could connnect, and the other being the one of the longest was the 10 pointss could connect.

2.) What constitutes the fitness of the system?
The fitness ( a value representing "what we are looking for") of the system was the total length of the pathways which connect the 10 points.

3.) What are the genes that control the system?

The genes (Gene: A variable in an evolutionary system that is allowed to change) that control the system were the 10 points that would be connected. Specifically, the variables were the orders in which the 10 points would be connected.

4.) Explain the parametric model:

I first assigned 'Pts' the 10 points by using 'set multiple points.' Then these points were itemized and flattened, and a polyline connected the points was created using 'PLine.'
The total length of the lines are plugged into galapagos as 'fitness.'
The points (set up as assignmed numbers in a number slider) that create the lines are then plugged into galapagos as 'genome.'

Here is a video of working galapagos:

(* Note: To calculate the shortest distance the 10 points connect, the 'fitness target' is set up as minimum. To calculate the longest distance the 10 points connect, the 'fitness target' is set up as maximum. )

The results:
The mimimum length:

The maximum length:

Summmary and thoughts on future improvements:
The summary of my project is about finding possible pathways that connect different points on a plane. Galapagos proved to be a powerful tool in generating different pathways connecting the points by manipulating the length that connect the points. By using galapagos, you can choose different pathways using minimum lengths and maximum lengths.

This was my first time learning grasshopper, and at the beginning of the semester I felt intimidated about using galapagos, but by taking Nathan's example (traveling salesman), I was able to apply it to my own thesis project. In the future, I want to become more competent in using grasshopper and be able to generate my own set ups.
In the future, I hope to incoporate voronoids around the points that would generate interesting spaces around the points, and find out the possible pathways using the curves generated by the voronoids.

Thanks to my instructor, Nathan Miller, I became more eager to learn grasshopper and its endless possibilities.

page revision: 14, last edited: 01 Apr 2011 01:11