home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 9
/
CD_ASCQ_09_1193.iso
/
news
/
2132
/
eea31
/
spirale.eea
< prev
next >
Wrap
Text File
|
1993-03-18
|
344b
|
23 lines
i = 1
t = 0
pi = 2*ASIN(1)
maxi = 100
delta = 2*pi/16
h = 3
WHILE (i<=maxi)
x = 10*SIN(t)
y = 10*COS(t)
z = h*t
t = t + delta
IF ( i > 1)
REPLACE(SPIRALE.IN,SPIRALE.INC/a)
ELSE
REPLACE(SPIRALE.IN,SPIRALE.INC)
ENDIF
i = i + 1
ENDWHILE
EXEC(POVRAY,+iSPIRALE.POV +oSPIRALE.TGA +w640 +h480 +v +x)