Technology Wishing Well
/0 Comments/in Advanced/by JonathanTechnology Wishing Well
Caution
We never really did finish writing up this project before we headed off on our next ridiculous Maker Faire build. And then the one after that was a revamp of this one, renamed ‘Pirograph,’ which – you guessed it – we never really finished writing up either.
One of these years I’ll find time to make a really good version of this project, and will probably write it up as a tutorial for MagPi magazine or something. But I wouldn’t hold your breath. If you’re a final-year student at Northumbria who’d like to explore a project at the intersection of OpenGL, coding instruction/education and computer art… please drop me an email!
Maker Faire is an international network of events celebrating people who make, craft, build and do, using technologies old and new. The movement started in California ten years ago, with the first international Maker Faire starting a couple of years later not merely ‘right here’ in the UK, but right here in Newcastle. Maker Faire UK is a big deal: it’s more than 100 exhibitors and ten thousand visitors gathering at the Centre for Life for two days of show and tell, hands-on experience, performance, and invention.
For last year’s Faire, Think Physics built a family activity – the Light Wall – and a pendulum wave piece which was part instrumented physics demonstration and part musical sculpture.
Our planning for 2016’s Maker Faire UK started even before the last one finished. Both our installations saw a terrific response last year, but we particularly liked the family discussions prompted by the Light Wall. We also enjoyed the technology aspects of the pendulum installation, as the techniques we learned pointed us in some interesting directions with our other work through the year.
So this year, we built… the Technology Wishing Well.
Long-exposure photograph of the Technology Wishing Well installed at Maker Faire UK, 2016. Image: James Brown.

