Hacker News new | past | comments | ask | show | jobs | submit login

I make a lot of tech for myself for learning, none of which being novel, so maybe this doesn’t exactly fit.

I made a raycasting engine to learn more about it and I’m in love. It’s the most clever thing ever. I can’t believe I have a 3D effect without using a single trig function. The math is so simple you could run it on a 286. Raycasting feels like a magical hack. It has no business being so ridiculously simple for what you get!

I’m taking it a step further and integrating a real-time map editor so you can modify a map as you play.

I’m not sure where to go beyond that, but I’m having a ton of fun.




I’ve been wanting to play around with raycasting as well - I found myself with a sudden interest in so-called boomer shooters and would love to make my own (just for learning and messing around).

Any resources that you particularly liked when learning, or is the stuff I will find when Googling “raycasting engines” all good enough?


I used this one: https://lodev.org/cgtutor/raycasting.html (note this is just chapter 1 of 4 related chapters)

It's decent. In some cases it's a bit clumsy when they try to explain mathematics in natural language, but we can't always have pretty Latex-rendered math functions and graphics. =)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: