Watch
1
0
Fork
You've already forked scenelet
0
Scenelet — little scenes, brought to life.
  • TypeScript 67.5%
  • Rust 18.7%
  • JavaScript 8.1%
  • SCSS 5.4%
  • CSS 0.2%
  • Other 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-23 12:57:54 +02:00
editor Add layer groups with shared editing and portable exports 2026-10-23 12:52:22 +02:00
examples/browser Rename scene formats and fix native export and import workflows 2026-10-22 12:41:45 +02:00
runtime Reduce preview rendering and scene archive memory use 2026-10-23 12:29:11 +02:00
tools/viewer Rename scene formats and fix native export and import workflows 2026-10-22 12:41:45 +02:00
.editorconfig Initial project setup 2026-10-22 10:48:46 +02:00
.gitattributes Rename scene formats and fix native export and import workflows 2026-10-22 12:41:45 +02:00
.gitignore Initial project setup 2026-10-22 10:48:46 +02:00
CONTRIBUTING.md Add archive save state, leave prompts, and editor version display 2026-10-22 17:50:05 +02:00
package.json Add grouped undo and redo and synchronize asset previews 2026-10-22 14:41:10 +02:00
README.md Add archive save state, leave prompts, and editor version display 2026-10-22 17:50:05 +02:00

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

  1. Create a project in the launcher and add a scene.
  2. Import images from the asset panel, add layers, and adjust them in the inspector.
  3. Preview animation in play mode, then use Save to keep an editable .sceneletp project.
  4. Use Export .scenelet to package the active scene and its assets for playback.
  5. Run pnpm viewer and 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.