Mandelbrot Seeker Robot for Propeller Demoboard uses PBasic and Parallel Computing
Christof Eb.
Posts: 1,200
If you have a demo-board and a ntsc-monitor, you could try this.
Edit: Title should read PropBasic, of course. You can try the spin code too, which is included.
This can be seen as
* a screen saver (a most needed tool for stand alone systems....)
* an autonomous robot exploring the math world of the Mandelbrot set
* a machine intended to automaticly produce and display as many non boring pictures as possible, never send the same picture twice.
The difficult thing is to create a method to automaticly display only "interesting" looking regions. It should behave like an airplane pilot sending home only pictures of the coast of an island. No pictures wanted of the lone sea, nor of the desert island itself.
This was here achieved with a polar coordinate system for the center of the picture. The plane will always fly clockwise around the center. The plane is steered via adjustment of the radius. The depth of the center of the picture is held in a certain range. After each round the picture is zoomed in more closely.
Alternative steering methods are welcome! And other ideas of course.
Have fun, Christof
Edit: Title should read PropBasic, of course. You can try the spin code too, which is included.
This can be seen as
* a screen saver (a most needed tool for stand alone systems....)
* an autonomous robot exploring the math world of the Mandelbrot set
* a machine intended to automaticly produce and display as many non boring pictures as possible, never send the same picture twice.
The difficult thing is to create a method to automaticly display only "interesting" looking regions. It should behave like an airplane pilot sending home only pictures of the coast of an island. No pictures wanted of the lone sea, nor of the desert island itself.
This was here achieved with a polar coordinate system for the center of the picture. The plane will always fly clockwise around the center. The plane is steered via adjustment of the radius. The depth of the center of the picture is held in a certain range. After each round the picture is zoomed in more closely.
Alternative steering methods are welcome! And other ideas of course.
Have fun, Christof
Comments
Now the output is like a film. The calculation is done only at the rims of the area. With movement of the center, the picture is shifted. So at the beginning the picture will be filled starting from the rims.
If anybody has got ideas to speed up the calculation, this would be welcome. Ideal would be a movement without flicker.
Christof
Now 4 cogs are working at the same rim. This brings speed about factor 4. The picture is now square with the size of constant PIX. Movement is rather smooth now.
It is interesting, that even a small picture size 16*16 is giving "pictures". I am wondering, if this can be used to generate music. This Mandelbrot set has got "nice" themes and composition between them which can be displayed an recognised visually. Can they be somehow played as "nice" music?
Have fun, Christof
Robert