Castlenine / svelte-qrcode

QR Code generator for Svelte & SvelteKit, with no dependencies
MIT License
19 stars 4 forks source link

feature request: rounded corners #6

Open martinpaljak opened 1 week ago

martinpaljak commented 1 week ago

Super nice library, thanks!

It would be super cool to have another shape option: rounded corners, like on the picture.

Screenshot 2024-10-08 at 12 35 03
Castlenine commented 1 week ago

sample-circle An option for a rounded shape already exists (share='circle').

Schematic-diagram-of-QR-code-composition

I will refactor the code to allow independent shape selection for the positioning pattern and component unit. Additionally, I will attempt to add a new shape for the component unit based on your image.

Thank you for your suggestion :)

Castlenine commented 1 week ago

It may take weeks to integrate this new feature. I am quite busy with my day job.

Any help will be appreciated!

Thank you for your patience

martinpaljak commented 1 week ago

I'm well aware of the circles version :) (in fact, my favourite mode of this library, given absence of this mode).

Would help if I knew anything about SVG, which I don't. There's also no "sponsor" button for sending over a virtual 🍺 or 🍻 ?