Templates / Scenes and effects
Use it in your site
Put the web player next to the file and mount it on a canvas. Apps and games have runtimes too: see Runtimes.
main.jsweb runtime
import init, * as egg from "./player/egg_web.js";
import { mount } from "./player/egg-player.js";
await init();
const bytes = new Uint8Array(await (await fetch("parallax.egg")).arrayBuffer());
mount(egg, document.querySelector("canvas"), bytes, { machine: "scene" });More templates
See all
Scenes and effectsResponsive bentoA responsive Bento dashboard with Fit.Layout and aspect-ratio breakpoints: switch ratios (21:9, 16:9, 4:3, 1:1, 9:16) to watch it reflow, and click the hero card or LIVE pill to toggle Turbo boost.
Scenes and effectsListen and pick (kids)Pip says a word and the child taps its picture: a lesson as JSON, ask/answer reports, confetti, any Ovling as host.
Scenes and effectsQuiz (kids)A question and four answers the lesson fills in; each answer reports right or wrong.
Scenes and effectsSpell a word (kids)Yumi shows a picture; the child taps its letters in order from a few tiles.