Hacker Blogs
Work in progress: 15,409 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #2253

L

Lode Vandevenne

Personal blog · lodev.orgprogrammingmath

Lode Vandevenne's personal blog at lodev.org covers programming and math. Since 2014, 36 different Hacker News readers have linked it 46 times, most often “Raycasting”. No feed was found, so read it on the site itself.

No feed foundVisit the blog
46mentions?
36HN people?
2014–2026first – last linked?
Links on Hacker News per year · peak 8 in 2018

Most-linked posts?

  1. Raycasting
    12 people · 12 mentions · first linked 2019-02-15
  2. Raycasting tutorial: build your own Wolfenstein 3D (2007)
    7 people · 8 mentions · first linked 2014-06-03
  3. Lode's Computer Graphics Tutorial
    6 people · 7 mentions · first linked 2018-11-01
  4. Lode's Computer Graphics Tutorials (2004-2018)
    2 people · 2 mentions · first linked 2016-08-04

What Hacker News says?

  1. lodev has great oldschool tutorials: https://lodev.org/cgtutor/

    Comment linking /cgtutor/

    on “Finland adds the demoscene as a UNESCO intangible world cultural heritage”
  2. Submitted The XOR Texture (2004) as a story · 227 points

    HN discussion
  3. Also see: https://lodev.org/cgtutor/fire.html which is part of: https://lodev.org/cgtutor/

    Comment linking /cgtutor/

    on “How DOOM fire was done”
  4. Submitted Show HN: LogicEmu – Online Logic Simulator as a story · 210 points

    HN discussion
  5. Pretty sure the author followed this tutorial. http://lodev.org/cgtutor/raycasting.html

    Comment linking /cgtutor/raycasting.html

    on “A first-person engine in 265 lines of JS”
  6. Submitted Jmat.js: A new mathematics library in JavaScript as a story · 84 points

    HN discussion
  7. That's incredible. Was this the earliest instance of raycasting in the wild? Good intro to raycasting for those interested: https://lodev.org/cgtutor/raycasting.html

    Comment linking /cgtutor/raycasting.html

    on “New 3D FPS released for 1979 Atari 800”
  8. Submitted LodePNG: All-in-one PNG image decoder and encoder for C and C++ as a story · 56 points

    HN discussion
  9. It's a neat trick of projection, and really easy to hack on and extend yourself once you know the trick. Using your map of the space, cast a ray from the camera position through every column of the display rectangle; using the distance the ray travelled before intersecting the wall, you can calculate the apparent height of the wall seen in that column of the display; so, in that column, draw the wall that high. You…

    Comment linking /cgtutor/raycasting.html

    on “Build your own old-school 3D shooter in a weekend”
  10. Submitted Gammaplex Programming Language (2007) as a story · 13 points

    HN discussion
  11. Doom’s predecessor Wolfenstein 3D was famous for using ray casting, and the Doom engine inherited ray casting and extended it to handle different floor heights. https://lodev.org/cgtutor/raycasting.html

    Comment linking /cgtutor/raycasting.html

    on “The joy of building a ray tracer, for fun, in Rust”
  12. Submitted Gammaplex Programming Language (2007) as a story · 11 points

    HN discussion
  13. There is a great tutorial (it's actually a series of them) which I used: http://lodev.org/cgtutor/raycasting.html It's old and C++ but explains raycasting very well. And there is also a similar project in just 265 JS lines: http://www.playfuljs.com/a-first-person-engine-in-265-lines/

    Comment linking /cgtutor/raycasting.html

    on “Show HN: 3D shooter in your terminal using raycasting in Awk”
  14. Submitted Lode's Computer Graphics Tutorial as a story · 6 points

    HN discussion
  15. I wrote a similar code a few years ago, although it also supported textures (including ground and skybox, unlike the original Wolfenstein). I don't know if it'll be more to your taste but there are afew comments: https://bitbucket.org/simias/wolf/src/873cad46f3c8281e7d9429... the magic happens in wolf_horizontal_intersect. Note that I use fixed point which obfuscates the arithmetic a bit (I was targeting an embedded…

    Comment linking /cgtutor/raycasting.html

    on “A Tiny Wolfenstein-Like Software Engine”
  16. Submitted Raycasting as a story · 5 points

    HN discussion
  17. http://lodev.org/cgtutor/raycasting.html ~200 LOC

    Comment linking /cgtutor/raycasting.html

    on “A Tiny Wolfenstein-Like Software Engine”
  18. Submitted Lode's Computer Graphics Tutorials (2004-2018) as a story · 4 points

    HN discussion
  19. A Wolfenstein engine is pretty simple to replicate, it's basically a 2D top down game projected into the 3rd dimension. Here's how it works. http://lodev.org/cgtutor/raycasting.html A doom engine is a little more involved and requires BSP trees, more clipping/culling and something closer to actual 3d (floors and ceilings with variable heights, geometry that doesn't fit onto a grid). Both of the games used 2d sprites…

    Comment linking /cgtutor/raycasting.html

    on “Doom”
  20. Submitted Lode's Color Converter as a story · 3 points

    HN discussion
  21. Thanks for the hint! That's exactly what I was looking for as I have never looked into raycasting but having an interest in it. Direct Links: - https://nthorn.com/articles/batch_raycaster/ (batch variant) - https://lodev.org/cgtutor/raycasting.html (general intro)

    Comment linking /cgtutor/raycasting.html

    on “A Raycaster in Bash”
  22. Submitted Raycasting tutorial: build your own Wolfenstein 3D (2007) as a story · 2 points

    HN discussion
  23. There are https://lodev.org/cgtutor/raycasting2.html and https://lodev.org/cgtutor/raycasting3.html just FYI

    Comment linking /cgtutor/raycasting3.html

    on “A Raycaster in Bash”
  24. Submitted Lode's Computer Graphics Tutorial as a story · 1 points

    HN discussion
  25. Beautiful. Correct me if I'm wrong, but this looks like a bash version of https://lodev.org/cgtutor/raycasting.html Edit: ah, just noticed this is in the readme :(

    Comment linking /cgtutor/raycasting.html

    on “A Raycaster in Bash”
  26. Submitted Lode's Computer Graphics Tutorial: Raycasting as a story · 1 points

    HN discussion
  27. When I was in middle school, I had dabbled in coding but only knew how to make simple CLI applications that ran on the terminal. Then one day I stumbled on Lode's Computer Graphics Tutorial and I finally had easy to understand examples of how to open a window and draw some graphics on the screen. That led me to recreating a bunch of retro games (Pacman, Snake, Space Invaders, etc) that would not have been possible o…

    Comment linking /cgtutor/

    on “The XOR Texture (2004)”
  28. Submitted Turing Tumble Emulator in JavaScript as a story · 1 points

    HN discussion
  29. https://lodev.org/cgtutor/examples.html#screen They're set by screen, exactly!

    Comment linking /cgtutor/examples.html

    on “The XOR Texture (2004)”
  30. Also compare this: https://lodev.org/cgtutor/raycasting.html It's a bit old but also explains a lot of the underlying logic. And it's not written in javascript so it may be more readable to some.

    Comment linking /cgtutor/raycasting.html

    on “A first-person engine in 265 lines (2014)”

Search all of HN for lodev.org

Linked by the same people?