Add tutorial docs and interactive playgrounds

Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
This commit is contained in:
Amp
2026-08-19 14:20:59 +00:00
co-authored by heaust
parent 6bbf8039e4
commit d34722d66d
57 changed files with 5063 additions and 767 deletions
+6 -7
View File
@@ -1,10 +1,9 @@
# Yawn examples
- `index.html` is the browser landing page for the complete example and recipes.
- `render-graph-studio/` is the complete browser integration with FXNode, JSO,
external pipelines, shared glTF import, mesh handles, and picking.
- `cookbook/` contains small copyable recipes, each focused on one public API.
- `playground/` is the editable code-and-preview environment used by the docs.
- `render-graph-studio/` is the advanced FXNode and JSO graph playground.
- `shared/` contains browser bootstrap utilities shared by those playgrounds.
Start the examples index with `npm run examples`. The cookbook modules are plain
ES modules and accept a `YawnCore`, mesh, instance, or worker endpoint where a live
renderer is required.
Start the playgrounds and VitePress tutorials together with `npm run examples`.
Copyable recipes live under `docs/recipes`; the example server contains only
runnable playground code.