A
A
AndruhaLive2018-07-19 20:14:28
JavaScript
AndruhaLive, 2018-07-19 20:14:28

How to make circle from dots on canvas?

How to make circle from given points on canvas?
https://codepen.io/AndruhaLive/pen/yqVabr

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2018-07-19
@AndruhaLive

It is necessary to replace translate with rotate inside the loop. And do not forget to translate before the loop - this is so that the circle is visible in its entirety. Like so .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question