Animate by path squiggle from top

I want to animate item from top of squiggle not center.
I try to change the reg of the animate item but its make litttel jump and the animate don't lock good.

Maybe orient:false to avoid the hop.

Or try two squiggles with one shifted up. I did that and it is about the same as setting the reg and the orient:false

const s = new Squiggle({
    thickness:30, 
    interactive:false,
    length:500
}).center();

new Circle(20).reg(CENTER,35).addTo().animate({
    props:{path:s, orient:false},
    time:5,
    rewind:true,
    loop:true
})
``

Thanks! work :slight_smile:

1 Like