An open API service indexing awesome lists of open source software.

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

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)