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.


Popular posts from this blog

Dungeon Fantasy RPG PDFs to Backers!

It is, at long last, out! Sort of! PDFs of the Dungeon Fantasy Roleplaying Game have been released to Kickstarter backers. I don't think it'll be generally available until next month, but since it's in the wild in at least a limited way, I feel I can talk about this a bit more like a customer than someone involved in the project.

The Dungeon Fantasy RPG is a complete fantasy tabletop roleplaying game. It's based on GURPS 4th edition rules, but it's a stand-alone game, requiring no other books, or even prior knowledge of GURPS. I've already made some general comments elsewhere (I got an advanced peek for a number of reasons, not the least of which is that I was called on to write some follow-up material coming out later). I'll expand on that here.

For those unfamiliar with GURPS, it's a point-buy system rather than randomly rolled, class-and-level, or life path, and pretty much everything in play boils down to "try to roll a target number or less o…

Writing GURPS Adventures

Someone over on the forum asked for advice on writing adventures for GURPS. Or more specifically, in context, writing GURPS adventures with an eye towards publication by SJ Games, which is a very different animal. Whatever method and structure you have for writing up adventures for your own use is, of course, the best and you should use it for your own purposes. But we're talking about commerce here, not just art, so this should be thought of as advice on how to do business with a particular publisher, not generally useful advice on how to write adventures.

I need to start by defining a term. SJ Games means something specific by "adventure." As the wish list uses the word, an adventure has a plot, or at least something plot-like in it. It presents a specific problem to solve through a progression of encounters. They are not sandboxes. Sandbox-style adventures, with their multiplicity of possible PC objectives, are, in the terminology of the wish list, locations. There ar…

Doctor GURPS Author, Or How I Learned To Stop Worrying And Love The WYSIWYG Template

Something I see over at the forum from time to time is people saying that they're interested in writing for Pyramid or GURPS but are instantly driven off by the size and complexity of the style guide and the WYSIWYG template. And they can be intimidating documents. They're long and there are some really specific guidelines for certain kinds of material.

And that's necessary. Despite working almost entirely in the realm of the imagination, Steve Jackson Games is a technical publisher. They need to organize information in regular, predictable formats. It's like Safety Data Sheets, just of their own design.

But the thing I've noticed in several years of writing GURPS material is that you won't need most of it.

So if you want to write an article for Pyramid, here's what you do: Once you've gotten a thumb-up from Steven on your proposal, get the template, create a new document based on it (Don't use Microsoft Word? Me neither. I use LibreOffice. The temp…