{"by":"Xiione","descendants":11,"id":43792774,"kids":[43840705,43839089,43838167,43849216,43840157,43798744],"score":109,"text":"Hi HN!\nThis is a hobby project of mine that recently landed me my first interview and helped me get my first internship offers.<p>Draw on a QR code, and the health bars will accurately display how close the QR code is to being unscannable. How few errors does it take to break a QR code? How many errors can a QR code handle? Counters at the bottom track your record minimum and maximum damage. (Can you figure out how to break a QR code with 0.0% damage to the actual data region?)<p>Also, click on the magnifying glass button to toggle between &quot;draw mode&quot; and &quot;inspect mode&quot;.\nI encourage you to use your phone&#x27;s camera to scan the code as you draw and undo&#x2F;redo to verify that the code really does break when the app says it does.<p>I wrote the underlying decoder in C++, and it&#x27;s compiled to WebAssembly for the website.<p>I hope you find it interesting.","time":1745583324,"title":"Show HN: An interactive demo of QR codes' error correction","type":"story","url":"https://qris.cool"}