手绘二维码
Hand Drawn QR Codes (2025)

原始链接: https://sethmlarson.dev/hand-drawn-qr-codes

作者在明尼阿波利斯一家文具店购买了方格纸后,享受了一项创意挑战:手绘一个可用的二维码。标准的二维码需要21x21像素的网格,因此需要分割纸上的方格并利用边距。最初,作者的网站地址太长,无法放入最小的二维码版本,于是他巧妙地使用了“sethmlarson.dev”,希望扫描器能搜索完整的地址。 一位热心的读者指出,使用全部大写字母就能容纳完整的网址!该二维码是使用Python的`qrcode`包生成的。这个过程包括仔细绘制必要的“定位图案”和“时间线”,并在二维码成型时迭代测试可扫描性——即使是一个小的数据错误也不会阻止成功扫描。 由于纸张卷曲,扫描证明有些困难,但压平或悬挂后就能可靠地工作。作者鼓励其他人尝试这种基于网格的艺术形式,并推荐查阅Alexander Miller的“GRID WORLD”以获取更多灵感。

黑客新闻 新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 手绘二维码 (sethmlarson.dev) 9点 由 jollyjerry 1小时前 | 隐藏 | 过去 | 收藏 | 讨论 帮助 考虑申请YC 2026年夏季项目!申请截止至5月4日 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请YC | 联系 搜索:
相关文章

原文

I really like QR codes. Recently I purchased a new sticky-note-like pad from a new local stationery store in Minneapolis. The sheets have a 10x10 grid and 2x10 grid.

I knew what I wanted to do, I wanted to create a QR code on a sheet. The smallest QR code (besides micro QR codes) is "version 1" which uses 21x21 pixels. We'll have to split the squares in half and then use some of the margin.

Version 1 QR codes can hold URLs up to 17 bytes long using the lowest data quality setting. Unfortunately https://sethmlarson.dev is 23 bytes long, so I'll have to improvise. I went with sethmlarson.dev instead, as this will prompt many QR code scanners to "search" for the term resulting in my website.

Note that a lovely reader informed me shortly after publication that indeed I can include my full domain name in a version 1 QR code by using all capital letters instead of lowercase. TIL that the "alphanumeric" character set for QR codes actually contains symbols for URLs like : and /.

Expect an updated QR code published after lunch today. :)

I created my reference using the qrcode package on the Python Package Index. Don't forget the -n option with echo to not include a trailing newline.

$ echo -n "HTTPS://SETHMLARSON.DEV" | qr --error-correction=L

I drew the corner squares (known as "position patterns") and then started trying to scan the QR code as a gradually filled in other pixels. Once I had drawn the "timing lines" between the top left and bottom left position I could see that my scanner "wanted" to see something in my drawing.

I continued adding the top timing line and data and then the scanner could start to see the whole square as a QR code. If you look closely I even made a mistake here in the data a bit, but in the end this didn't matter even on the lowest error-correction level.

Finally, my QR code was complete! Scanning the QR code was quite finicky because the paper was curling up off the flat surface. I could only get the scan to work when I held the paper flat. However, hanging the QR code from my monitor worked extremely well, even when scanning from a distance.

I hope this inspires you to try hand-drawing something on grid paper 🖤🤍 If you're looking for more grid-based inspiration, take a look at GRID WORLD, a web art piece by Alexander Miller.

Wow, you made it to the end!

联系我们 contact @ memedata.com