A pocket companion can hang from a bag, lie on a table, or rotate in a hand. If its face stays fixed to the circuit board, the character may spend much of the day sideways. An inertial measurement unit, or IMU, gives the software enough motion context to keep the expression visually grounded.
Orientation is a character behavior
At the simplest level, the firmware can detect which direction is down and rotate the face toward upright. But instant rotation at every tiny movement would look nervous. The system needs thresholds, smoothing, and a clear rule for when a new orientation becomes intentional.
That transforms stabilization into animation direction. The eyes may ease into a new angle after the body crosses a threshold, pause during uncertain motion, and settle only when the device becomes stable again.
The sensor is noisy; the experience should not be
IMU readings naturally include vibration and small changes. Raw data can make graphics jitter, especially on a keychain that swings while someone walks. Filtering reduces noise, while hysteresis prevents the face from flipping back and forth near a boundary.
The right settings depend on the physical product. A desk object can respond slowly. A wearable object needs to ignore repetitive motion while remaining ready when the owner deliberately turns it.
Movement can do more than rotate
Once motion is stable enough to trust, it can contribute to personality. A quick lift might wake the face. A gentle tilt could shift its gaze. A long period of stillness could lower its energy. Those behaviors should be tested together so they do not compete.
For Oneira, the design goal is not to expose sensor data. It is to make the face feel attached to gravity, movement, and the hand holding it. When that connection works, owners notice the character—not the math.
The short version
- An IMU lets the face react to orientation and movement.
- Smoothing and hysteresis prevent visible jitter and rapid flipping.
- Sensor behavior should serve personality rather than show off raw data.
questions, answered.
What does IMU stand for?
Inertial measurement unit. It typically combines motion sensors that help software estimate acceleration and orientation.