cgo_label_hack.py (pymol-v1.8.6.0.tar.bz2) | : | cgo_label_hack.py (pymol-v2.1.0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
VERTEX, 0.0, 0.0, 0.0, | VERTEX, 0.0, 0.0, 0.0, | |||
VERTEX, 0.0, 3.0, 0.0, | VERTEX, 0.0, 3.0, 0.0, | |||
COLOR, 0.2, 0.2, 1.0, | COLOR, 0.2, 0.2, 1.0, | |||
VERTEX, 0.0, 0.0, 0.0, | VERTEX, 0.0, 0.0, 0.0, | |||
VERTEX, 00, 0.0, 3.0, | VERTEX, 00, 0.0, 3.0, | |||
END | END | |||
] | ] | |||
c=0 | c=0 | |||
for a in xrange(0,63): | for a in range(0,63): | |||
balls = [ | balls = [ | |||
COLOR, 0.2, 1.0, 0.2, | COLOR, 0.2, 1.0, 0.2, | |||
SPHERE, 1.0+math.cos(a/10.0), 1.0+math.sin(a/20.0), 1.0+math.cos(a/10.0), 0.2+math.cos(a/5.0)/10.0, | SPHERE, 1.0+math.cos(a/10.0), 1.0+math.sin(a/20.0), 1.0+math.cos(a/10.0), 0.2+math.cos(a/5.0)/10.0, | |||
COLOR, 1.0, 0.2, 0.2, | COLOR, 1.0, 0.2, 0.2, | |||
SPHERE, 2.0-math.cos(a/10.0), 1.0+math.sin(0.5+a/10.0), 1.0+math.cos(a/10. 0), 0.2+math.cos(a/5.0)/10.0, | SPHERE, 2.0-math.cos(a/10.0), 1.0+math.sin(0.5+a/10.0), 1.0+math.cos(a/10. 0), 0.2+math.cos(a/5.0)/10.0, | |||
] | ] | |||
obj = axes + balls | obj = axes + balls | |||
cmd.load_cgo(obj,'cgo01',c) | cmd.load_cgo(obj,'cgo01',c) | |||
c = c + 1 | c = c + 1 | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |