User Tools

Site Tools


jbev_sin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
jbev_sin [2026/05/27 15:48] adminjbev_sin [2026/05/27 16:09] (current) admin
Line 63: Line 63:
 190 IF I < 0.97 GOTO 60 190 IF I < 0.97 GOTO 60
 200 GOTO 40</code> 200 GOTO 40</code>
 +
 +**TRS-80 (Tested on a MDL3)**
 +
 +<code>5 D$="................................................................"
 +90 W=63
 +100 W=W/2:H=W-1
 +110 T=T+.125
 +120 I=I+.001
 +121 A=INT(W+H*SIN(T))
 +130 B=INT(W+H*COS(T*I))
 +140 IF A<B THEN L=A:R=B
 +150 IF A>B THEN L=B:R=A
 +155 IF A=B THEN PRINT TAB(L);"*":GOTO 240
 +156 M=INT((L+R)/2)
 +160 M=M-L
 +180 R=R-(M+L)
 +185 IF M=0 THEN PRINT TAB(L);"*";LEFT$(D$,R):GOTO 240
 +190 PRINT TAB(L);LEFT$(D$,M);"*";LEFT$(D$,R)
 +240 IF I<.9690001 THEN 110
 +270 I=0:T=0:GOTO 110</code>
 +
  
  
  
jbev_sin.1779896914.txt.gz · Last modified: by admin