Skip to content

Small example of WebGL rendering with Emscripten & WebAssembly

License

Notifications You must be signed in to change notification settings

juj/webgl_render_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webgl_render_test

Small example of WebGL rendering with Emscripten & WebAssembly

Build instructions

Run in terminal:

cd ~
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install sdk-upstream-master-64bit
./emsdk activate sdk-upstream-master-64bit
source ./emsdk_env.sh

cd ~
git clone https://github.com/juj/webgl_render_test.git
cd webgl_render_test
mkdir build
cd build
emcmake cmake ..
cmake --build .
# Now should have produced webgl_render_test.html you can open in Firefox
# For Chrome, run `python SimpleHTTPServer`, or `emrun --no_browser .` to host an ad hoc web server in current working directory,
# then navigate to `http://localhost:8000/` or `http://localhost:6931/`

About

Small example of WebGL rendering with Emscripten & WebAssembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published