Virtualising baked goods
While something like this could be in some way achieved in Minecraft Raspberry Pi Edition, that was not why a Raspberry Pi was used.
“Raspberry Pi provided an easy way to interface with the analogue-to-digital converters needed to read the wind turbine voltages,” Stephen says. “Along with sufficient computing power to serve a web application from within the cake itself, using Raspberry Pi enabled me use the same software architecture (Python, Flask, HTML) as I have used professionally. Sourcing the right HAT to measure nine voltages was very easy."
The virtual cake instead uses looping video overlaid with candle GIFs served via a web app in a clever way, as Stephen explains:
Proof in the dessert
Despite the best efforts of developers, sometimes an interface is not always clear to the user – especially when they’ve just turned nine.
“I was slightly nervous that the children would find it too abstract, but they worked it out pretty quickly,” Stephen mentions. “They saw the connection between the plastic wind turbines on the cake and the candles on the screen, and worked out that you could turn the on-screen candles off by blowing on the wind turbines. There was much laughter and smiles.
The children were also very pleased to discover that there was actual cake underneath it all.” If only there were cake underneath every interactive Raspberry Pi project.