Posts mit dem Label attractor werden angezeigt. Alle Posts anzeigen
Posts mit dem Label attractor werden angezeigt. Alle Posts anzeigen

Donnerstag, 18. November 2010

Attractor again

 
Attractor is certainly quite fun to play with. This grasshopper definition basically subset the surface and apply component on each surface. The height and opening of the component is controlled by attractor point.


Another possible variation, surface with seams


Anyway... Have fun..
By the way, I got a processing workshop at 9.30 tomorrow... very excited... I actually need to learn the processing for it's capacity of physics simulation...

Sonntag, 14. November 2010

Putting the attractor with evolutionary algorithm


 .

This is an experiment with Evolutionary Algorithm component in Grasshopper (my favorite parametric tool) to find a point on the surface, which has the highest value of gaussian curvature, then use it as attractor to define the size of the opening after surface population. Thanks to David Rutten (Galapagos) and Giulio Piacentino (Weaverbird)

I set the generation to 1000 and population to 20. I didn't run the whole algorithm in the video, so that the filesize of the video could be smaller. However after 5 generations we already start to see tendency of where the point might be and also the fitness graphic is starting to be stagnant. Of course if we run the generation to 1000 times, the position would be more exact. 


One further idea, is that we ask galapagos to find exact point on the facade based on the sun exposure, then use it as attractor for surface opening size.



Attractor System


Quite a simple one. What the script does is basically populate the surface with circles, where the circle radius are controlled by the distance of the circle center point to the attractor.

For the script to work, a single NURBS surface is necessary.


This is an example of the surface that would work.


After Surface population...
The Process of surface population in video.