Example: How to make a array of sprites bounce between sides using gsap
In this example the code initializes a PixiJS application with a specified width and height, along with a background color. It then creates multiple sprites arranged vertically on the screen, each with a specified position and size. Finally, using GSAP, it animates these sprites to move horizontally back and forth within the application window infinitely, with a stagger effect applied to create a dynamic visual display