3 ms·
Raycasting in JavaScript and React
- ahuth 5y agoAuthor here. I wrote this a couple years ago, and chose JavaScript because it's the language I know best. And I used React as a convenient way to display and manipulate the DOM, but of course it's not strictly necessary. Overall this was a fun project that stretched the limits of my math knowledge (haven't done any trigonometry since high school). Was really satisfying when it finally started working right!