Post Reply 
SZ_Mandelbrot explorer
10-23-2018, 04:47 PM (This post was last modified: 10-25-2018 07:00 AM by sasa.)
Post: #1
SZ_Mandelbrot explorer
Based on an old fractal explorer I made more than three decades ago. In this implementation is just a Mandelbrot part. Straightforward implementation, without extra space and extra passes. Color scheme is arbitrary, here made only by simple shifting. There is no need to wait to be drawn full screen.


Moving by cursors
Press point on the screen to zoom in
+ : Zoom in
- : Zoom out
1 : Iteration limit decrease by 25
2 : Iteration limit increase by 25
Num : Allow value editing
Esc : Exit from the program
Help: This help

Calling convention:

SZ_Mandelbrot(X, Y, Zoom, Iter)

Where X is real part and Y is imaginary part of complex c constant. Zoom factor can be up to 31 according to HP Prime precision. Iteration value can be according to zoom factor.


SZ_Mandelbrot(0, 0, 1, 150)
SZ_Mandelbrot(−1.76647949222, 4.17785644529ᴇ−2, 14, 150)
SZ_Mandelbrot(−0.562231445313, 0.642797851563,11,150)
SZ_Mandelbrot(−9.0770740062ᴇ−3, 0.706640247723,31,225)

Attached File(s) Thumbnail(s)

.zip  SZ_Mandelbrot (Size: 7.01 KB / Downloads: 33)
Find all posts by this user
Quote this message in a reply
10-24-2018, 09:24 AM
Post: #2
RE: SZ_Mandelbrot explorer
BTW, if anyone have a bit of time to test on a real calculator, I would appreciate some feedbacks about elapsed time for some samples on an older and newer version of Prime.

It seems that latest beta emulator is actually a simulator and time on real device may be 8-10x slower or even more.

Thanks in advance.
Find all posts by this user
Quote this message in a reply
11-01-2018, 08:48 PM (This post was last modified: 11-02-2018 09:17 PM by Geoff.)
Post: #3
RE: SZ_Mandelbrot explorer
I have a Rev C Prime.

I chose the SZ_Mandelbrot_DEMO option and it self-reported as taking about 481,500 ms. This is 50 times slower than my virtual Prime, which reported about 9,700 ms.
Find all posts by this user
Quote this message in a reply
11-02-2018, 04:48 PM (This post was last modified: 11-03-2018 12:52 PM by compsystems.)
Post: #4
RE: SZ_Mandelbrot explorer
Hello Sasa, Thank you very much for the program.

What other codes have developed? so please share them.

Find all posts by this user
Quote this message in a reply
Post Reply 

User(s) browsing this thread: 1 Guest(s)