Shadow Lamp Generator: How to Make a Custom Shadow Lamp From Any Image
A shadow lamp is one of those objects that looks like a magic trick the first time you see it. A box the size of your palm sits on the wall, a single LED comes on, and suddenly Hanuman Ji, a family name or your pet’s outline is spread across half a metre of wall. Turn the light off and it is just a small black box again.
For a long time making one meant either buying a fixed design or spending an evening in CAD software working out the geometry by hand. A shadow lamp generator does that maths for you. You give it an image, it works out the shape of the walls that will throw that image as a shadow, and it hands you print-ready files. This guide walks through how that works and how to get a sharp result from the free shadow lamp generator in our Lab.
How a Shadow Lamp Actually Works
The lamp has three parts. A shallow box fixes to the wall and holds the battery, switch and electronics. Four walls stand out from the box, one on each side. A single LED sits on a stand in front of the box, about 95 mm out from the wall.
The LED shines past the edges of those four walls. Wherever a wall is solid, it blocks the light and leaves a shadow on the wall behind; wherever the wall is cut away, light passes through. Because the LED is close to the walls and the room wall is behind them, every shape on the walls is magnified on its way to the wall. Our standard lamp is about 15 cm tall and throws a picture roughly 70 cm tall, and the reach of the shadow goes past a metre at the corners.
The clever part is that the walls do not look like the picture at all. A Hanuman figure on the wall becomes four strange, stretched strips of plastic. Each point on a wall maps to one point on the room wall, along a straight line from the LED, and the generator runs that mapping in reverse: it takes your picture, follows every point back towards the LED and marks where it crosses a wall.
Step 1: Pick an Image That Will Make a Good Shadow
A shadow has one colour, so the image you start with should be a silhouette: a dark shape on a light or transparent background, like a stencil. The best sources are:
- SVG artwork. Vector files stay sharp at any size, which matters because your picture is going to be drawn across a wall.
- Black-and-white line art or clip art. Devotional art, logos and stencil designs usually work straight away.
- A photo turned into a silhouette. Any photo editor can do this; keep the outline and fill the shape solid.
Two rules decide whether an image works. First, the shape has to cover the middle of the picture, where the lamp itself sits, because the walls need something to stand on. A figure with its feet or body over the centre is ideal; a small logo floating in empty space is not. Second, keep the outline bold. The walls are magnified many times on the way to the wall, so a fine hairline in the artwork turns into a gap too thin to print near the lamp.
Thin light lines inside a dark shape are a different story, and they are the secret to a lamp with character. The fold of a dhoti, the line of a face or the strands of a mala come through as glowing strokes inside the shadow.
Step 2: Size and Place the Shadow
Upload the image and the generator centres it on the lamp and sizes it to fill what the lamp can reach. From there you can move it up, down or sideways and change the shadow height.
It helps to know where detail survives. Close to the lamp the magnification is gentle, so fine features stay crisp. Out at the tips of the walls the magnification climbs to around nine or ten times, so a 1 mm detail becomes a centimetre-wide smudge. The Fit to lamp button sizes your art to stay inside the zone where the shadow is still sharp. For most figures, a shadow between 60 and 70 cm tall with the head lifted a little above the lamp gives the best balance of size and sharpness.
The area right around the box is always dark on a real lamp, because the box and its front poster sit between the LED and the wall. That is also why the bottom part of each wall is solid: no light reaches the wall there, so nothing in your picture is lost.
Step 3: Read the Preview Before You Print
A shadow lamp you cannot preview is a gamble, so the generator shows the result three ways:
- 3D view. The lamp on a wall in a small room, lit by the LED. Drag to look at it from an angle, the way you will see it at home.
- Wall shadow. The exact shadow, ray traced from the walls that will actually be printed, with the parts that differ from your artwork marked in colour.
- Wall pieces. The four walls laid flat, showing the bridges that hold loose pieces in place.
Watch two numbers. Shadow matches artwork tells you how much of your picture survives; 90% or more is a good lamp. Bridges holding loose pieces counts the thin links added so that islands of plastic, like the dot of an eye, stay attached to the wall. A handful of bridges is normal and you will rarely notice them in the shadow.
Step 4: Choose Your Lamp Version
Before you buy, pick the two options that decide the hardware:
- Battery. The rechargeable version uses an 18650 lithium cell and charges from any phone charger through a Type-C port. The AA version runs on two ordinary pencil cells and has nothing to charge.
- LED bulb. A 5 mm LED gives the sharpest shadow and is our standard. An 8 mm LED is a bigger, brighter bulb with slightly softer edges.
The What you get tab lists every part of the lamp for the options you chose, from the walls and front poster to the switch and screws.
Step 5: Download the STL Kit or Order It Printed
There are two ways to finish:
- Print it yourself. The STL kit includes your four walls (with a separate left wall for each battery version), a two-colour front poster file, and the box, battery cover, charger clamp and LED parts with an assembly guide. It unlocks on the download page as soon as payment clears. If you need the electronics, you can tick them into the same order. Our guide to 3D printing on our blog covers the basics if you are new to it.
- Order it printed. We print the walls in black, fit the LED, battery and your front panel, and ship the finished lamp anywhere in India.
Either way, designing and previewing costs nothing, and you can try as many images as you like before deciding.
Common Mistakes and How to Avoid Them
- An image with lots of empty space in the middle. The walls float with nothing to hold them. Move the art so the main shape covers the lamp.
- Thin text at the edges. Writing near the tips of the walls magnifies into a blur. Keep text closer to the lamp or make it bolder.
- A photo used as it is. A colour photo has no clear shape for the generator to follow. Turn it into a silhouette first, or adjust the darkness threshold until the shape reads clearly.
- Ignoring the match score. If the score drops below 90%, look at the wall shadow view; the coloured areas show exactly what is going wrong.
Ready-Made Designs
If you would rather start from a finished lamp, our devotional range is made with the same tool: the Hanuman shadow lamp, the Shiv shadow lamp and the Krishna shadow lamp, among others. They make a good reference for what kind of artwork produces a strong shadow.
Have an image in mind? Open the shadow lamp generator, drop it in and see it on the wall in a few seconds.




