F
F
flafy42019-12-15 18:14:15
JavaScript
flafy4, 2019-12-15 18:14:15

How to properly clear the canvas in this case?

Good day.
I tried to implement a "likeness of starfall", but after the tail of the circle, the strip is not cleared, and a trace remains. How to implement correctly the semblance of such an effect (what would be the tail behind the circle, and there would be no strip)?
Actually here:
https://jsfiddle.net/dt4gpvyr/2/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RAX7, 2019-12-15
@flafy4

Clear the canvas completely and draw the tail with a gradient

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question