Skip to content

caadxyz/example-emscripten-webgl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emscripten and WebGL example

This small project demonstrates a simple application that runs as normal Desktop application as well as WASM script in the browser.

For opening the window and creating an OpenGL context, the framework GLFW is used.

The following command builds the emscripten files:

mkdir cmake-build-emscripten
cd cmake-build-emscripten
emcmake cmake ..
make

To start the generated WASM in the Browser, open the .html file in the cmake-build-emscripten/ folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 49.5%
  • C 43.7%
  • Objective-C 3.5%
  • CSS 1.0%
  • JavaScript 1.0%
  • CMake 0.9%
  • Other 0.4%