home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Spanish Scene 3
/
SpanishScene3.iso
/
programas
/
fredius_darde-odrusba
/
giro-cubo3
< prev
next >
Wrap
Text File
|
1999-05-27
|
412b
|
18 lines
alfa=.05
DIM x(8),y(8),z(8),x1(8),y1(8),z1(8)
FOR n=1 TO 8 : READ x(n),y(n),z(n) : NEXT n
DATA 1,1,1,1,1,-1,1,-1,-1,1,-1,1,-1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1
dibujo:
CLS : FOR n=1 TO 8
PSET (320+x(n)*200/(z(n)+5),100+y(n)*100/(z(n)+5))
NEXT n
FOR n=1 TO 8
x1(n)=x(n)
y1(n)=COS(alfa)*y(n)-SIN(alfa)*z(n)
z1(n)=SIN(alfa)*y(n)+COS(alfa)*z(n)
NEXT n
FOR n=1 TO 8
x(n)=x1(n) : y(n)=y1(n) : z(n)=z1(n)
NEXT n
GOTO dibujo