Skip to content

zaccnz/transform_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transform playground

try it out online at zaccnz.github.io/transform_playground

this is a tool intended to help me build intuition on how the opengl transformations work, and how we can combine these transformations to build a scene.

started in 2022 semester 1 but not completed. the original code used OpenGL immediate mode, freeglut, GLM and imgui. however, I have decided to rewrite it using Raylib so that it can work cross platform.

technologies

build instructions

cd transform_playground
mkdir build && cd build
cmake ..

wasm build instructions

after running source emsdk_env.sh or emsdk_env.bat (in emsdk path) for Linux/macOS or Windows, respectively:

cd transform_playground
mkdir wasmbuild && cd wasmbuild
cmake .. -DCMAKE_TOOLCHAIN_FILE=[EMSCRIPTEN_SDK_PATH]/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DPLATFORM=Web
make