- TypeScript 67.5%
- Rust 18.7%
- JavaScript 8.1%
- SCSS 5.4%
- CSS 0.2%
- Other 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| editor | ||
| examples/browser | ||
| runtime | ||
| tools/viewer | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| package.json | ||
| README.md | ||
Scenelet
A desktop editor and lightweight WebGL runtime for layered, animated scenes. Create a scene, export it as a portable file, and display it in a browser without the editor.
- Compose images, text, lights, rain, snow, and vignettes.
- Add motion, sway, image mattes, and clickable actions.
- Save editable projects with shared assets, or export individual scenes for playback.
- Embed the framework-independent runtime in your own application.
Get started
Install Node.js 22.12+ or 24, pnpm 10, Rust, and the Tauri platform prerequisites. From the repository root:
pnpm install:all
pnpm dev
pnpm dev opens the desktop editor. To build an installer, run pnpm desktop:build.
The web UI alone (pnpm --dir editor dev) cannot open or save projects; those operations need Tauri.
Create and share a scene
- Create a project in the launcher and add a scene.
- Import images from the asset panel, add layers, and adjust them in the inspector.
- Preview animation in play mode, then use Save to keep an editable
.sceneletpproject. - Use Export .scenelet to package the active scene and its assets for playback.
- Run
pnpm viewerand select or drop the exported file into the browser.
Open .sceneletp files to continue editing a project. Use Import .scenelet in the editor to
bring an exported scene into a project. Exports include only the assets used by that scene;
images are normalized to WebP.
Browser integration
The runtime guide covers embedding, actions, and cleanup. A plain HTML example loads exported files without a framework or bundler. Static scenes render on demand; animated scenes pause when the page is hidden.
Development
| Command | Purpose |
|---|---|
pnpm check |
Type-check the runtime, editor, and viewer |
pnpm test |
Run runtime and editor regression tests |
pnpm build |
Build the runtime and both web interfaces |
pnpm desktop:build |
Build the native editor and installer |
- Editor: authoring workflow and archive formats.
- Runtime: public API and browser integration.
- Contributing: development checks and change guidelines.
Scenelet is early in development. The runtime is currently consumed from this repository; it is not published to a package registry. This repository does not yet include an open-source license.