SplasheryPlayground
QR Damage Lab, a still.

Studio29.7° N, 46.4° E

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.

PlaygroundHow to play

Kind
Built from a recipe
Your own
The Damage lab
Sound
Yes
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.

Its controls

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

About it

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.

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.

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)
MIT, Apache-2.0
zxing-wasm 3.1.4, with zxing-cpp (copied from Splashery)

In The Splash Manual

  1. Chapter 9: Codes and pages

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>

Straight down

Through the middle of the world, the far side is Night Owl Pinball, on Arcade.

Fall throughIt stands 3.8° from the exact far side, the closest of any Splash.