GitCloud Screen: an Android app for a projector
My own app for an Android 11 projector: a looping scene in the system colours plus a clock. The server renders the graphics on its GPU, the projector only plays video.
Task
The projector showed the vendor launcher. It was supposed to show something calm and consistent with the rest of the system, and the device has 1 GB of memory, a weak CPU and Android 11 without root, so heavy graphics on it are out.
Solution
The scene is written in GLSL, rendered on the server's GPU and encoded as a video loop. The app plays the file and draws a clock, and takes its colours from the GitCloud core palette at build time. Every version of the scene goes through automated image checks; a failed one never reaches the screen. Nightly chapters, in which a language model develops the scene, started on 11.11: the first one failed the checks, so the previous version stayed on screen. An earlier app for the same projector received a video stream with the agent avatars.
Result
- 74 KB app, built without Gradle
- No network permission: only a video file and a clock
- 7 automated scene checks: compilation, brightness, overexposure, motion, loop seam, flicker, frame time
My role
Idea, app, scene renderer, image checks and deployment over ADB.