Topic: shading in animation

Hi, Ivan,

I just created a post, but it doesn't look like it worked.  Just trying again.

If you look at the attached file, I have done shading in between functions.  But when I animate it, the shading does not stay between the function curves.  Can this be fixed?

Thanks,

Russell

Post's attachments

Attachment icon animation - spiral staircase.grf 3.87 kb, 195 downloads since 2015-12-22 

Attachment icon animation - spiral staircase.grf 3.87 kb, 174 downloads since 2015-12-22 

Re: shading in animation

Sorry to bother you, Ivan.  I fixed the problem -- well, actually, I got around it.

I was making the shading go from x = -4.22 to 7.  But then I changed the left endpoint from -4.22 to the statement:

if(c>=0,-4.22,7)

Somehow, by making the left boundary (of the shading) dependent on the parameter that changes during the animation, the shading stays where it should be!

I hope I didn't waste any of your time.

Russell