Live demo: https://candtechsoftware.github.io/GameMathViz/
I was having a hard time visualizing 3D game math, so I built this tool to help. If you find it useful too, use it if not, please do not open issue fork it or find something else, this project will be forgotten by me very soon.
This project leverages raylib (using odin's vendored version) and also clay for the UI layouting as I wanted this project to be solely focused on the math visualization while also keeping the dependencies low.
You will need a recent version of the Odin compiler. I am currently using the latest version from GitHub rather than the latest release, although it will probably work with the latest release as well.
brew install odin # macOSTested on Linux but should work on macos and windows (for windows just run the odin compiler commands)
./build.sh # Build in debug mode
./build.sh -release # Build in release mode
./build.sh -run # Build and run
# Flags can be combined
./build.sh -release -runIt compiles with Odin's js_wasm32 target and links raylib + clay with emscripten, so you need emcc on your PATH:
brew install emscripten # for macThen build and preview:
./build_web.sh # outputs the site into docs/
python3 -m http.server -d docs 8080 # open http://localhost:8080