- DelphiTools - https://www.delphitools.info -

DWScript Mandelbrot Explorer (with a twist)

mandel2The twist is that the computations are handled server-side, using DWScript JIT compiler, so exploration can be fairly fast and comfortable even on low-powered hardware, be it an iPad, a Smartphone or an old laptop.

It can be reached at the following address: http://mandel.delphitools.info:8080 [1]

The Mandelbrot is a quite varied fractal, you may be surprised by what you can find in different areas, it never really repeats itself. It’s only quasi-self-similar.

lightining [2]   mandel3 [3]

Thanks go to Simon Stuart [4] from the Delphi Developers Group [5] on Google Plus for hosting the main server (those subscribed to the G+ group got a small preview/experiment last week, this is an improved version).

Navigation is handled by OpenLayers [6], I’m using the Zoomify url format, but that’s just a call convention from when the code was initially made a few years ago. The server-side script generates jpeg tiles on demand when it doesn’t have them in cache, though there are billions of tiles, so odds are once you zoom in, you’re not hitting the cache.

Jpeg compression is handled through libjpeg-turbo [7], using the Delphi headers from OpenGL24.de [8]. FWIW the Jpeg compression with libjpeg-turbo is 7 to 8 times faster than TJpegImage.