Algorithmic- a procedure for solving a problem
Architecture- the profession of designing buildings and environments with consideration for their aesthetic effect
Algorithmic Architecture- a procedure to designing buildings using scripting languages with in 3-d modeling programs
Every modeling program, Maya for example, uses script code to do all of its functions. So every time you click within that program some type of script is being run or following the command of the click. You are just simply using that code that is already used by the program to create something that the program might not necessarily be able to do with its preset buttons. In Maya for example you can look at that code that is being processed by going to Window> General Editors> Script Editor . The script editor will appear and the top gray box tells what commands or script have been run and the bottom white box is where you would type in your scripts to create something within the program. You can test this out by making a cube in the main window using the preset tools and look at the script that shows up. That right there is a start to learning the language that would allow you to create something using the ideas of algorithmic architecture.
For my algorithmic architecture attempt I used Maya and its script language MEL but before I could start witting out code I read two books: Algorithmic Architecture by Kostas Terzidis and Pamphlet Architecture 27 Tooling by Aranda/Lasch. These two books discussed the history behind algorithmic approaches t0 architecture, actual code that works, and great design ideas and concepts.
Once the books were digested I moved on to creating and these are a few of the things I made to start off with:




All of these images were made using simple script such as rotate, move, random, polyCube, and sphere. The script to create the following would look like this:
for($count=0; $count<5;>
for($y=0; $y<10;>
for($x=0; $x<10;>
$r=rand(-0.2, 0.2);
polyCube -w 1 -d 1 -h ($r+3);
move (($x+$r)*2) (($y+$r)*2) ($count*3);
rotate ($x*5) ($y*0) 0;
}
}
};
This particular script goes with the last picture. It creates a cube with a width of 1 depth of 1 and height of a random number plus 3.(The random number will fall between -0.2 and +0.2) Once the cube of those parameters is created it is then moved on all three axis (x, y and z) and is rotated on only two( x and y). So the combination of polyCube, move, rotate, and random create something, and something is a step. You can change up this code by adding sphere instead up polyCube and adding a scale factor to create something new.
The next images go in depth a little more and begin to incorporate things such as sin curves while still using the basic rotate, scale, and polyCube.

\The following script shows how you would incorporate a sin cure into the script to create the wave effect that you see.
$num_loops = 30;
polyCube -w 1 -d 1 -h 1;
select pCube1.f[1];
//for loop
for($i=0; $i< $num_loops; $i++){
polyExtrudeFacet pCube1.f[1];
move -r 0 .2 0;
scale -r (.05*sin(.5*$i)+1) 1 (.05*sin(.5*$i)+1);
}
In this script a cube is created and the first face is selected( which in Maya by default is the top of the cube). A for loop in created to run the script and inside of it the face that was selected then becomes extruded. It is then moved in the y axis and scaled according to the sin curve.
These last three images just extend on those prior concepts and create what you see below.



Once I got something I liked I then rendered it within Maya using things such as ambient occlusion, lambert (found in the Hypershade), final gather, mental ray, and sunDirectShape (directional light). Here are three renders of some of the things I created using the MEL language.



The first render is done using ambient occlusion and lambert.
The second is a combination of ambient occlusion and sunDirectShape.
The third uses a bump map of cloth and sunDirectShape.
So overall this last blog post was to explain the process in my algorithmic approach to architecture and I hope it was easy to follow. I loved this project, and I feel that I learned a lot! I will definitely look into different approaches to design later on down the road because I feel it can only make your designs that much stronger.
LINKS
quote on algorithmic architecture
inspiration
help
rob the bloke



































