| Demo | Main test/demo which demonstrates most features of the implementation |
| example_asyncify |
The purpose of this example is to demonstrate how to use asyncify which allows the code to be written like you
would for a normal desktop application |
| example_hi_dpi |
The purpose of this example is to demonstrate how to make the window Hi DPI aware |
| example_minimal |
The purpose of this example is to be as minimal as possible: initializes glfw, create window, then destroy it and terminate glfw.
Uses the default shell that comes with emscripten |
| example_resizable_container |
The purpose of this example is to demonstrate how to make the canvas resizable with another container (a
surrounding div) driving its size. The container width is proportional to the size of the window and so as the
window gets resized so does the div and so does the canvas |
| example_resizable_container_with_handle |
The purpose of this example is to demonstrate how to make the canvas resizable with a container that has a handle.
The handle can be dragged around (left mouse drag) and the div is resized accordingly which in turn resizes the
canvas, making the canvas truly resizable like a window |
| example_resizable_full_window |
The purpose of this example is to demonstrate how to make the canvas resizable and occupy the full window |