ETH Zuerich - Startseite
Professur für CAAD

 


caad d-arch


Caad Teaching
 

 
Bachelor of Architecture: CAAD II ss07

 
Master of Advanced Studies
in Architecture, CAAD


 
DWF-Processing
Programmieren statt Zeichnen


 
Graustufen - Ein Atlas
Schweizer Wohngebäude als XML Daten


 
DWF- Denken in Systemen:
In Collaboration with the Technical University Vienna


 
Seminarwoche:
BlowUp


 
Archiv

 
Caad Projects
 

 
Theory
 
Design
 
Building
 
Practice

 
Related pages
 

 
Swiss Federal Institute of Technology Zurich
 
Institute of Building Technology
 
Faculty of Architecture

 
Other pages

 










hbt d-arch

MAS ETH ARCH/CAAD - 2005/06 - STUDENT PAGES
Master of Advanced Studies in Architecture, Specialization in Computer Aided Architectural Design | 065-0005/6
Supervision: Prof. Dr. Ludger Hovestadt, Philipp Schaerer
Chair of CAAD, ETH Zurich





Blowup

bubles.JPG
PROCEDURE Blowup;
VAR
     x1,y1,l,h:REAL;
     i,m,j,k,n,p:INTEGER;
    NewObjekt:HANDLE;
   r,g,b:Longint;

BEGIN
     x1:=1;
     y1:=1;
     l:=50;   {Viereck Länge}
     h:=50;   {Viereck Höhe}
   n:=10;   {Abstand Vertikal}
   P:=10;   {Abstand Horizontal}   
   j:=70;   {Anzahl Zeilen}
     k:=70;   {Anzahl Spalten}
   FOR m:=0 To k Do BEGIN
      FOR i:=0 To j Do BEGIN
           r:=60000;
         g:=Random*50000;
         b:=0;
          NewObjekt:=LNewObj;
         SetFillBack(NewObjekt,r,g,b);
         NewObjekt:=NextObj(NewObjekt);
          RRect((sin(x1)*1000),sin(y1)*1000,l+(sin(x1)*1000),h+(sin(y1)*1000),18,18);
         RRect(((sin(x1)*1000))+l/3*(Random+0.3),(sin(y1)*1000)+h/3*(Random+0.3),l+((sin(x1)*1000))-l/3*(Random+0.3),h+((sin(y1)*1000))-h/3*(Random+0.3),30,30);
         x1:=x1+l+n;
       END;
      x1:=1;
      y1:=y1-h-p;
   END;
END;
RUN(Blowup);

-- NDSTobiasWendt - 09 Nov 2005

Revision r1.1 - 09 Nov 2005 - 12:45 - NDSTobiasWendt
Parents: 1ModulScripting?skin=ethmember?
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

This website has been archived and is no longer maintained.