0

December 26, 2014 AT 5:00 am

How to Create Minecraft QR Codes #piday #raspberrypi @Raspberry_Pi

Pasted Image 12 22 14 3 51 PM

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! ….

Read more about the route he took to create his qrcode generator as well as links to try it out for yourself.

Pasted Image 12 22 14 3 51 PM


998Each 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!


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — TechShop is closed, files bankruptcy

Wearables — Get concrete solutions

Electronics — Are you grounded?

Biohacking — Learning to See with Sound

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.