Julia set: Difference between revisions
Content added Content deleted
Antoni Gual (talk | contribs) |
(→{{header|Liberty BASIC}}: Unnecessary variable removed.) |
||
Line 582: | Line 582: | ||
iteration = iteration + 1 |
iteration = iteration + 1 |
||
wend |
wend |
||
if iteration <> maxIteration then c = iteration else c = 0 |
if iteration <> maxIteration then c = int(iteration * 255 / maxIteration + .5) else c = 0 |
||
⚫ | |||
cl = int(c * 255 / maxIteration + .5) |
|||
⚫ | |||
print #julset.gbox, "set "; xp; " "; yp |
print #julset.gbox, "set "; xp; " "; yp |
||
next yp |
next yp |