Updates for Windows, and the Visual source code, at
http://cil.andrew.cmu.edu/projects/visual
Ari Heitner modified the frame machinery to let you find the objects in a
particular frame:
f = frame()
ball = sphere(frame=f)
bar = cylinder(frame=f)
for obj in f.objects:
obj.color = color.red # make every object in the frame be red
This is in preparation for a larger enhancement Ari is working on, where
you will be able to say things like "f.color = color.red" or "f.visible =
0" and make all objects in the frame be red or invisible.
David Andersen compiled the changes for Windows.
|