2019 ER Tech Tutorial Advent Calendar Day 18: 3D Optical Illusion Number Block Puzzle (Patreon)
Content
Here's a video about a puzzle I actually made a few months back but don't think I ever got round to sharing the code! It's a set of objects which, when viewed from different angles, resemble different letters or numbers - perfect for giving a cipher code translation, a hint, or a 4-digit combination lock in an escape room puzzle.
I said in a previous video that I don't normally use 3D-printed puzzles directly in an escape room, but puzzles like this, which are small, light, and don't have any moving parts should be robust enough for players to handle. And while they're pretty trivial to generate in a few lines of code and send them straight to a 3D printer, they'd be pretty hard to manufacture any other way.
The black blocks show different numbers in all 3 axes - I designed these by hand because I don't think there's an easy automatic way of calculating a structurally sound object like that based on any 3 characters. In fact, I'm pretty sure some combinations of 3 characters are simply impossible. However, the white double-letter combinations I show later - HERO and 8390, should work for almost any letter/number pair. Give it a try yourself with the code available here!: https://github.com/playfultechnology/optical-illusions/blob/master/DualLetterBlocks.scad