Source code here:
www.github.com/chrisdobby/fractaldraw