Skip to content

Commit

Permalink
update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Aug 16, 2024
1 parent 177af53 commit 910c574
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions sandbox/threejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,21 @@ Requires emscripten + cmake(emcmake)

See `bootstrap-emscripten-linux.sh` for details.

## Setup
## Simple example

We use `bun` + TypeScript.

Copy `tinyusdz.js` and `tinyusdz.wasm`, and USD files to `simple` folder.
Then in `simple` folder,

```
$ bun install
```

Then run

## API design
```
$ bun run dev
```

Use GLTFLoader-like API as much as possible.

0 comments on commit 910c574

Please sign in to comment.