@ybelik/scene-player
v0.1.0
Published
Descriptor-driven view player for bucket-reveal scenes — builds panels and captions from story.json, owns paint/hide transitions. Module C of the ybelik story engine.
Maintainers
Readme
@ybelik/scene-player
Descriptor-driven view player for bucket-reveal scenes — builds panels and captions from story.json, owns paint/hide transitions. Module C of the ybelik story engine.
Use (script tag — primary)
<link rel="stylesheet" href="https://unpkg.com/@ybelik/scene-player/scene-player.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
<script src="https://unpkg.com/@ybelik/reveal-engine/reveal-engine.js"></script>
<script src="https://unpkg.com/@ybelik/scene-player/scene-player.js"></script>Scenes are compiled SVGs from the ybelik story engine
pipeline (generate → trace → compile → reveal). Full API: the header docs in
scene-player.js and the extraction map.
MIT · part of the ybelik story engine monorepo.
