Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Faster Draw
#5
How about this? Seems to test all aspects of drawing..

Sinclair Basic version:
Code:
10 FOR i=1 TO 127
20 DRAW i,160
30 PLOT i,0
40 NEXT i

50 OVER 1

60 FOR i=0 TO 80
70 PLOT 0,i
80 DRAW 250,i
90 NEXT i

100 REM OVER 2

110 FOR i=1 TO 80
120 CIRCLE 127,87,i
130 NEXT i

140 REM OVER 3

150 FOR i=10 TO 18
160 PLOT 127,87
170 DRAW i,i,i
180 NEXT i

I realised I can't test over 2,3 in sinclair basic...but still:

Code:
start:
for i=1 to 127
draw i,160
plot i,0
next i

OVER 1

for i=0 to 80
plot 0,i
draw 250,i
next i

OVER 2

for i = 1 to 80
circle 127,87,i
next i

OVER 3

for i = 10 to 18
plot 127,87
draw i,i,i
next i
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)