We rendered one pixel effect twice. Here’s how to tell if it matched
Two confetti previews can look identical while one ships with a solid background or starts on the wrong frame. The developer needs the image and timing files to agree, not just a convincing preview. We rendered the same effect twice to see what actually matched.
On 27 November 2026 we ran a local test of PixelFX 0.3.1, pinned to commit 5294518c. We chose the project’s ui/confetti effect and used seed 11, a fixed starting value for the random choices in the effect. The project’s checker passed. We rendered the effect into two fresh folders using the same settings and compared the results. The test used the upstream example effect and no client material. PixelFX repository and README at the tested commit
Compare the three files the next person gets
| File | What the handoff uses it for | Result across both runs |
|---|---|---|
confetti.png |
The atlas that packs the individual frames into one image | Identical SHA-256 hashes |
confetti.json |
The metadata that describes the frames and their timing | Identical SHA-256 hashes |
contact.png |
A preview sheet for looking at stages of the effect together | Identical SHA-256 hashes |
The test recorded 103 frames at 30 frames per second. We also checked that the atlas had an alpha channel and contained transparency. For a visual check, open the atlas against two contrasting backgrounds and look around particles and frame edges. A fully coloured background is easy to miss when the preview viewer and the export happen to share the same colour.
Try the same check on one effect
Record the exact revision of the renderer, its runtime, the effect name, its options and the seed. Use one folder for each run so the second render cannot overwrite the first. Calculate a SHA-256 hash for each delivered file in both folders. On Windows, PowerShell’s Get-FileHash -Algorithm SHA256 can do that for each file. Compare files by name and account for missing or extra files before comparing hashes.
If one hash differs, check which file changed. For a PNG, compare the image and its transparency. For JSON, compare frame layout and timing. A byte difference can come from metadata or encoding as well as from the animation itself. Looking at the files tells you what changed. Matching hashes from our two local runs support reproducibility under those settings. Testing another machine, effect or revision calls for a fresh comparison.
Review it where it will play
Play the effect once in the target interface or a test page that uses the same dimensions and background. See how the burst ends, whether it obscures the message it celebrates, and how it reads at the size people will actually see. A contact sheet makes it easy to point out a particular frame. Continuous playback reveals the rhythm.
Before you hand a sprite effect over, pack the atlas and timing file together. Add the seed, revision and preview to a short note. The next person can compare a rerender and see how to play it.

