Skip to content

Mandelplot

Mandelplot

I was inspired by fbz's fractal knit wear to translate the Mandelbrot set into vector form for plotting with my Polargraph or the NYC Resistor Plotter.

# mandelbrot demo
set title "Mandelbrot function"
unset parametric
set mapping cartesian
set view 60,30,1,1
set auto
set isosamples 60
set hidden3d
compl(a,b)=a*{1,0}+b*{0,1}
mand(z,a,n) = n<=0 || abs(z)>100 ? 1:mand(z*z+a,a,n-1)+1
splot [-2:1](-2:1)[-1.5:1.5](-1.5:1.5) mand({0,0},compl(x,y),30)

The SVG file was generated with gnuplot, based on surface plotting (splot) example, although I think I should add countours to the bottom for more visual effect (as well as some of the other splot demo ideas).

The plotter version needs a good pen -- this one ran out midway and had to be replaced. It is now hanging on the wall at NYC Resistor.

The polargraph version works fairly well, even with the lack of repeatable position control. It takes about eight hours to plot and is 4m x 1.8m.

2017 Art Plotter


Last update: November 8, 2020