Lose yourself in the Minotaur-confounding Labyrinth, smoothly animated in 3D (30+ frames per second) on the Hallowing display, using tricks that might have impressed Daedalus had he stuck around for microcontrollers and bitmapped graphics.
It’s really just a fancy graphics demo, something to fidget with and amaze your friends. Despite the name, there’s no Minotaur after you. The code and techniques used here may prove insightful to programmers learning to maximize graphics performance on microcontrollers.
The Minotaur Maze code uses ray casting — a computer graphics technique that’s sort of a dollar-store version of ray tracing. Most famously seen in id Software’s Wolfenstein 3D, ray casting is really a two-dimensional algorithm that creates the illusion of a three-dimensional environment. Nonetheless, it’s impressive to see running smoothly on this tiny board!
Nobody asked for this, it was written in a fit of nostalgia following a couple of display hacks I had cooked up. I always loved the graphics coding articles in 1980s computer magazines…more often than not the code or the math went way over my head, but they’d often explain some clever technique that could be filed away for later…I hope this guide offers the same.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Python for Microcontrollers — Python snakes its way on the SparkFun SAMD21 Mini, Hackaday.io, 10k thanks, and Tim’s magazine #Python #Adafruit #CircuitPython @circuitpython @micropython @ThePSF @Adafruit
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !