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





__________________________________________________________________________________________________________________________ ShotScript_01_02_02.jpg
PROCEDURE Script_02;


VAR
   rectWidth, rectHeight : INTEGER;
   i,k : INTEGER;
   startX, startY : INTEGER;
   gap : REAL;
   r,g,b : LONGINT;
   
      BEGIN
         
         FOR i := 0 TO 20 DO BEGIN
            FOR k := 0 TO 20 DO BEGIN
         
            PenFore(Random * 65535,Random*20000,10000);
            FillBack(Random * 65535*i,20000,10000);

            rectWidth := 2*i;
            rectHeight := 8*k;
            gap := 1;

            startX := i*rectWidth + i*gap;
            startY := k*rectHeight + k*gap;

            Rect(startX, startY, startX + rectWidth, startY + rectHeight);

            Rotate(i+k);
            
         END;
      END;
END;
RUN (Script_02);
__________________________________________________________________________________________________________________________ ShotScript_01_02_03.jpg
PROCEDURE Script_03;


VAR
   rectWidth, rectHeight : INTEGER;
   i,k : INTEGER;
   startX, startY : INTEGER;
   gap : REAL;
   r,g,b : LONGINT;
   
      BEGIN
         
         FOR i := 0 TO 30 DO BEGIN
            FOR k := 0 TO 30 DO BEGIN
            
      
            PenSize (1*i);
            PenFore(Random * 65535,Random * 20000,10000);
            FillBack(Random * 65535* i,20000,10000);
         
            rectWidth := 2*i;
            rectHeight := 8*k;
            gap := 1;

            startX := i*rectWidth + i*gap;
            startY := k*rectHeight + k*gap;

            Rect(startX, startY, startX + rectWidth, startY + rectHeight);
   
            RotatePoint(5*i,5*i,3);
            
            
         END;
      END;
END;
RUN (Script_03);
__________________________________________________________________________________________________________________________ ShotScript_01_02_04.jpg
PROCEDURE Script_04;


VAR
   i,k,m : INTEGER;
   r,g,b : LONGINT;
   
      BEGIN
         
         FOR i := 0 TO 10 DO BEGIN
            FOR k := 0 TO 10 DO BEGIN
               FOR m := 0 TO 5 DO BEGIN
               PenSize(14*k);
               PenFore(65535,k*10000,20000);
         
               MoveTo(0*k,500*m);
               LineTo(200*i,20*k);

               MoveObjs(10*m,0,False,False);
               Rotate(3*m);
            END;
         END;
            
      END;   
   
END;
RUN (Script_04);
__________________________________________________________________________________________________________________________

ShotScript_01_02_08.jpg

PROCEDURE Script_08;


VAR
   rectWidth,rectHeight : REAL;
   i,k,m : INTEGER;
   gap : REAL;

BEGIN
   PenFore(0,10000,10000);
   
   
   rectWidth:= 5;
   rectHeight:= 10;
   gap:= 2;
   
   FOR m:= 1 TO 11 DO BEGIN
      FOR k:= 1 TO 12 DO BEGIN
         FOR i:= 1 TO 10 DO BEGIN
            FillBack(65535,8000*i,20000);
         
            Rect(i*(rectWidth+gap), 0, i*(rectWidth+gap)+rectWidth, rectHeight/(2*i));
            Rotate(3); {arm}
            
         END;
         
         RotatePoint(0,0,30*k);{roate arm}
         RotatePoint(10*m,10*m,30*m);{rotate star}
         DSelectAll;
      END;
   END;
END;
RUN (Script_08);

__________________________________________________________________________________________________________________________

ShotScript_01_02_07.jpg

PROCEDURE Script_07;


VAR
   i,k,m : INTEGER;
   r,g,b : LONGINT;
   x,y : INTEGER;

BEGIN
   PenSize(14);
      FOR k:= 1 TO 360 DO BEGIN
         PenFore(20000,150*k,10000);
         i:= 5;   
         x := k*10;
         y := 100*sin(deg2rad(k*i));
         MoveTo(2*x,5*y);
         LineTo(k*i,y*i*10);
         Rotate(20);
         DSelectAll;      
      END;
            
END;
RUN (Script_07);
__________________________________________________________________________________________________________________________







-- NDSMatthiasZaeh - 09 Nov 2005

Revision r1.2 - 09 Nov 2005 - 12:55 - NDSMatthiasZaeh
Parents: WebHome > NDSMatthiasZaeh
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.