ewx: (geek)
[personal profile] ewx

I’ve continued hacking on my Mandelbrot set program.

Firstly, it’s gained the ability to draw Julia sets (which are associated with the Mandelbrot set).

Secondly, the use of double limits you to around 50 binary digits after the point (all the interesting stuff has a magnitude of at least 0.25 or so, so the “floating” nature of floating point doesn’t really do you much good). Given how fast it is, it doesn’t take much frantic zooming before things start to go blocky:

So I’ve been working away on using fixed point arithmetic to achieve the same goal. To do this at any reasonable speed required assembly language, and now it’s working. It’s somewhat slower than the floating point version, but gives 96 bits after the point, i.e. it allows you to zoom in almost twice as far.

You can browser the source, or git clone it, via gitweb.

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

January 2026

S M T W T F S
    123
45678910
111213141516 17
18192021222324
25262728293031

Most Popular Tags

Expand Cut Tags

No cut tags