Example: How to make a sprite bounce off the sides with PixiJS and gsap

In this example the code initializes a PixiJS application with a specified width and height, and a background color. It then creates a sprite from a PNG image and centers it on the screen. Using GSAP, it animates the sprite to move horizontally back and forth within the application window infinitely, creating a dynamic visual effect.