Transparent Cube


Compile on Linux

  • Install clang and glfw3 with your system’s package manager.
  • make run to compile and run the release build.

Compile on Windows

  • Install and set up clang. The sanest set of instructions I’ve found is here.
  • Download the latest 64-bit Windows pre-compiled binary package from here.
  • Unzip it and copy the include and lib-vc2019 folders into lib/glfw_windows/. The folder structure should look like this:
|-- include
|   +-- GLFW
|       |-- glfw3.h
|       +-- glfw3native.h
+-- lib-vc2019
    |-- glfw3.dll
    |-- glfw3dll.lib
    +-- glfw3.lib
  • .\build.bat && .\out\release\transparent-cube.exe to compile and run the release build.


WebAssembly and WebGL

Approximating Trigonometric Functions