re: Steps for making a Fractal with Python

Kirby writes -
Steps to get a fractal (Mandelbrot) with Python: <snip>
You might also look at some demo code that ships with PyOpenGL:
From the source header (demos\dek\MandelImage.py)
#!/usr/bin/env python ## This isn't really a PyOpenGL demo, but it's a nice ## example of how Numeric, Tkinter, and PIL can be used ## together to create all sorts of images. ## In this case, it's the Mandelbrot set. ## i used the Numerical python text example, but modified it to ## work with PIL PyOpenGL, BTW, is getting better and better. Version2.0 which is out in beta, will be a pretty complete SWIG of the entire API and the major extensioins. And great care seems to be being paid to distribution\install issues. On Windows, at least, the no brainer install works great. Recommended fun for all ages. ART

You might also look at some demo code that ships with PyOpenGL:
Grabbed the latest OpenGL. Thanks for the update. Did this fractal demo actually work for you? On my machine, I get a blank Tk box but no image -- no error messages either. That's when either clicking on the program in Explorer or when doing Ctrl-F5 with the source open in a window. Any clues? Kirby
participants (2)
-
Arthur_Siegel@rsmi.com
-
Kirby Urner