Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAssembly & OpenGL (C examples)

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 WebAssembly + OpenGL + Webpack

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages