christian.convey
January 2nd, 2008, 05:29 PM
Can anyone recommend a tool / library for this?
I've got a Python program whose output is a set of lines, arcs, and points. I'm looking for a library, set of programs, etc. that will let me:
1) Display all of these objects on the screen, and
2) Let me pan and zoom.
Some of the objects are much bigger than a 1:1 pixel mapping allows. (x = 0 ... 10,000, y = 0 ... 4000), but I also need to zoom in and carefully inspect some critical areas in close detail (something closers to 1:1 ration of my units to screen pixels).
I only have about 100 entities to draw, and the tool doesn't need to draw them in realtime. For example, it would be OK for this to produce a PDF as long as I have some means of panning / zooming around a PDF.
BTW, this is all 2D, and I care much more about getting this done quickly than I do about polished output. This is all so that I can visualize how a certain algorithm is working, to help me debug it.
Any ideas?
Thanks,
Christian
I've got a Python program whose output is a set of lines, arcs, and points. I'm looking for a library, set of programs, etc. that will let me:
1) Display all of these objects on the screen, and
2) Let me pan and zoom.
Some of the objects are much bigger than a 1:1 pixel mapping allows. (x = 0 ... 10,000, y = 0 ... 4000), but I also need to zoom in and carefully inspect some critical areas in close detail (something closers to 1:1 ration of my units to screen pixels).
I only have about 100 entities to draw, and the tool doesn't need to draw them in realtime. For example, it would be OK for this to produce a PDF as long as I have some means of panning / zooming around a PDF.
BTW, this is all 2D, and I care much more about getting this done quickly than I do about polished output. This is all so that I can visualize how a certain algorithm is working, to help me debug it.
Any ideas?
Thanks,
Christian