A ray caster in Typescript and HTML Canvas with annotated explanations in ASCII art.
shikaan.github.io/raycast-tutorial
The code is the tutorial! Jump to app.ts to get started.
This repository is the code for a web application running a ray caster in the browser. All the code is thoroughly annotated and includes ASCII art explanations where drawings are necessary.

The tutorial expects minimal familiarity with high-school level trigonometry, but all you really need is in the Wikipedia page for trigonometric functions.
npm ci
npm start
If you'd like to report an issue, feel free to create a GitHub issue.