Skip to content

sitano/WebAssemblyOpenGL

 
 

Repository files navigation

WebAssembly & OpenGL (WIP)

This is a boilerplate example of how to port over a typical OpenGL project with Emscripten to produce a .wasm file for browsers.

Compilation and Serving

  • Follow the steps here to get ready to comile WebAssembly
  • Git Clone
  • cd to the root of the newly cloned directory
  • Use the makefile to either build, clean up, or make a distribution version (build directory only) of the repo
    • Build: make
    • Clean: make clean
    • Build, but remove objects leaving the build dir: make dist
  • npm run start to serve demo

About

C++ project with WebAssembly + OpenGL + Webpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 43.7%
  • C 38.8%
  • JavaScript 10.1%
  • CMake 4.7%
  • Makefile 2.2%
  • HTML 0.3%
  • CSS 0.2%