I’m trying to generate some 2d pictures of the Mandelbrot set (& similars) following along with this paper; however the paper is from 2004 and I’m not sure the graphics library they use still exists or is recommended.
is there any easy to use, well maintained library I could use? If possible I’d like to be able to generate high resolution images and export to file (png/jpeg or whatever).
I’d recommend brillo, that also allows you to animate it (e.g. zooming in) in the future. You can combine it with JuicyPixels using the brillo-juicy package.
I would say it’s fundamentally about composition. rasterDia in Diagrams.TwoD.Image is sufficient for rendering the set I think. Though evidently is it not necessary Diagrams - The Mandelbrot set . And it has both vector and raster backend of various kinds.
I’ve done a very first experiment using JuicyPixels because it provides the exact same interface that’s discussed in the paper (writePixel image x y color) so that made it trivial to follow along with the tutorial.
But yeah, currently it’s just saving an image on disk; would definitely be nice to be able to interact with it, zoom etc. so I might take a look at Brillo (or other options) next!