ESP-Mosaico: MosaiCue, a small app to film a drawing from three angles in one gesture
- Log
- 30 of 39
- Date
- Reading
- 4 min read
The board was unboxed and the voice diagnosed (the first article tells that part). What remained was to see what it could do. I expected nothing in particular: the ideas came while talking with Claude Code, starting from what we already do together around the robot, Reachy, and its videos.
A clapper first, to test the board
I needed an app that would use the screen, the sound, the LEDs and the motion sensor. A film clapper fitted: a scene number, a take number, a stopwatch, a white flash and a beep to line up picture and sound in the edit.
Each feature tested brought its own small puzzle, solved with Claude Code:
- The LEDs only lit on one side. The module plugs in on the left or the right, and the LED pin changes with the side. Claude Code found in the documentation that each module carries a small memory saying what it is and where it is plugged: the app reads it, and the LEDs follow the module.
- The screen cannot rotate text. For the digits to follow the board when you turn it, they are drawn stroke by stroke, like on a clock radio, and the motion sensor tells which way is down. First try: two sides out of four upside down. One line swapped, and everything fell into place.
- Clapping with a finger on a 5 cm screen does not feel natural. So you clap by shaking the board.
The clapper becomes MosaiCue
After adding tool after tool, the clapper was no longer a clapper. The app is now called MosaiCue, for Mosaico and cue, the signal that tells someone on set to start. It brings together:
- light, compared with the last good take;
- a bubble level, to set the camera straight;
- a countdown of 3, 5 or 10 seconds, which claps on its own;
- the shooting plan: you prepare the scene in the conversation with Claude Code, say “go”, and the instruction shows up on the board. At the end of each take, the board asks “Good take?”, YES in green, NO in red.
One technical detail set the architecture: the board cannot call a computer. It can, however, write a small file that the Mac reads every two tenths of a second. That is enough for everything else.
Why three cameras
The idea comes from another project. On Zarumbatus, I may show drawings as they come to life, from several angles. The problem, when you film alone, is the technical side: start three cameras, check three frames, stop them, name the files. None of that time goes into the drawing.
MosaiCue takes care of it. On the first beep of the countdown, the Mac starts every camera; at the end of the take, it stops them, files the videos by scene and take, and keeps the shooting log. The clap is in every video, which is enough to sync them in the edit.

Three cameras, as many surprises
The setup was not plain sailing, and this is where Claude Code helped most: each blocker was measured, understood, then worked around.
- The cameras would not open, without a single error message. Cause: macOS did not allow camera access from the session the agent was running in. Launched from the Terminal, the same program worked first time.
- The default picture format was refused by both cameras. They had to be given their own.
- The low grazing view was meant to come from an iPad Pro. Mirroring its screen to the Mac over AirPlay goes full screen and turns every other screen off. By cable, macOS does not offer its screen as a video source. In the end an iPhone, which the Mac recognises as a webcam, took the grazing view.
- The overhead camera kept swinging back to my face. Its automatic tracking was still on, even though reported off. Once truly disabled, it held its position above the sheet.
- The monitor: to see the three frames without leaving my seat, a page shows the three angles live on an iPad mini from 2012, which had already been brought back into service.
The first drawing
A white sheet, a marker, three angles: the camera above the sheet, the Mac’s camera for the face, the iPhone lying flat at paper level. One take of one minute fifty-four, marked good. The three videos start together, and a rough cut switches angles every four seconds.
What failed: the board’s camera, plugged in for a time-lapse of the drawing, did not take a single picture. And the overhead camera, tilted towards the sheet, bumped into the edge of the laptop: the lower half of the picture is blurred. Soft focus was not on the programme.
The takeaway
Setting everything up went much faster than by hand, and when it was time to draw, there was only one gesture left to make. The board did not do it all alone: it gave a remote to a Mac that films, and Claude Code linked the two, finding each time why something did not work.
What’s left
Fix the time-lapse, move the overhead camera, and answer the board by voice, transcribed on the Mac rather than in China.