Shop OBEX P1 Docs P2 Docs Learn Events
Mandelbrot Seeker Robot for Propeller Demoboard uses PBasic and Parallel Computing — Parallax Forums

Mandelbrot Seeker Robot for Propeller Demoboard uses PBasic and Parallel Computing

Christof Eb.Christof Eb. Posts: 1,159
edited 2011-11-12 04:45 in Robotics
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

Comments

  • Christof Eb.Christof Eb. Posts: 1,159
    edited 2010-11-01 10:39
    An update:
    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
  • Christof Eb.Christof Eb. Posts: 1,159
    edited 2011-11-11 12:08
    An update once again:
    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
  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2011-11-12 04:45
    Sounds like a cool project. I haven't had a chance to try this on a Propeller board. Do you have any pictures w/screen shots so people can see what it looks like?

    Robert
Sign In or Register to comment.