Jump to content
Sign in to follow this  
Lord-Chaos

Anyone ever written a Fractal-program for 2600 ?

Recommended Posts

Anyone ever made such a program - just as a demo ?

 

The math behind the standard fractal is very simple (the formula is f(x)=x*x+c) and you´d need only +/- and *.

 

I think it should be possible to use the "colorview" technique to create some sort of "bitmap".

 

The only real problem is that this is not possible with 128 Bytes memory , because the computer/the VCS has to generate the fractal and the data must be saved somewhere.

 

With 128 bytes it would be only possible to create a very small fractal ...

 

But it would be a nice demo ...

 

Thimo

Share this post


Link to post
Share on other sites
Anyone ever made such a program - just as a demo ?

Memory is the biggest problem here. I'm sure something is possible, but the results won't be very inspireing. I made something like that for the C64 back in the 80ties using some self-written floating-point multiplications based on square-tables. So the 6502 is not the problem.

 

With 128 bytes it would be only possible to create a very small fractal ...

Very small. If you are using B/W graphics and only 1 bit/pixel you can store max. 1024 pixel. That results in 32x32 pixel. IMO that's not worth it.

 

But maybe by using the SuperCharger you get better results.

Share this post


Link to post
Share on other sites

Before I knew what fractals were I was investigating just how random the random number generator on the BBC computer was, so I wrote a very small program which drew a short line in one of four randomly chosen directions, North, South, East or West. The next line was drawn from the end point of the first, etc

 

What I found made me think that the numbers wern't really random because I always got a fairly impressive picture on the screen.

 

Looking into it further I found that, actually, then numbers wern't random, but they were near enough (a shallow Normal curve), but that what I was drawing was a sort of fractal. Sort of.

 

Memory would be the only problem on the atari, I don't know how much memeory it takes to store the position of single colur pixel, but I would guess it to be less than to store the product of the fractal equations. Maybe.

Share this post


Link to post
Share on other sites
What I found made me think that the numbers wern't really random because I always got a fairly impressive picture on the screen.

Someone along these lines that's pretty cool-- Write a program that defines three points on the screen, arranged in a triangle. Now set up an infinite loop that randomly picks one of those points and moves a fourth point halfway towards it. Plot a pixel where it lands. Repeat. Believe it or not the pattern that emerges is not at all random. It's pretty cool to run and watch the pattern form over time.

Share this post


Link to post
Share on other sites

isn't that the one I have for my TI-83 programmed that after about 10 mintues of running...finally looks like the Tri-Force pieces from Zelda?! hehehe..

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...