Award–Winning!
We’re proud to say that the Well picked up not one but two ‘Maker of Merit’ blue ribbons from Maker Faire UK, including one from Maker Media VP and co-creator of Maker Faire itself Sherry Huss, who was visiting from San Francisco.
The third ribbon Carol’s proudly displaying here was also from Sherry, for our Light Wall activity (which also picked up a blue ribbon last year). So Think Physics now has two multi-award-winning Maker Faire installations. Yay us!
Wishing Well Gallery
Our pick of some of the best images the Well has produced to date. These pictures build up very gradually – the gallery images took anything from a few minutes to an hour to produce. It’s mesmerising to watch…
What the Well is
A large black turntable disc spins slowly. Above it, a camera takes photographs, and some simple image processing turns all the black parts transparent and adds all the photographs together, displaying the result on a large screen. So far, we have a device which takes photographs of… nothing.
Add a light to the turntable, however, and soon the screen is showing a circle – the path traced by the light as the turntable turns. More lights = more circles.
Add lights mounted on rotating arms, and you get… what, exactly?
The Technology Wishing Well is a device for exploring patterns and the ways rotating objects interact with each other.
How to use the Well
At Maker Faire UK, we invited visitors to make a wish. You need two things to wish at a wishing well: a thing to wish for, and a token to cast into the well. Traditionally the tokens are coins, so for the Technology Wishing Well visitors make illuminated tokens our of coin cell batteries. A battery, LED light, and a twist of black tape, and you’re done.
More challenging is working out your wish. What future technology would you like to see? What are your hopes? Your dreams? Your aspirations? Your concerns, perhaps? Write a note on a card, hold it up to our selfie camera, and the Well tweets your photograph and your wish, along with its own comment.
Then you cast your token into the well, and see how it contributes to the swirling display as it develops.
Make your own Well!
We’re going to write up a proper ‘how to’ guide, based around the tabletop demonstration Well we built. If you’d like to build your own, you’ll need:
- A Raspberry Pi 2 or 3.
- A Raspberry Pi Camera (we haven’t yet tested with the new Camera module v2, but it should be easier to work with and produce better results than the older cameras we used).
- A lazy susan cake turntable. Ikea sell a decent one for £5.50.
- Some black paint or card, to cover your turntable.
- Some way of clamping the camera above your turntable. We used lab retort stands, but you could use an angle poise lamp and some gaffer tape.
- An extension cable for the Pi Camera is helpful, though we didn’t have one for ages and just clamped the Pi itself.
- A motor to turn the turntable is good, though not essential.
- A few LED lights, flat watch batteries, and black tape. Though there’s a lot of fun to be had using things like straws and coloured pens, too.
Problems
The biggest issue with the Well is that it just isn’t very quick: the code draws a few frames per second only, which isn’t as satisfying as we’d hoped. At one point (on a plane to Bangkok, as it happens) I got fairly heavily into Python performance profiling, hoping I’d find a single slow subroutine I could work around. Unfortunately, my conclusion was… er… that Python is a bit slow for this sort of thing.
A couple of years after the Well we rebuilt the system and used a big dual-Xeon workstation to run multiple instances of the algorithm in Processing. That was great in that it allowed us to have eight simultaneous streams going on, but each one ran at only about the same rate as the Python version.
At some point, we’ll curl up with a good tutorial and learn just enough OpenGL to see if we can get the transparency and compositing calculations running on graphics hardware. Because that should look spectacular. But at present rates of progress, we don’t expect this to happen… er… soon.
The Technology of the Well
The list of technology the Well uses surprised us even as we were making it. Partly because it’s a long list, and partly because most of this stuff was reasonably easy to glue together. We’re not great programmers at Think Physics, but with a little perseverance and a lot of Googling we’ve managed to build this wondrous thing. We’re very proud of ourselves, and if we can do this, so can you.
The Well uses:
- A Raspberry Pi (3) and Pi Camera to do all the core image processing. The main application runs in PyGame, using a combination of Pillow and Numpy for image manipulation.
- A second Pi – this time a Pi 2 – to handle the Twitter camera. This Pi also pulls images off the first Pi every so often, to tweet the current state of the Well.
- A third Pi pulls images off the second, displaying a gallery of the wishes of previous visitors. This Pi is as old as they come – an original 256Mb RAM Model B. It’s sloooooow, but it does the job.
- A fourth Pi (maybe a 3? I’m honestly not sure) commands the rotating light robots. It runs the Mosquitto MQTT server for message-passing, and a graphical application written in PyQt.
- The rotating light robots run on Adafruit Huzzah controllers, which are cheap wifi-enabled boards. They’re driving NeoPixel colour-changing LEDs, and are glued to continuous-rotation servos. The package is powered with three AA batteries. We call the robots ‘Skutters’ because they remind us of the robots in the comedy series Red Dwarf. The skutters were built by students from Churchill College Maker Club, which saved us a lot of soldering and fiddling with tiny bits of wire.
- We’ve a wifi hub so we’re self-contained, then we’re routing that network out to the world. We tried really hard to make that router yet another Raspberry Pi, but after a few hours we gave up, plugged a Mac in, and clicked about three buttons. If anyone at the Faire is an ipfw guru we might yet manage to solve this.
- There’s another Pi – another 3 – running a tabletop version of the installation, to demonstrate that all your really need is a Pi, a Pi Camera, and a lazy susan turntable. We bought ours from Ikea for a fiver.
You’ll find all the code we’re running at the project’s Github page. It’s very roughly-presented right now. If you have a Pi Camera it’s really very straightforward to get this stuff running for yourself. We’ve love to see your results, and you might also want to fix some of the bugs and problems with our programs!
Building the Well
The Technology Wishing Well was built mostly by Jonathan Sanderson and Joe Shimwell very gradually over several months (then very frantically over a couple of weeks). We had lots of help from James Brown, and from Miss Brown and the Churchill Community College Maker Club. Here’s what the process looked like:

IMG_1496

IMG_1498

IMG_1503

IMG_1504

IMG_1505

IMG_1507

IMG_1583

IMG_1632

IMG_1566

IMG_1626

IMG_1596

IMG_1586

IMG_1585

Technology Wishing Well

IMG_1634
Newsletter
Legal Policies & Notices
Get Involved
Cookie and Privacy Settings
We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.
Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.
These cookies are strictly necessary to provide you with services available through our website and to use some of its features.
Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.
We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.
We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.
These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.
If you do not want that we track your visit to our site you can disable tracking in your browser here:
We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.
Google Webfont Settings:
Google Map Settings:
Google reCaptcha Settings:
Vimeo and Youtube video embeds:
The following cookies are also needed - You can choose if you want to allow them:
You can read about our cookies and privacy settings in detail on our Privacy Policy Page.
Privacy Notice and Cookies 2019