QRSVG

You can use Git to clone the repository via the web URL. Download snapshot (zip)
 
descriptionQRSVG is a small JavaScript project to render a two-dimensional bitmask (mostly assumed to be a QR code) to an SVG element as a collection of SVG paths with defined purposes.
websitehttps://fietkau.software/qr
last changeThu, 12 Sep 2024 19:28:43 +0000 (21:28 +0200)
shortlog
3 days ago Julian FietkauBugfix: Mosaic shape style now handles quiet zones... main
4 days ago Julian FietkauVersion bump v1.1
4 days ago Julian FietkauAdd scanlines shape style
4 days ago Julian FietkauAdd confetti shape style
4 days ago Julian FietkauAdd scaffolding for confetti style
4 days ago Julian FietkauBugfix: larger quiet zones than 1 no longer erase inter... v1.0.1
2024-08-30 Julian FietkauInitial commit
tags
4 days ago v1.1
4 days ago v1.0.1
readme

QRSVG

This is a small JavaScript project to render a two-dimensional bitmask (mostly assumed to be a QR code) with a fixed width and height to an SVG element as a collection of SVG paths with defined purposes. The code analyzes the bitmask geometrically and traces the contours of contiguous shapes. It allows rendering QR codes in several stylized ways. Note that this code does not contain an actual QR code creator – it expects to receive the 2D QR code as a bitmask for its input. See the project website for a demo and more information.

Version 1.1 – https://fietkau.software/qr