Skip to main content
Participating Frequently
August 17, 2022
Question

Animate multiple balls along a path in HTML 5 canvas

  • August 17, 2022
  • 1 reply
  • 82 views

Hello all

Thank you for your time

I used to be able to motion place on a motion path many items at a time in AS3, like electrons 

following a wire path, I have tried the create js motion path but it seems to nly allow one ball on one path

and ther is no way to space the balls out.Using the manual motion guide does not work as this a complex circuit with many paths.Can anyone please assist me?

Best Regards 

Peter

    This topic has been closed for replies.

    1 reply

    JoãoCésar17023019
    Community Expert
    Community Expert
    August 18, 2022

    Hi.

     

    Can you show an example?

     

    I can tell by experience that using too many motion tweens in the HTML5 Canvas document can lead to a big impact on the performance of the published content. So that's why I think you'd better do a test with a more complex scene or even consider using the classic tween before continuing.

     

    Please let's us know.

     

    Regards,

    JC