---
title: "Discussion on \"A PixiJS rarity reveal that doesn't move the card: fixed icon slots and the 2,000,000-pixel bounds trap\" | Hashnode"
description: "Discussion on \"A PixiJS rarity reveal that doesn't move the card: fixed icon slots and the 2,000,000-pixel bounds trap\". Two layout shifts in an item reveal, both measured in the same scene: one from late-loading icons, one from putting the particle renderer inside the card."
url: "https://hashnode.com/posts/pixijs-item-rarity-reveal-without-layout-shift/6ac8bdd42a189601d89315e6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A PixiJS rarity reveal that doesn't move the card: fixed icon slots and the 2,000,000-pixel bounds trap](https://nixiefx-notes.hashnode.dev/pixijs-item-rarity-reveal-without-layout-shift?utm_source=hashnode&utm_medium=feed)

Two layout shifts in an item reveal, both measured in the same scene: one from late-loading icons, one from putting the particle renderer inside the card.

Oct 9 · 9 min read · nixiefx-notes.hashnode.dev  
Read the article

-   [#pixijs](https://hashnode.com/tag/pixijs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#gamedev](https://hashnode.com/tag/gamedev)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#html5](https://hashnode.com/tag/html5)

## Written by

[Steven Volkov](https://hashnode.com/@stevenmmm)

@stevenmmm

  
[View profile](https://hashnode.com/@stevenmmm)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
