-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I really like qrcode for generating QR codes, but I have long felt that having a bit of rounding on the corners was much more aesthetically pleasing.
I took a stab at implementing such plotting on top of qrcode using the sf package to do the smoothing. The demo code, including some demo output, is included as a notebook report below. I think the code should work with presuming these two packages are installed.
First an example QR code with rounded corners (generated with the demo code):
And here is the report with code and some more examples (must probably be downloaded to view):
If there is interest, this could be an optional feature (activated for example only if plotting was specified with non-zero radius), with an error message if sf was not installed. There would have to be some additional development to plot smoothed codes when a logo is embedded, but without having looked at it sounds doable. Happy to be involved in that, and to follow the lead of the package authors for the UI of this.
I understand if this were to be considered off-topic in which case I would just continue to use this code myself on top of the package, but I thought I might offer it up in case it was of interest to others.