Skip to content

HarryLovesCode/WebAssembly-WebGL-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAssembly WebGL 2

This repository is NOT a project, it is more of a getting started / simple tech demo. This demonstrates Emscripten compiling code then outputting wasm to run in a WebAssembly capable web browser that supports WebGL 2. That said, no WebGL 2 specific code is currently in the repository.

Compilation and Serving

  • Download or Compile the Toolchain.
  • Clone this directory wherever you want (git clone "https://github.com/HarryLovesCode/WebAssembly-WebGL-2")
  • 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
  • You can then use python -m SimpleHTTPServer 8080 and open your browser to localhost:8080.

About

A simple port of the "Getting started with GLFW3" code to valid code for Emscripten compilation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published