⚡ Mascot state machine
Build a mascot
state machine.
Connect your mascot’s poses on a graph. Vibe Nanny generates every move between them, and your app decides where the mascot goes next.
Now: RestUnlocked evolution: 0/2
Click a state.
Feed him and play with him to unlock his evolution.
States can change who it is
Bao listened to music.
Then he evolved.
A companion can evolve once, shaped by what happened to it. Both forms live in one graph as variants of the same mascot, so he still looks like himself.
Now: RestUnlocked evolution: 0/2
Click a state.
Feed him and play with him to unlock his evolution.
From Studio to your code
Set an input.
Your mascot reacts.
import { MascotPlayer } from "@vibenanny/player";const player = await MascotPlayer.load({ canvas: "CANVAS_ID", element: document.querySelector("#mascot"),});// When the user answers correctly…player.setInput("answer", "correct");// …and when they go quiet for a while.player.setInput("idle", true);▶
⌘Web player
Drop the player into any page and drive it with inputs.
Mac runtime
Run the same graph as a floating desktop mascot.
See the Mac runtime ↗Start with a little character
Make something
with personality.
Start with one character. Give it every pose, move and line your product needs.