Adventures in Mindcraft author Martin O’Hanlon shared some tricks and some code tweaks to script a handy Minecraft QR generator:
I saw a tweet from @ImmersiveMind (aka Stephen Reid) linking to a new blog post about creating qr codes in Minecraft as a way of showing how to link the real world with the digital.
That afternoon I had 30 minutes to wait before I was picked up to be taken out for festive activities; could I code a Minecraft QR generator in time? It turns out I could!
I used the fantastic python module qrcode to create the QR, which has a useful function, get_matrix(), to allow you to get the QR as a 2 dimensional list of True and False’s. I then used this matrix to create white and black wool – dead easy! ….
New #Minecraft QR Code linking to my new website 🙂 pic.twitter.com/sIAIrLGmmP
— Stephen Reid – Digital Druid (@StephenReidEdu) December 19, 2014
I had 30 mins to kill, could I code a Minecraft QR code generator? Inspired by @ImmersiveMind http://t.co/w3P8FGP28v pic.twitter.com/hgCPYr65oK
— Martin O'Hanlon (@martinohanlon) December 20, 2014
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!