DrA1ex / raytracer-js

Ray-caster / Ray-tracer (2D to pseudo 3D)

Home Page:https://dra1ex.github.io/raytracer-js/

Repository from Github https://github.comDrA1ex/raytracer-jsRepository from Github https://github.comDrA1ex/raytracer-js

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

About

Ray-caster / Ray-tracer (2D to pseudo 3D)

https://dra1ex.github.io/raytracer-js/


Languages

Language:JavaScript 81.9%Language:CSS 11.5%Language:HTML 6.6%