import { type PointLike, Texture } from 'pixi.js'
} from '../../../../solid-pixi/src/index'
<TransparentBackground canvas={document.getElementById('root')! as HTMLCanvasElement} />
function BunniesContainer() {
const app = useApplication()
const texture = Texture.from('https://pixijs.com/assets/bunny.png')
anchor={{ x: 0.5, y: 0.5 } as PointLike}
x={app!.screen.width / 2}
y={app!.screen.height / 2}
function TransparentBackground(props) {
<Application backgroundAlpha={0} resizeTo={window} canvas={props.canvas}>
<Assets load={[['https://pixijs.com/assets/bunny.png']]}>