P
P
Pavel Antonov2016-12-21 23:06:06
css
Pavel Antonov, 2016-12-21 23:06:06

With what help to implement such an animation?

e2478527ca7d45a78f376d70b51e9548.png
Task: to animate all small objects, the big circle in the middle is motionless.
1. All objects revolve around a large circle.
2. They change their position a little +/- 100 pixels for example. That is, they randomly move within 100 pixels relative to themselves.
3. All small objects are connected to a large circle, and when moving, the line must somehow also move with the object.
Perhaps such an effect is somehow correctly called, I can’t figure out how to google it.
Interested in any hint in which direction to dig, what to google, maybe something like this already exists, or maybe look at some engines / frameworks?
On the 2nd point, I googled this JSFiddle, but there the animation is somehow jerky, but the meaning is the way I need it, the square moves randomly within 100 by 100px.
But we need more smoothness, reducing the speed did not help, because you can see how the animation is played 1 for 1, and so on.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Pavel Antonov, 2016-12-29
@freislot

Пока реализовал так codepen.io/freislot/pen/PbMpow
Прорисовку линий от иконок к центру тоже реализовал но закомментировал, дизайнер передумал :)

R
riot26, 2016-12-21
@riot26

может движки/фреймворки посмотреть какие-нибудь?

paperjs.org

L
lx0, 2016-12-22
@lx0

Уверен, такое или подобное уже есть на codepen'e :)

L
lightglams, 2016-12-22
@lightglams

не совсем то
но вдруг поможет
http://vincentgarreau.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question