Where do I see docs for fade
?
#8
-
I've been playing more with my Hypotrochoid example (https://en.wikipedia.org/wiki/Hypotrochoid) I have this code which is great in that it visualizes the circles used to create the Hypotrochoid. I wanted to have the circles fade out but leave the path drawn by the Hypotrochoid. I assumed if I added Is there a place to review the docs for fade? Is this something I could perhaps do inside the JS console? Do I need to read the source (which is fine, just looking for what's the most efficient and best self serve method). And, is there a better way to do what I want to do, leave the path drawn and slowly fade out the circles as the path progresses?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
"docs" Indeed fade fades out the entire image, and the number just determines the rate that that happens. Fading out specific lines would be 1. really cool and 2. much more expensive, because it would require keeping a list of "lines to draw" and re-drawing them on every frame -- in the correct z-order! There aren't really any docs for any of this, reading the source is kinda the only option. |
Beta Was this translation helpful? Give feedback.
"docs"
Indeed fade fades out the entire image, and the number just determines the rate that that happens. Fading out specific lines would be 1. really cool and 2. much more expensive, because it would require keeping a list of "lines to draw" and re-drawing them on every frame -- in the correct z-order!
There aren't really any docs for any of this, reading the source is kinda the only option.