Timeline for How to add a fading trail effect in Animate?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 25, 2016 at 0:04 | vote | accept | Cham | ||
Jan 24, 2016 at 11:18 | comment | added | Edmund |
@Cham You can use 0. + $MachineEpsilon instead of 0.001 . This is the closest your computer can get to zero and a less arbitrary way of preventing ParametricPLot from plotting zero to zero.
|
|
Jan 24, 2016 at 11:13 | history | edited | Edmund | CC BY-SA 3.0 |
Added better non-zero start point.
|
Jan 24, 2016 at 1:08 | comment | added | Cham | @Evans, so what should be the proper way of parametrizing the animation ? My only concern here is the arbitrariness of the 0.001 delay value I'm using. | |
Jan 23, 2016 at 23:16 | comment | added | N.J.Evans |
The problem is you're trying to make a parametric plot from {t,Max[0, u - .2],u} . When u=0 , Max[0,u-0.2] evaluates to 0 , then you're plotting from {t,0,0} , which parametric plot doesn't like.
|
|
Jan 23, 2016 at 17:01 | comment | added | Edmund |
Yes. Version 10.3.1 Win 8.1 Pro 64 bit. A ParametricPlot of circle can start at zero with no issues. It seems that Animate does not like it to start at zero.
|
|
Jan 23, 2016 at 16:57 | comment | added | Cham | A bug ? Is it the same with your more recent version of Mathematica ? | |
Jan 23, 2016 at 16:56 | comment | added | Edmund |
@Cham It errors if I use 0 or 0. as the start. Might be a bug.
|
|
Jan 23, 2016 at 16:55 | comment | added | Cham | My code appears to be working great ! :-) However, I still don't understand the delay of 0.001. Is it really necessary to add such an arbitrary delay to the animate defintion ? | |
Jan 23, 2016 at 16:54 | history | edited | Edmund | CC BY-SA 3.0 |
added 67 characters in body
|
Jan 23, 2016 at 16:49 | comment | added | Cham | Why the small delay of 0.001 ? | |
Jan 23, 2016 at 16:48 | comment | added | Cham | Wow, it's working ! Thanks. I'll have to study your answer. | |
Jan 23, 2016 at 16:46 | history | answered | Edmund | CC BY-SA 3.0 |