C
C
chegcheg2021-02-22 03:11:11
JavaScript
chegcheg, 2021-02-22 03:11:11

How to add easing to elements in canvas?

There is such a grid of dots .

You need to add easing to the dots to give them a little smoothness when zooming in/out.
How to do it? Where to prescribe?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RAX7, 2021-02-22
@chegcheg


see lines 47 and 83
don't use map where forEach is needed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question