This is an exciting Saturday night. I managed to create an
array of object in Python (VPython). Woohoo!
I guess what surprised me was that I was able to use the
array tools from Numeric, combined with a graphical object
from the Visual module to do something that worked, and all
I had to do was:
my_array_of_objects = zeros((10), PyObject)
for i in xrange(0,10):
my_array_of_objects = sphere(pos = (....
I know, I'm a sick puppy for thinking this is exciting,
or even interesting on a Saturday night, but well, there
it is
Wayne
array of object in Python (VPython). Woohoo!
I guess what surprised me was that I was able to use the
array tools from Numeric, combined with a graphical object
from the Visual module to do something that worked, and all
I had to do was:
my_array_of_objects = zeros((10), PyObject)
for i in xrange(0,10):
my_array_of_objects = sphere(pos = (....
I know, I'm a sick puppy for thinking this is exciting,
or even interesting on a Saturday night, but well, there
it is
Wayne