pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
PyPlotter

PyPlotter - 0.1

Riovandaino (riovandaino)

Tags:

Description

Hello! This is a funny plotter of coloured functions written with python and pygame. It uses the python eval function to calculate the values of the points of the functions that the user inserts and then it draws them on the screen. Have fun!

Links

Home Page: http://www.pygame.org/
Source: http://cid-bb9549bdfdec74f4.skydrive.live.com/self.aspx/PyPlotter/pyplotter.py

Screenshot


click to view original size

Releases

PyPlotter - 0.3 - Oct 5, 2008
PyPlotter - 0.2 - Oct 3, 2008
PyPlotter - 0.1 - Oct 2, 2008

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

October 3, 2008 12:43pm - pymike - nickname: (pymike)
meh... messed up my whitespace :(
October 3, 2008 12:43pm - pymike - nickname: (pymike)
string = ""
for e in pygame.event.get():
if e.type == KEYDOWN:
if e.key not in (K_ESCAPE, K_RETURN): #etc. excludes key names you don't want in there
string += e.unicode

Hope this helps :)
October 3, 2008 10:13am - Riovandaino - nickname: (riovandaino)
Thanks for the comment.

I've decided to follow your suggestion and in this last release I've added a indicator of the x and y position.

Can you show me an example of how to use the pygame.key.name function?
October 2, 2008 6:38pm - Andy Hanson - nickname: (rhodiumgames)
This could really use the function pygame.key.name, not just for adding in things like math.log but for shortening the input code you used. Add in some special cases (for example, enabling shift) and you really increase the functionality. This could turn into a very useful program. One thing that needs to be added soon is marks along the x/y axes so you can figure out where the point (6,8) is (just an example). That or just moving the mouse along the screen and it says where you're pointing.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Sep 9, 2014

Sep 8, 2014

Sep 7, 2014


Sep 5, 2014

Aug 26, 2014

Aug 22, 2014

Aug 21, 2014


Aug 18, 2014

Aug 2, 2014


... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)