https://github.com/zalo/libsm64-three
Emscripten Demo of libsm64 via three.js and Webrio
https://github.com/zalo/libsm64-three
Last synced: 5 months ago
JSON representation
Emscripten Demo of libsm64 via three.js and Webrio
- Host: GitHub
- URL: https://github.com/zalo/libsm64-three
- Owner: zalo
- License: mit
- Created: 2024-10-09T08:50:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-17T01:38:31.000Z (over 1 year ago)
- Last Synced: 2025-09-11T14:55:09.829Z (10 months ago)
- Language: JavaScript
- Homepage: https://zalo.github.io/libsm64-three/
- Size: 616 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [libsm64-three](https://zalo.github.io/libsm64-three/)
A simple testbed for running libsm64 in the browser via [Webrio](https://github.com/osnr/Webrio).
# Building
This demo can either be run without building (in Chrome/Edge/Opera since raw three.js examples need [Import Maps](https://caniuse.com/import-maps)), or built with:
```
npm install
npm run build
```
After building, make sure to edit the index .html to point from `"./src/main.js"` to `"./build/main.js"`.
# Dependencies
- [Webrio](https://github.com/osnr/Webrio) (Emscripten libsm64 Foundation and Reference)
- [three.js](https://github.com/mrdoob/three.js/) (3D Rendering Engine)
- [esbuild](https://github.com/evanw/esbuild/) (Bundler)