Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aivclab/raykarstenwebasm
Tutorial Web Assembly and Ray Casting
https://github.com/aivclab/raykarstenwebasm
demo ray-casting
Last synced: 12 days ago
JSON representation
Tutorial Web Assembly and Ray Casting
- Host: GitHub
- URL: https://github.com/aivclab/raykarstenwebasm
- Owner: aivclab
- License: apache-2.0
- Created: 2020-01-10T13:13:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T13:24:04.000Z (about 5 years ago)
- Last Synced: 2024-11-18T11:28:36.444Z (2 months ago)
- Topics: demo, ray-casting
- Language: C++
- Homepage: https://medium.com/@trier.t/ray-casting-in-web-assembly-part-1-81662a341669
- Size: 396 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![header](.github/header.png)
# RayKarstenWASM
Tutorial Web Assembly and Ray Casting
[Link to article](https://github.com/aivclab/RayKarstenWebAsm)
## Quickstart
Following is a quickstart guide to get your computer setup for running the demo
### Get Emscript
#### Get the emsdk repo
```
git clone https://github.com/emscripten-core/emsdk.git
```#### Enter that directory
```
cd emsdk
```#### Download and install the latest SDK tools.
```
./emsdk install latest
```#### Make the "latest" SDK "active" for the current user. (writes ~/.emscripten file)
```
./emsdk activate latest
```#### Activate PATH and other environment variables in the current terminal
```
source ./emsdk_env.shcd ..
```### Running the demo
```
git clone https://bitbucket.alexandra.dk/scm/cg/raykarstenwebasm.gitcd raykarstenwebasm
chmod +x runMake.sh
chmod +x setEnv.sh./setEnv.sh
./runMake.sh
```