Skip to main content

USB-Powered Infinite Dungeon Portal

Inspired by this portal by the Crafting Muse, I started thinking about portals to somewhere <woo-woo>else</woo-woo>. Naturally, my implementation ended up being over-complicated, but it lights up, so that's OK.
 


The idea was to create an "infinite mirror" embedded in a 3d printed doorway. The idea behind the infinite mirror is that you have a box with a mirror in the back, a half-mirrored surface in the front (like the "one-way mirrors" you get in police interrogation rooms on TV), and a light source somewhere in between. The light source reflects off of the mirrors, the reflections create reflections of their own, and so on until you create the illusion of enormous depth. Appropriate for a magic portal in a dungeon. It's rather more demanding on materials than what I normally do, but I had most of the components kicking around anyway.

For a light source, I settled on a couple of LEDs. I experimented with a bit of electroluminescent wire, which is nifty, but not bright enough. For a power source, while I could have used batteries, I thought using a USB cable would be interesting to play with and wouldn't involve consumables which would wear out and dim in the course of use, probably needing replacement at the worst possible moment.

The USB standard provides not just a data connection but a 5v power supply as well. That's how your phone can charge itself through the same connection it uses to transfer data. I've taken advantage of that fact before by wiring stuff directly to the USB connector for the sake of compactness, but this is a little more sensible. I got an old USB cable that didn't work for data any more, snipped off the end, and stripped it down to the wires. A stripped USB cable looks something like this:


There's a thick layer of electromagnetic shielding which can just be snipped off and a pair of wires for data which can likewise be cut short, since they're not being used here. I just needed some length on the red and black wires.

To connect any power supply to LEDs, you need to do some math, or at least get someone or something to do math for you. Basically, for any circuit of LEDs, you need to throw in a resistor or else you'll burn out the LEDs out pretty fast. There are any number of on-line calculators telling you what you'll need and even suggest a circuit diagram. This is one of the better sources of data on the topic I've seen with good sample values for numbers you'll be plugging in, so aided by that I used this calculator and put my two 5mm red LEDs in parallel on a 68-ohm resistor, wired that to the USB, and got them to light up nicely.

Then there's the "box" itself and its accouterments. The base doorway was one I found on Thingiverse. However, that just gave me the rudiments of a "face." The rest of the box had to be somewhat bigger to provide both room for mirror and electronics and the necessary depth. It ended up being a three part assembly for ease of printing:
  • A back piece to hold the mirror.
  • A middle piece to provide depth (an infinite mirror should be at least a half-inch deep) and somewhere to fix the lights.
  • A front piece to provide the full facing of the doorway and, given the size of the box, the adjacent wall.

The mirror for the back was a cheap 2" square from a craft store I'd had kicking around. And the half-mirror in the front was a piece from the roll of window film I got for the last infinite mirror I did. (I experimented with scraps of semi-reflective mylar bags used for shipping circuit boards and the like, and unfortunately they turned out to be not reflective enough.)

With all the pieces ready, then, it was a simple matter of painting the face, inserting the LED wire in the middle part of the box, gluing the pieces together, and plugging in.



With power off, it's just a mirror.

The whole thing is about an inch thick.

So, not too bad, I think. Some things to play with if I do a future version:
  • Sensibly put a layer of transparent plastic (say, cut out of a strawberry container) in front of the reflective film to keep it from getting scratched.
  • Sensibly solder together the connections, currently kept together by twisting wires.
  • Painting something faintly glittery on the mirror and/or film and see how that works out.
  • See what I can do with UV-emitting LEDs and fluorescent paint in the "tunnel" section. The glow might not be enough to reflect well, but it's worth an experiment.



Comments

Popular posts from this blog

More Nattering About Writing Historical RPGs

omeone made the mistake of asking me to expand on some things I'd said about writing historical rpg material, so you all must suffer for it. I write a lot of historical rpg stuff as well as entirely fictional setting material. So why make historically themed games rather than just making stuff up? Well, because it's an effective way of achieving the purpose of writing settings and adventures in general. The purpose of settings and adventures, I would aver, is to give players things to do in a convincing context. Convincing context doesn't necessarily mean realism. Players have different levels of understanding of what's "realistic" in different situations and are more or less sensitive to how closely those situations adhere to reality. For example, I'm a history and culture guy. Put me in SF campaigns (which happens with some regularity) and the specifics of how reaction drives, orbital mechanics, and subatomic physics work entirely escape me. I don't,...

Stuff I Wouldn't Do With Purchased Minis

One of the great things about the advent of 3d printing, when it comes to gaming, is that it allows me to take more risks and try stuff I wouldn't do otherwise. Take, for example, experimenting with painting techniques. Maybe I want to see what an unusual color scheme would look like or try doing an odd way of achieving an effect. Factory-made miniatures are expensive. Too expensive for me to risk it. Which, as someone who's not very good at painting minis and needs lots of practice, is one reason I've never gotten into them. I don't feel like I can afford the implied expense of getting better. Enter 3d printing. With the right files, I can print as many minis as I can like and mess around with them to my heart's content. Mess one up? That's fine. Resin isn't cheap , but it doesn't cost nearly as much as pre-made molded plastic. I can take it as a learning experience and move on. Which brings me to messing around with some Car Wars minis. I'd been m...

Briefly, How To Play GURPS

For a long time, I’ve maintained that GURPS, despite its reputation for complexity, is actually pretty simple in play. I was thinking recently that I should see if I can express the fundamentals of playing GURPS in a short, easily digested form, and so here I am.   This does not address a more general “how to play rpgs” for those who know nothing on the topic. How to approach GURPS, at that level, isn’t necessarily a lot different from how to approach D&D or TFT or any other RPG system. It doesn’t get into optional and campaign-specific sets of rules or equipment. Rather, this is stuff applicable to playing GURPS no matter what the campaign is. It also doesn’t address how to build GURPS characters, which is a vastly more complicated topic. Rather, this is about how to engage GURPS rules when you’ve already got your character sheet and are sitting at the table to play. It’s a trifle over 1000 words, which I think isn’t too bad.   How To Play GURPS Most of what you’ll need t...