Example: How to create Dynamic Sprite Grid Animations with GSAP and PixiJS

In this example the code sets up a PixiJS application with a specified width and height, and a background color. It then creates a grid of sprites arranged in rows and columns, each sprite being a copy of an image file. These sprites are centered and sized uniformly within the grid, and then added to the stage. Finally, the GSAP library is used to animate the sprites, gradually rotating them 360 degrees while simultaneously fading them in and out in a repeating pattern. The animation effect is staggered across the grid, starting from the center and following a specified easing function