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:
+6
-7
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user