M
M
Multigame2017-08-16 19:48:04
Canvas
Multigame, 2017-08-16 19:48:04

Is it possible to do this on canvas?

Good afternoon.
It is necessary to make an element on the site that will be animated and translucent. Is it possible to make the canvas background transparent? and make smooth animation between two "frames"?
Tried to do this through css animation. And they smoothly hid (made transparent) the first frame at the moment the second frame appeared. However, there was a problem. Translucent (according to the picture itself) pixels partially hidden by transparency (opacity) were superimposed on each other, as a result, at the moment of transition between frames, an extra "pulsation" appeared.
Is it possible to get rid of this problem with canvas?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question