home *** CD-ROM | disk | FTP | other *** search
- 100 rem lissajous-figuren
- 110 if flag=0 then flag=1:load "graphtool.obj",8,1
- 120 input "[147]phasenverschiebung in grad : ";pv:pv=pv*(NULL)/360
- 130 input "frequenzverhaeltnis (1:?) : ";fv
- 140 sys49152:sys49158,1,0:rem graphik initialisieren
- 150 t=0:x0=160+sin(t)*100:y0=100-sin(fv*t+pv)*100
- 160 t=t+.05:x1=160+sin(t)*100:y1=100-sin(fv*t+pv)*100
- 170 rem neuen punkt mit zuletzt gezeichnetem verbinden
- 180 sys49173,x0,y0,x1,y1:x0=x1:y0=y1
- 190 geta$:ifa$="" goto 160
- 200 sys49155:goto 120
-