An animation prototype for Berkie's video feed. Pick a state to see how Berkie behaves as a meeting participant, and compare three ways of showing that it's talking.
The animation takes two inputs: a state, and a voice level from 0 to 1 sampled from the TTS audio (about 30 times per second). Without a level, speaking uses a simulated voice.
berkie.setState('thinking');
berkie.setState('speaking');
berkie.setLevel(0.72); // per audio frame
berkie.setState('hand');
Render the page at 1280×720, 30fps, as the bot's camera feed. Motion never flashes, which keeps it safe for photosensitive viewers.