cls
FOR y = 30 TO 0 step -1
bigc = y
bigc = bigc * 0.1
bigc = bigc - 1.5
FOR x = 0 TO 75
c = x
c = c * 0.04
c = c - 2.0
bigz = 0.0
Z = 0.0
r = c
i = bigc
k = 0
FOR k = 1 TO 112
if (z*z + Z*Z > 10) THEN GOTO BREAKOUT
t = (z * z) - (bigz * bigz) + r
bigz = 2*z*bigz + i
z = t
next k
BREAKOUT:
c = k mod 16
color c, c
print " ";
next x
next y
end
Cute, huh? What do you mean "But what does it do, acme?"? It draws a pretty Mandelbrot image using ANSI colours of course!
I'm still in denial about slides...
Purdy colours 0 Comments More | Login | Reply /