P
P
ppxy2014-10-02 19:01:41
Canvas
ppxy, 2014-10-02 19:01:41

How can I make it possible to leave a mark from the dot when cleaning the canvas?

Good afternoon. I'm doing a simple animation of a geometric task on canvas/js. Interested in how to implement so that all moving elements of the drawing move, and key points show the trajectory of their movement.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
barkalov, 2014-10-02
@ppxy

Render what should leave a trace on a separate canvas, each time clearing it not 100%.
Then, send the result to the main canvas, which can be cleaned every frame.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question