From: Stephen H. <sh...@ua...> - 2001-03-02 17:03:06
|
When I run this simple program, expecting a straight (tilted) line, I = get a thing that's straight, all right, but it has narrow spots in = places that make it look like it's twisted. What's going on? from visual import * theta =3D0.4 c=3Dcurve(radius=3D0.04,color=3Dcolor.yellow) for r in arange(0.1,1.0,0.1): c.append(pos=3D(r*cos(theta),r*sin(theta),0)) =20 =20 The reason I'm building a straight line in segments is so I can color it = differently along its length. Have I found some sort of VPython error or am I doing something dumb? ---Steve Highland (still having lots of fun...) |