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

Create a PixiJS application, initialise a game size based on the window dimensions, and set a background color. Then create a sprite from an image file, position it at the center of the screen, and add it to the stage. Define movement parameters for the sprite and set up animation using PixiJS's ticker. The sprite rotates and moves across the screen, bouncing off the edges when it reaches them.