An extensible base for generating fractals