O
O
Oleg2017-12-16 07:16:05
JavaScript
Oleg, 2017-12-16 07:16:05

How to align images in canvas with an ellipse?

Good time.
Help plz.
You need to evenly distribute the images
AND apply a mask.
jsfiddle.net/8JynV/13 There
may be fewer or more images
In a straight line, everything is fine
In general, you need to achieve this effect https://jsfiddle.net/uyLn380m/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
ElijahTr, 2017-12-16
@politon

You can try something like this...
https://codepen.io/elijah_tr/pen/NXGwWV
It's not very clear what "align" is, if you still need to rotate the "bottom of the images to the center of the circle" you will have to add more :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question