Perhaps someone knows a better way to do this - I'm trying to make a color
gradient on a surface based on distance from some selection using code like
this:

for a in range (1:100):\
 cmd.set_color("mycolor",[1,1,a/100])\
 cmd.color mycolor, my_surface within ((-1/100*a)+1) of my_selection

Now I know the usage for cmd.color is wrong above, but I think that should
give you an idea of what I am after. Any ideas?

Thanks,
ken

Reply via email to