All about qrcodes

Questions and information about using Lua scripting with Storyboard

Moderator: jamiev

All about qrcodes

Postby JohnW » Wed Apr 05, 2017 9:53 am

Hey there!

I found a nifty little lua library http://speedata.github.io/luaqrcode/ that, when you hand it a string, will return a table of positive or negative values that describe a qrcode.
This data by itself isn't very useful however with Storyboard's new canvas render extension we can easily turn this data into a visible QRCode. Take a look for yourself in the attached demo.

This is set up to change the background color and size of the QRCode. Sometimes darker backgrounds help with readability on certain apps.
Attachments
qrcodeTest.zip
(1.5 KiB) Downloaded 134 times
User avatar
JohnW
 
Posts: 56
Joined: Wed May 08, 2013 4:52 pm

Re: All about qrcodes

Postby parthmbhatt » Tue May 29, 2018 2:02 pm

Hi John!

thanks for the library and the example, this is super useful!

However, when I download the file, there seems to be only the .gde file and no lua scripts.

Is the attachment perhaps missing some files?

Thanks!
parthmbhatt
 
Posts: 5
Joined: Tue May 29, 2018 12:38 pm


Return to Lua Scripting

Who is online

Users browsing this forum: No registered users and 1 guest

cron