Go to file
2024-09-12 14:56:49 +02:00
LICENSE Initial commit 2024-08-30 05:24:26 +02:00
qrsvg-v1.0.1.js Add confetti shape style 2024-09-12 14:56:49 +02:00
README.md Initial commit 2024-08-30 05:24:26 +02:00

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.0 https://fietkau.software/qr