Fade out part of HTML 5 canvas after drawing

As far as I understand, HTML5 canvas does not allow access to elements after they are drawn, because they immediately become graphic.

I just stumbled upon a great demo of the HTML5 Audio API at http://www.storiesinflight.com/jsfft/visualizer/index.html , and I wonder how the circles shrink and disappear after they are drawn. (To see it, just press the pause button and watch each arc element disappear into nowhere.) How is this done? JS snippets will be great.

Many thanks.

Note. I believe that Firefox 4 is the only browser that currently works.

+3
source share
2 answers

, , .

: " , ". , - , Canvas, , . .

, , -, , , X .

, . , . , , , .

+2

circle , radius, x y.

canvas , .

DOM.

+1

All Articles