Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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.sh

cd ..
```

### Running the demo

```
git clone https://bitbucket.alexandra.dk/scm/cg/raykarstenwebasm.git

cd raykarstenwebasm

chmod +x runMake.sh
chmod +x setEnv.sh

./setEnv.sh
./runMake.sh
```