Hacker News new | ask | show | jobs
by johnswamps 5547 days ago
That would be difficult to implement in javascript, I think. Once you zoom in far enough using a float/double doesn't give you enough precision to calculate each pixel accurately. The typical solution is to switch to some sort of bignum library. That's going to be really slow in javascript.

In general though, infinite zoom mandelbrot programs do exist (don't know of any off the top of my head though), they're just trickier to implement.

1 comments

Look at the old fractint programming. Like the name implies they used ints [0] for their computation, and this could give you basically infinite zooming, and fast calculation even on a 386. (There's also a linux version called xfractint or so.)

[0] ints and lots of cleverness.