Here's a little script I wrote a while ago, and then ported to work with Pythonista. It renders the Mandelbrot set.
It uses the canvas module, not the scene module, so the output can be saved as an image, however it is not interactive like your program.
It also uses some techniques described on the Wikipedia page to smooth the image so that you don't get the bands of colour visible in the images your script produced. Feel free to take any code you want from it, and nice work! (Mine only renders colours from black to white ATM, but that can be changed fairly easily)
https://gist.github.com/2bce53115d4ed6e4a0ca