marcorexo1's picture
Shared by on 2021.11.23 09:21

Hi,

Here's a bouncing ball without using the Curve node so that the vectors location and velocity can be used and seen in the composition. There is symmetry within my composition which suggests that it could be simplified. Any help or improvements appreciated.

Algorithm:

  1. Start by applying a x and y velocity to the ball
  2. If the ball is outside the bounds of the window then flip its direction. I have added a mechanism to stop the ball getting stuck at the edges - the attached composition has comments to help.

+1
Interesting
+3
Helpful
+0
Unique

Download composition

AttachmentSize
Binary Data bouncing_ball4.vuo14.13 KB

License

Created as a simple test or demonstration

Tested with

Vuo version:
OS version:

Comments

Add comment

Log in or register to post comments