Skip to content

Press button ๐Ÿ‘‰๐Ÿ”˜, get Christmas tree lights ๐ŸŽ„โœจ

License

Notifications You must be signed in to change notification settings

crcastle/castle.christmas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

29 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

High Energy, Low Power: A Bluetooth Christmas Story

The button

My 2 year old nephew, Castle, likes pushing buttonsโ€”especially ones that turn lights on. When a Christmas tree appeared one year, and lights were put up, he was very excited. At the same time, I was experimenting with Puck.js, a programmable low-power bluetooth button, and had a brainwaveโ€”I could combine my nephew's love of buttons and of lights. A true Christmas miracle.

Armed with a Puck.js and a bluetooth-powered power outlet, I decided to make the Christmas lights magic. I dug into the code, Puck.js documentation, and seemingly oft-ignored specifications, eventually reverse engineering the whole thing. The result was this:

Screen recording of site

The interactive instruction manual

But that wasn't enough. I decided to build a site around it, showing how it workedโ€”an interactive instruction manual you might sayโ€”while learning more about design, SVG animation, and the occasional perils of the tools we choose to use.

[INSERT GIF OF castle.christmas]

All so my nephew could press a button and see some magic happen.

Thanks

Most of the vector graphics: Vectors by Vecteezy

License

See LICENSE

Copyright (c) 2019 Chris Castle

About

Press button ๐Ÿ‘‰๐Ÿ”˜, get Christmas tree lights ๐ŸŽ„โœจ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published