pygame is
Simple DirectMedia Layer is
Site Swing
A* animation program

A* animation program - 1.1

BIAGINI Nathan (toadd)



This is a really simple program aimed to show the search progress executed by the A* algorithm. It's fully written in Python with Pygame. The purpose of the program is to show A* working for peoples who wants to figure out how it works. There is actually no interface and all the options are managed from the command line. You can set the size of the nodes and the speed of the animation (use --help for more about the available commands). The controls are : p + click to place the player (starting node), t + click to place the target node (node to reach) , w to place walls and SPACE to start the search. You can also use s to save your graphs into a plain text file for further modifications or whatever. Hope you will enjoy it!


Add one algorithm improvement : the player (moving node) can no longer make a diagonal move across a wall. Add one new feature : you can now pause the algorithm reconstitution with the RETURN key.


Home Page:


A* animation program - 1.1 - Aug 27, 2011
A* animation program - 1.0 - Aug 26, 2011 account Comments

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

No user comments have been submitted.

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

Sep 11, 2015

Sep 6, 2015

Aug 26, 2015

Aug 25, 2015

Aug 21, 2015

Aug 16, 2015

Jul 30, 2015

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