Procedural and OOPS approach to play with 4 ball in processing. The challenge is:
- 4 balls move from left to right in the frame
> Ball 1 is at 1/5 height from the top with speed of 1 units per frame.
> Ball 2 is at 2/5 height from the top with speed of 2 units per frame.
> Ball 3 is at 3/5 height from the top with speed of 3 units per frame.
> Ball 4 is at 4/5 height from the top with speed of 3 units per frame.