News for hackers. Stuff that matters.
Re:Show HN: 3D Raycasting Engine in JavaScript by tantalor on Tuesday March 31, 2020 @02:49PM (#22741027)
Perspective does not require 3d.

You can have perspective in flatland.

Re:Show HN: 3D Raycasting Engine in JavaScript by ahuth on Tuesday March 31, 2020 @03:35PM (#22741558)
You're right, this is definitely not really 3d. It's more of a trick to give the illusion of perspective to a 2d scene.

Made for some nice games in the early 90s, though!

Re:Show HN: 3D Raycasting Engine in JavaScript by vokep on Tuesday March 31, 2020 @02:58PM (#22741125)
I think you're right, its a sort of pseudo3d. Its a 3D presentation of a 1D (2D environment) perspective. Cut a horizontal row of pixels from the center of the screen and you have its flatland point of view.
Re:Show HN: 3D Raycasting Engine in JavaScript by tmilard on Tuesday March 31, 2020 @08:17PM (#22744300)