! SET DRAW MODE HIDDEN , SET DRAW MODE EXPLICITはJIS規格外の独自命令
! SET DRAW MODE HIDDENを実行すると，以後の描画は画面に反映されない
! SET DRAW MODE EXPLICITを実行すると，描画結果を画面に反映させ，また，以後，描画と同時に画面に反映させる

PICTURE House   
   SET AREA COLOR 15                           
   PLOT AREA:  0,1; 0,0; 2,0; 2,1                          ! 壁     
   SET AREA COLOR 2                   
   PLOT AREA: -0.6,1; 2.6,1; 2,2; 0,2                    ! 屋根             
   SET AREA COLOR 10
   PLOT AREA: 0.1,0; 0.1,0.8; 0.5,0.8; 0.5,0              ! ドア              
   SET AREA COLOR 5
   PLOT AREA: 1.4,0.4; 1.9,0.4; 1.9,0.8; 1.4,0.8         ! 窓 
   SET AREA COLOR 12
   PLOT AREA: 1.7,2; 1.7,2.3; 1.5,2.3; 1.5,2              ! 煙突
END PICTURE                                                
SET WINDOW -4,6,-4,6                                       

FOR t=0 TO 1 STEP 0.002
   SET DRAW mode hidden                                                
   clear
   DRAW axes                                                  
   DRAW House WITH SHEAR(PI/4 *t )*ROTATE(PI/3 *t )*SHIFT(4*t,t)                    
   SET DRAW mode explicit
NEXT t
END                                                        


