Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / A Simple Fractal

Author
Message
Easily Confused
21
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 10th Dec 2002 05:51
A very simple triangle fractal.

"Earth is the cradle of humanity,
but one cannot live in a cradle forever"
Konstantin E. Tsiolkovsky (1911)
QuothTheRaven
21
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 13th Dec 2002 05:54
Any way you could make it db 1.x compatible? I've been messing with fractals on my calculator and seeing what a computer could do would be great...
Easily Confused
21
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 13th Dec 2002 07:59
Hope this works for you.



"Earth is the cradle of humanity,
but one cannot live in a cradle forever"
Konstantin E. Tsiolkovsky (1911)
Easily Confused
21
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 13th Dec 2002 08:00
...oops sorry, at the bottom of the loop you may have to change:

Inc count, 1

to

count = count + 1

"Earth is the cradle of humanity,
but one cannot live in a cradle forever"
Konstantin E. Tsiolkovsky (1911)
spooky
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 13th Dec 2002 16:31
Have you seen my 20 line fractal generator:

http://www.darkbasicpro.com/apollo/view.php?t=1886&b=11

I love it when a plan comes together
Easily Confused
21
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 14th Dec 2002 00:21
Indeed I have, very nice, shame DBPro's floats are not more accurate so we can zoom in some more.

"Earth is the cradle of humanity,
but one cannot live in a cradle forever"
Konstantin E. Tsiolkovsky (1911)

Login to post a reply

Server time is: 2024-03-28 14:25:02
Your offset time is: 2024-03-28 14:25:02