TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Raycasting in JavaScript and React

1 pointsby ahuthalmost 4 years ago

1 comment

ahuthalmost 4 years ago
Author here. I wrote this a couple years ago, and chose JavaScript because it&#x27;s the language I know best.<p>And I used React as a convenient way to display and manipulate the DOM, but of course it&#x27;s not strictly necessary.<p>Overall this was a fun project that stretched the limits of my math knowledge (haven&#x27;t done any trigonometry since high school). Was really satisfying when it finally started working right!