This code draws a Mandelbrot pattern on the 132x132 Nokia 6100 type screen with Epson controller (will not work for the Phillips) from an Arduino. I started with the code example from this post and made some optimizations- especially to the serial communication code. Then I ported the Mandelbrot algorithm from here.