More pythonic circle?

Pythor pythor at gmail.com
Sun Apr 9 13:41:23 EDT 2006


Fredrik Lundh wrote:
> "Pythor" wrote:
>
> > > You aren't getting any benefit from numpy or python here.  Are you
> > > aiming for speed or legibility?
> > >
> > Speed will be a necessity, eventually.  I was just really aiming for
> > something that works, and that I am capable of writing.
>
> any special reason you cannot use an existing graphics library ?
>
> </F>
Well, I'm not really interested in pretty pictures, but in the
resulting array.  It might be worth using a graphics library and then
converting from an image to an array when I'm done.  I've been playing
with PIL for that.  But I wanted to see what I could do on my own, too.
 In addition, I'll eventually need some functions that are definitely
not in a standard graphics library, and I wanted to get started with
something I thought was relatively simple.




More information about the Python-list mailing list