Skip to content

DrA1ex/raytracer-js

Repository files navigation

Raytracer-JS

Simple 2D raytracer/raycaster implementation.

Desktop: Use WASD to move and Mouse to control camera

Touch: Swipe Left/Right to look around; Swipe Up/Down and hold to move

image

Links

  • Ray-casting mode (no reflections): link

  • Ray-casting mode (1 reflection): link

  • Ray-tracing mode (1 reflection): link

  • Ray-tracing mode (4 reflections): link

  • Ray-tracing mode (8 reflections): link

image