Splashery

Playground
QR Damage Lab, a still.

Studio · Built from a recipe

QR Damage Lab

C4 on the major comb. Its drum rings at 250.2 Hz.

Turn it in the PlaygroundTap the picture to strike 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.

Shelf
Studio
Kind
Built from a recipe
Your own
The Damage lab
Sound
Yes
Licenses
Apache-2.0, MIT

Its note

Splashery stretches a drumhead over this Splash's outline, twelve inches across, and finds the ways it can ring. Its lowest is 250.2 Hz, 77 cents flat of C4, the nearest tine on the comb. The next fifteen are its overtones, and each one draws its own figure: sand gathers on the lines that stay still.

The sixteen ways QR Damage Lab's drum can ring, lowest first.
  1. 1250 Hz
  2. 2396 Hz
  3. 3396 Hz
  4. 4500 Hz
  5. 5559 Hz
  6. 6559 Hz
  7. 7638 Hz
  8. 8638 Hz
  9. 9729 Hz
  10. 10729 Hz
  11. 11750 Hz
  12. 12791 Hz
  13. 13791 Hz
  14. 14884 Hz
  15. 15884 Hz
  16. 16901 Hz

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>

Nearby on the strip