mirror of
https://github.com/storytold/filmcraft.git
synced 2026-10-24 10:10:05 -06:00
post and repaint wake the egui context that start stores in a private thread-local. An app that embeds FilmCraft and builds WebApp in its own eframe runner had no way to set it, so posted actions and window.filmcraft requests waited for the next input event. start now calls the same set_context. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
filmcraft-web
FilmCraft in the browser (wasm32): the engine and egui UI on eframe's web runner, with browser
implementations of the host services (Blob media reads, downloads, OPFS auto-save and recovery,
WebAudio output, WebCodecs decoding) and the window.filmcraft agent API.
Build with cargo xtask web [--serve PORT]. Toolchain, architecture and the API: docs/web.md.
web/ holds the static files copied next to the generated filmcraft_web.js / .wasm;
tests/smoke.mjs is a dependency-free headless-Chrome smoke test.