- Status Closed
- Percent Complete
- Task Type Patches
- Category Plugins
-
Assigned To
hohensoh - Operating System
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#2066 - mandelbrot plugin
Hi,
this little plugin draws a mandelbrot set on the LCD.
Might be used as a performance test or just for the fun
of it.
It takes about 35 seconds on my JBR20 with recent firmware.
I set the default number of maximum iterations per
pixel to 10. That seems to be a reasonable value for
the start in terms of speed and accuracy of the
resulting image.
After completion you will see two numbers: The upper
one is the number of ticks needed for the mandebrot
set. The lower number is the number of maximum
iterations for each pixel.
If you really have plenty of time:
Play: zoom in
ON: zoom out
OFF: quit
Curser: shift area to the given direction
F1: Increase number of iterations by 5
F2: decrease number of iterations by 5
F3: reset all values
At least it’s fun with the simulator…
/mattzz
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
We can use floats? (Although strongly discouraged)
Didn't know that.
Here goes the first patch (mandelbrot-20040314.patch) with
the following changes:
the display
I think it looks a bit nicer know (still competely pointless
- I know. Who the hell wants a jukebox to do the work of a
numbercruncher… eeh, I do :)
/mattzz
This is the much faster fixed point math version.
(3.5secs for a mandelbrot set @ 15 Iterations per pixel)
Now it's even fun on the hardware
/mattzz
This is a three times faster version with higher accuracy.
Changes:
deeper zooming)
Thanks to Joerg and Jens for the tough code review
Heading for a grayscale version…
/mattzz