[Tutor] plotting pixels

Robin Hood RobinHood42 at clickta.com
Tue Sep 2 16:49:39 EDT 2003


Hi everybody.
I am very much a newbie to the world of computer programming.
I want to do some basic graphics programming under Python,
but am having trouble working out what bits and pieces have to be installed
where.

So far, I have downloaded python itself (2.2.3) (from www.python.org)
OpenGLContext-2.0.0b1.win32-py2.2   (from sourceforge.net) and
glut-3.7.6-bin

What do I do next?

Also I'm a little bit confused about the difference between OpenGL and
Tkinter.
Does Tkinter run "on top" of OpenGL?
Please point me to some online documentation if this is an excessively
stupid question.

Tkinter seems to provide a whole lot of stuff which I don't really need just
now
(all those widgets)
All I really want to be able to do (for now) is to open a window of given
pixel dimensions
and plot a point at a specified pixel.
All additional functionality (such as line and circle drawing algorithms and
turtle graphics)
I was planning on writting myself (with the help of my computer graphics
text book)
As a computer programming exercise.

You can tell me that this is a complete waste of time because its all been
done before.
But I don't care.
I happen to think its interesting.

I have discovered that Tkinter provides turtle graphics.
But doesn't seem to let you plot individual pixels.

Can somebody please help me get pointed in the right direction?

Oh... I should probably mention that I mostly work under Windows 98
But I do also have Linux installed and python installed on Linux
(Only problem is that my modem doesn't work under linux, so I'm only
connected to the internet via windows)

*****A Network is the Opposite of a Hierachy*****




More information about the Tutor mailing list