Working on a unique loading animation with 3 shapes that will scale as they follow a path. Each shape begins from a different starting point but follows a similar path. Shapes and paths were created in Illustrator and exported as SVGs. See below for an example of the largest shape and its path.
https://i.sstatic.net/T14ix.png
My challenge is finding an efficient method to set the starting point without resorting to trial and error with path points. The current starting point, shown in this image, is not ideal.
https://i.sstatic.net/uaVWi.png
.loading-wrap {
width:200px;
height:200px;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.cir-3 {
width:50px;
height:50px;
border-radius: 50%;
background:cornflowerblue;
position: absolute;
top: 30%;
left: 30%;
offset-path: path("M147.33,108.45A49.76,49.76,0,0,0,97.57,58.69c-22.33,0-45.32,20.86-47.52,35-1.46,4.68-2.23,19.13,61,21.5-.79,14.37-43.76,9.63-61.5,6.39a49.77,49.77,0,0,0,97.78-13.09Z");
animation: move 3s ease-in-out infinite reverse;
}
@keyframes move {
100% {
offset-distance: 100%;
}
}
<div class="loading-wrap">
<div class="cir-1"></div>
<div class="cir-2"></div>
<div class="cir-3"></div>
</div>
EDIT: Check out the codepen for a live demo: https://codepen.io/CodeFreeze/pen/JjGNLRN