Reputation: 15104
I want to draw a Grid World (similar to a table), where cells may contain robots or obstacles. A dot/arrow would do to represent the robot and colouring the cells in black for examples could represent the obstacles.
I am not looking for anything complicated, just a simple python library that would help me do this. Any suggestions?
Upvotes: 3
Views: 4007
Reputation: 385970
tkinter has a canvas widget that is pretty easy to work with. It has primitives for lines and filled polygons and circles and so on. And with the event loop its pretty easy to do simple animations.
Upvotes: 1