Splashery
QR Damage Lab, a still.

Family I, Studio

Plate 9

QR Damage Lab

QR codes still scan when part of them is lost, because error correction can rebuild missing codewords: about 7, 15, 25 or 30 percent at levels L, M, Q and H.

Playground

Family
Studio
Origin
Raised from a recipe
Habit
Diurnal: kept on the page
Voice
Yes, with the sound on
Your own
The Damage lab
Licenses
Apache-2.0, MIT

How to play

Pick a damage in the Splash tab, then tap or draw on the code. Watch the meter.

Notes

Here you scratch a code or stick a label on it where you tap, draw on it with a marker, tear it from the corner or the edge nearest your tap, burn it from the nearest corner, smudge it, or do what only a code of splats allows: blur, shrink, grow, jitter or fade its splats, drift its color, curve it, tilt it or set it moving. After each change the meter reads the very picture on the stage and counts each block's lost codewords against what it can fix. Show all four levels side by side, or tap Heal it to watch Reed–Solomon decoding set each block right.

Its controls

ControlKindRangeStart
Add damageTap
TiltSlider0 to 100%0%
CurveSlider0 to 100%0%
Move in timeSlider0 to 100%0%
Damage landsButton
HealSwitchOff
ShapeList2 choicesSquare

Sources and credits

Made in Splashery. Its code is MIT.

Libraries

Apache-2.0
jsQR 1.4.0 (lane LSTUDIO)
MIT
QR Code generator library (Project Nayuki)

In The Splash Manual

Share it

This link opens it in the Playground. To put it on your own page, add the element and one script tag. Every option.

https://splashery.app/play/?toy=qr-damage<script type="module" src="https://splashery.app/play/src/element.js"></script> <splashery-toy toy="qr-damage"></splashery-toy>

Compare with