Skip to content

Repository files navigation

Notes on ray casting

This is the source code for all the demos displayed in my notes on ray casting.

  • demo1: Basic ray casting + player input
  • demo2: Shading walls based on distance
  • demo3: Texturing walls
  • demo5: Texturing floors
  • demo6: Texturing ceilings
  • demo7: Applying textures to individual cells
  • demo8: Sliding doors
  • demo9: Sprites
  • demo10: Portals
  • demo11: Different floor and ceiling heights
  • demo12: Rotated rendering

Running locally

git clone https://github.com/nielssp/raycasting-notes
cd raycasting-notes
npm i
npm run dev

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages