Shadow caster 2D based on javidx9 C++ implementation. For more information behind the math check out redblobgames article and/or Nicky Case's article.
Use WASD to move and press the right mouse button to cast light.
Build and install raylib.
mkdir build && cd build
cmake ..
make
You should see the shadow_cast binary in the build folder.