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 - 2004/05 - 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





artenvielfalt

_________________________________________________________________________________________________________________________________________________________

Das Script 02

PROCEDURE branch1;
VAR
     N:INTEGER;
     Length,meinWinkel_02,x0,y0,x,y,meinWinkel_01,B1,B2,B3:REAL;

PROCEDURE subbranch1(N:INTEGER;x0,y0,Length,meinWinkel_01,B1,B2,B3,meinWinkel_02:REAL);
BEGIN
   {Winkelbehandlung an für meinWinkel_01}
     Anglevar;
     IF N<>0 THEN
     BEGIN
          MoveTo(x0,y0);
          LineTo(Length,#meinWinkel_01);
          PenLoc(x,y);
          x0:=x;
          y0:=y;
          subbranch1(N-1,x0,y0,Length*B1,meinWinkel_01-meinWinkel_02,B1,B2,B3,meinWinkel_02);
          subbranch1(N-1,x0,y0,Length*B2,meinWinkel_01+meinWinkel_02,B1,B2,B3,meinWinkel_02);
        subbranch1(N-1,x0,y0,Length*B3,meinWinkel_01,B1,B2,B3,meinWinkel_02);
     END;
   {winkelbehandlung aus für meinWinkel_01}
     noAnglevar;
END;

BEGIN
    N:=5;
    Length:=15;
    B1:=0.666;
    B2:=0.666;
    B3:=0.666;
    meinWinkel_02:=30;
    meinWinkel_01:=90;
    subbranch1(N,0,0,Length,meinWinkel_01,B1,B2,B3,meinWinkel_02);
END;
RUN(branch1);

__________________________________________________________________________________________________________________________________________________________

Revision r1.5 - 01 Dec 2004 - 09:30 - NDSBergitHillner
Parents: WebHome > HillnerMain > ScriptinG > ModuL0105 > ModuL0106 > ModuL0107 > AestE01 > AestE02 > AestE03 > AestE04 > AestE05 > AestE06 > AestE07 > AestE08 > AestE09
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.