recommend a graphics library for plotting by the pixel?

Derek Simkowiak derek at simkowiak.net
Tue Oct 4 15:18:50 EDT 2011


     If this is strictly for 2D pixel graphics, I recommend using PyGame 
(aka SDL).  Why do you not think it's the way to go?  It was built for 
this type of thing.

     You may also want to use PIL (Python Imaging Library) for various 
image manipulation tasks, but PIL doesn't handle mouse clicks and screen 
blitting the way PyGame does.

--Derek Simkowiak
   http://derek.simkowiak.net

On 10/04/2011 07:53 AM, Alec Taylor wrote:
> Sounds like a job for Processing...
>
> On Tue, Oct 4, 2011 at 8:56 PM, Adam Funk<a24061 at ducksburg.com>  wrote:
>> I'd like to create a window with a "pause" button and a large plotting
>> area, in which I'd like to draw a polygon, detect the pixel
>> coördinates of a mouse click, and then start setting the colors of
>> pixels by (x,y) coördinates.  (This is just for my own amusement, to
>> play with some formulas for generating fractals using random numbers.)
>>
>> There seems to be a large number of different python GUI libraries,
>> and I wonder if someone can recommend the easiests one to learn for
>> this purpose?  (The only python graphics library I've used is PyGame,
>> which I don't think is the way to go here.)
>>
>>
>> --
>> In the 1970s, people began receiving utility bills for
>> -£999,999,996.32 and it became harder to sustain the
>> myth of the infallible electronic brain.  (Stob 2001)
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>>




More information about the Python-list mailing list