extract the fractal flame rendering to a separate class