1 | initial version |

This will work if you use the Tachyon viewer (I don't know why it doesn't work with the jMol viewer).

For example, the following results in 3 spheres which are different shades of red:

```
for a in [0,.3,.5]:
grr=sphere(color=Color(a,0,0))
grr.show(viewer='tachyon')
```

2 | No.2 Revision |

This will work if you use the Tachyon viewer (I don't know why it doesn't work with the jMol viewer).

For example, the following results in 3 spheres which are different shades of red:

```
for a in [0,.3,.5]:
grr=sphere(color=Color(a,0,0))
grr.show(viewer='tachyon')
```

Note that if you run the loop from the `sage:`

command prompt rather than the notebook, you can get separate jMol 3D plots -- separate viewer applet is opened for each plot. So this is a notebook bug I guess.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.