Free · no signup · nothing to install

Christmas Tree Lab

A string of mini lights is wired in sections, and when one bulb comes out of its socket the whole section goes dark. Decorators say about 100 lights for every foot of tree. Christmas Tree Lab puts both on a tree students grow themselves: they shape it, string it, find out what the circuit does when a bulb is pulled, program a pattern for the lights, and hang ornaments by hand, including ones they made in Ornament Lab.

This is the whole lab with a decorated fir loaded. Drag the tree to turn it. Pick another tree on the Tree bench, open the Lights bench and press Night, or hang ornaments by hand on the Decorate bench. Nothing is saved to us.

Open it full screen

Using this with a class? Make a free class and add your students yourself: each gets a username and password, with no email or Google account needed. Or give them one join code. Using Google Classroom? Post the link there; with a free class, the link also puts each student in your class, so you see their work. mytekDev is also available from the Google Workspace Marketplace, so your school's Google admin can install it for everyone.A first lesson: Every student starts from the same 7 ft fir. They read the rule of thumb on the Lights bench and work out how many lights a 4 ft tree and a 9 ft tree need, then set the height and check. Then they pull one bulb out and count how many go dark, with shunts and without.

Set up a free class Share to Google Classroom
Put this on your class site

Students can use Christmas Tree Lab right on your page, with no account. What they make stays on that page; to keep their work, they make a free account.

Google Sites: Insert, then Embed, then By URL, and paste this address.

https://mytekdev.com/try/christmastreelab?embed=1

Canvas, a blog, or any page that takes HTML: paste this code where you edit the page as HTML.

<iframe src="https://mytekdev.com/try/christmastreelab?embed=1" width="100%" height="640" style="border:0" allow="fullscreen" title="Christmas Tree Lab demo from mytekDev"></iframe>

What a student actually does

They open the lab on a decorated fir and pick a tree to start from: a blue spruce, a white pine with long soft needles, a flocked tree, a sparse tree, an old feather tree, a bottle-brush, a silver tinsel tree or a small one in a pot. Sliders set the height, the width, how full it is, how many rows of branches, how much they droop, a lean and a bare side for a tree against a wall. Grow it again grows the same kind of tree with every branch a little different.

On the Lights bench they pick the bulbs (mini lights, big C9 bulbs, globes or fairy lights), the colors and how the string is wound: round and round, along the branches or hanging down. A pattern makes them twinkle, chase, fade or run in candy-cane stripes, or students write their own rule for how bright each bulb is. Night turns the room lights off.

The circuit is on the same bench. Tap a bulb to pull it out of its socket and the 50 bulbs in its section go dark. Burn one out: with a shunt, as most bulbs have now, the rest stay lit; without one, its section goes dark too. Strings plugged end to end add up their watts, and the lab says when the run goes past what the tag on the string allows.

The Decorate bench fills the tree from a set of colors, or hangs ornaments one at a time by hand, and branches bend a little under them. Students make an ornament on the tree, or hang one they made in Ornament Lab from their Files, and dress the top with a star, a snowflake, a glass point or a model of their own, then add a garland, ribbon, tinsel and a tree skirt. Then a decorating list prints what it all takes, and a desk tree prints on a 3D printer.

What they are learning while they play

Nothing here is presented as a lesson. This is what the activity is made of.

What the student doesWhat it is
Pulls one bulb out and watches 50 go dark Series circuits. The bulbs in a section are wired one after another, so the current runs through every bulb in turn. Take one out and the path is broken for all of them.
Burns a bulb out with shunts on, then with old bulbs How a design handles a failure. A shunt in each bulb carries the current past it when its filament breaks, so one burned-out bulb no longer darkens 49 others. Old bulbs had none.
Plugs strings end to end until the lab warns Power and watts. Each string uses so many watts, and strings plugged end to end add up. The tag allows 210 W for the run, so the number of strings is 210 divided by the watts of one, rounded down. LED strings use far fewer.
Works out the lights for a taller tree by the rule of thumb Proportional reasoning. About 100 lights a foot: twice the height, twice the lights. The lab shows the rule and the count side by side.
Writes a rule such as step(sin(i*30 - t*360)) for the lights Functions of time. The rule runs for every bulb about twenty-five times a second, with i the bulb's number, t the time and y its height. Change a number and the pattern changes speed, direction or spacing.
Presses Grow it again and compares two trees Randomness and seeds. The tree is grown from a seed number, so the same seed always grows the same tree, and a new one grows a new tree of the same kind.
Hangs a heavy ornament on a branch tip Load and bending. Each branch bends under what hangs on it, more for a bigger ornament. The needles move down with the twig.

How to tell whether it landed

Ask, and let them show you. A student who has understood it can answer these without help.

Use it in your subject

Not a technology class? Then the app is how students show what they learned in your unit. More projects for every subject.

Science

Series circuits in a string of lights: pull a bulb and count what goes dark, then compare shunted and old bulbs. Power in watts, and why a string's tag limits how many go end to end.

Math

Proportional reasoning with the rule of thumb of 100 lights a foot, and division with a remainder for how many strings one outlet can take.

Computer science

Write a light pattern as a rule of the bulb's number, its height and time, and see it run on every bulb at once.

Practical notes

For co-ops, microschools, and classrooms

Make a class tree. Each student designs an ornament in Ornament Lab and hangs it on one tree the whole class shares, which shows every ornament as its maker last saved it. Then let each student grow and light a tree of their own, and compare whose string would trip the tag's limit first.

Common questions

Is Christmas Tree Lab free?

Yes. It runs in your browser and there is no paid tier. A free account adds saving and sharing, but nothing on this page is behind a paywall.

Does my child need an account to try it?

No. The demo on this page is the complete lab with a decorated fir. Make a free account to save a tree, share it, and hang ornaments made in Ornament Lab.

Is the circuit how real lights work?

Yes, for the common kind of mini lights: bulbs wired in series in sections of 50, a shunt in each bulb that carries the current past it when it burns out, and a tag that limits how many watts can be plugged end to end. The watts on each string start from real tags and can be changed to match yours.

Can students 3D print it?

Yes. A desk tree prints the tree's own outline as tiers on a trunk with a round base and its topper on top, since needles do not print. It needs no support except perhaps for the points of a star.

Can students use ornaments they made?

Yes. Ornaments made in Ornament Lab and saved to the student's Files hang on the tree, at their own size and look. Students can also make simple ornaments on the tree itself.

What ages is it for?

Ages 7 through high school. Picking a tree, lighting it and hanging ornaments works for younger students. The circuit, the watts and the light rules fit older ones.

Still have a question? Ask us, and a person will write back.

Where to go next

Start with Christmas Tree Lab

Trying it costs nothing and takes about five minutes. An account is what makes the work last.

Christmas Tree Lab is one of the making apps on the platform. It is a place to make things, not a course, and it is not a substitute for a teacher: it is at its best when an adult asks the questions above and takes the answers seriously.
Page last reviewed November 2026.
Google, Google Classroom and Chromebook are trademarks of Google LLC.