T-Shirt Designs
The Polka Dots on This Dress Light Up When You Dance
A motion sensor and hidden lights turn an ordinary polka-dot dress into a moving display. The clever part is keeping the dots and lights together.

You know that moment when a project sounds like a very silly idea and then you see it working and immediately want to know how it was made? This is one of those. From a distance it is a black-and-white polka-dot dress. Start moving and those dots turn into tiny lights, with a bright flare travelling up the skirt when the wearer gives it a proper twirl.
Maker Erin St Blaine’s electro-swing dress hides individually controllable LEDs behind the existing fabric pattern. She published the project on Adafruit in August 2026, including the wiring, code, layout and the bits that did not work on the first go. That last part is my favourite: the clever idea is only half the story. Getting the lights to stay where they belong on a moving garment is where it gets interesting.
We have reviewed Erin’s documented project, not made or worn our own version. The photographs are of her actual build. You can use the free guide to explore it, but the parts and garment cost money and the original instructions rate it an intermediate project.
The dress already had the pattern
Rather than adding an obvious strip of lights to the outside, Erin started with a dress covered in pale dots. Each dot becomes a little window for a light sitting behind the fabric. While the garment is still, the code creates a soft, shifting glow. A larger movement triggers a brighter animated flare from the hem towards the bodice.
That is a much nicer design problem than simply asking how many LEDs you can cram into a costume. The fabric does some of the visual work. The electronics make an existing pattern behave differently.
If you are thinking about adapting the idea, start by looking at the spacing and transparency of your own fabric. A lamp behind a pale dot and a lamp behind a thick dark seam will not look the same. Test a spare piece before committing to an entire outfit, and do not assume another garment will match the spacing in this particular build.
What is actually inside it?
The documented build uses an Adafruit RP2040 Prop-Maker Feather, an addressable seed-pixel strand, a switch and portable power, alongside sewing supplies and lightweight fusible interfacing. The board has an accelerometer that can detect movement; the sample CircuitPython program uses those readings to decide when to run the brighter animation.

The controller and individual lights before they are fitted to the garment. Erin St Blaine / Adafruit, CC BY 3.0; resized.
An addressable strand is useful here because each light can be controlled as a separate point rather than the whole string switching together. Erin’s test code begins with 216 pixels; yours may need a different count. The important thing is to measure the garment and plan the route before cutting or attaching anything.
The parts list and wiring page belong to this particular board and setup. Check the current source instructions and labels for your own hardware rather than relying on wire colour alone. The guide includes a simple all-yellow test program, which is a handy way to find connection or colour-order problems before the lights disappear into the dress.
The surprising challenge: keeping dots and lights together
Erin first tried putting the pixels on an underskirt. Sensible idea: keep the electronics separate, and the outer dress should be easier to care for. In practice, the layers shifted. The light points no longer lined up neatly with the dots, so the geometric effect went soft and blurry.
She also tried sewing across the wires, but found it pulled and marked the thin fabric. Her final approach used glue dots to position the pixels behind the printed spots, with lightweight fusible interfacing over the wiring on the inside.

Erin’s front-and-back layout shows why the path through the garment matters. Erin St Blaine / Adafruit, CC BY 3.0; resized.
There is a useful lesson here for any wearable or fabric project: a tidy layout on a table is not necessarily a tidy layout on a person. Cloth moves. Seams twist. The lining and outer layer may travel in different directions. Give the wiring enough freedom that the garment can move without pulling hard on a connection.
Why the glue dots matter
The glue dots do more than hold a tiny LED in place. In Erin’s build they also diffuse its light, so a small bright source fills more of the printed circle. She then covers sections with interfacing, working gradually to keep the arrangement flat.

The lit dots sit behind the fabric and are held in place with interfacing. Erin St Blaine / Adafruit, CC BY 3.0; resized.
Her assembly notes explain the experiments and the ironing process. The combination of heat, fabric, adhesive and electronics needs care: follow the material manufacturer’s instructions and test on scraps first. The author specifically notes that overheating can damage the fabric. We have not tested durability, heat or washability ourselves.
Before trying this on a favourite outfit, ask whether it is acceptable to alter it permanently. A small test panel is a much cheaper place to discover that a fabric puckers or an adhesive shows through.
How do the lights know which way is up?
Here is the bit that would probably catch me out. The LED strand snakes across the dress to follow the dots. Consecutive lights on the wire are not necessarily one above another on the finished garment. If the program simply lights them in numerical order, the result may follow the cable path instead of climbing the skirt.
Erin’s solution is a separate pixel-mapping step. A helper program lights one pixel at a time and reports its number. She groups those numbers by their physical height: lower, middle and upper skirt, plus the dress top. The final animation can then progress through those groups regardless of the route the wire took.
That idea travels well beyond this dress. If you are putting lights into a sign, jacket, sculpture or stage prop, make a map between electrical order and physical position. A quick drawing and numbered list can save a lot of head-scratching when the pattern runs sideways.
Give the motion some room to breathe
The published code includes a motion threshold, smoothing and a short cooldown between flares. In plain English: it can ignore small movements, respond to a bigger one and avoid retriggering continuously. Erin explains how to inspect the readings and adjust the threshold for the movement you actually want to use.
The same principle is useful in lots of interactive work. A sensor is not a magic “dance detector”; it produces readings that need interpretation. Set the trigger too sensitive and an ordinary step may set it off. Make it too strict and you will be performing an energetic interpretive dance just to wake your dress up.

A closer look at the finished garment and its glowing polka dots. Erin St Blaine / Adafruit, CC BY 3.0; resized.
The guide also lets you change brightness and colours. Start conservatively, check the power requirements of your own components and make sure nothing becomes uncomfortable or strained as the garment moves. Battery choice, enclosure and a readily accessible switch are part of the design, not an afterthought. Remove power before working on the wiring and follow the original component guidance.
Want to borrow the idea without building a whole dress?
Try the thinking on a smaller scale first. Take a scrap of patterned fabric, place a single light behind a pale shape and compare how it looks with and without diffusion. Move the fabric around the light. Does the pattern stay aligned? Is the light visible from the angle a person will actually see it? Can you attach it without pulling the cloth out of shape?
That little experiment is not the finished electronic build, but it will tell you whether your chosen material is worth pursuing. For the full project, start with Erin’s overview and video, then follow her own wiring, layout, mapping and code pages. She also says she has not established how well the finished assembly will survive washing, so plan for careful maintenance rather than assuming it can go straight in the machine.
It is a cracking example of technology making an existing material more playful. The real trick is not that the dress lights up. It is that the lights look like they belonged to the pattern in the first place.
Sources
Share this article
Know someone who would enjoy this? Pass it along.
