- 18 hours on-demand video content
- Lifetime access
- Live meetup
- Downloadable resources and exercises
- Certificate on completion
- Access on mobile and desktop
- Secure checkout via Credit Card or PayPal
- 14-day money back guarantee
- Last updated August 2024
$59.99
ENROLL NOW FREE PREVIEW
This course will teach you how to create a complete raycasting engine from scratch. We'll use an algorithm similar to the one used in Wolfenstein 3D. The final project will be coded using both JavaScript and C. It will implement player movement, 2D map view, 3D wall projection, textured walls, sprites, and other optimization techniques.
This course will be divided in two important parts:
1. The first part of the course uses JavaScript to cover the theory and the math behind the raycasting algorithm. JavaScript is a simple high-level scripting language that helps us not get too distracted with implementation details.
2. The second part of the course uses the C programming language to implement a compiled version of our raycaster, including textured walls and sprites. We'll also use C to discuss important optimization and performance aspects of our code.
You'll need a web browser that can run JavaScript and a small C compiler. All these tools are cross-platform, so you can follow along with either Windows, macOS, or Linux!
The Wolfenstein 3D raycasting algorithm we'll learn is heavily based on trigonometry, so make sure you have pen and paper ready for the lectures. I will make sure we review and understand every formula we find along the way!
This course has no prerequisites. We'll cover all the math and the code as we go along, so even beginners with no prior experience are welcome to join!
Other raycasting tutorials out there are either too long or overwhelmingly complex. This course tries to be as beginner-friendly as possible.
We never skip any of the math or any other implementation detail. Everything is always taught from scratch, and you get to see the code evolving line by line in front of your eyes!
Gustavo Pezzi is a university lecturer in London, UK. He has won multiple education awards as a teacher and is also the founder of pikuma.com.
Gustavo teaches fundamentals of computer science and mathematics; his academic path includes institutions such as Pittsburg State University, City University of London, and University of Oxford.




73% of our students come back for another course
We don't offer discounts on our courses. Ever.
"This is my first review of a Pikuma course, but you can guarantee that it will not be my last as I have already purchased almost all the other courses Gustavo has put together.
I have always thought of myself as a visual learner and have never enjoyed endlessly trying to parse textbooks while trying to grasp a new concept, so I will often look for video based explanations or courses on topics I am interested in. As I am sure most of you can attest, most of these fall well short of being useful, both in the instructors communication and, often, the course material itself.
What Gustavo has put together here is absolutely unmatched, not just in content but in the manner in which it is taught. I feel absolutely comfortable and competent in approaching the topics covered and expanding on these topics myself. He does what no-one else does well, he provides that absolutely solid base of in-depth understanding of the core principals upon which everything else stems. (The most insane part of all this is the outrageously reasonable prices at which he sells these courses, infinitely better than the others at a fraction of the price!)
I am a far better programmer now than when I started, and I have what I didn't have before, confidence in my own competence. Couldn't recommend it more highly."
"I really enjoyed learning the raycasting techniques that were used in the original wolf3d codebase. It gives a great insight into the limitations and constraints of game engines during that time period. The lecutures are easy to follow with good examples of the theory using trigonometry."
"I just finished this course, and all I can say is that it's amazing!
Gustavo Pezzi is truly outstanding, everything is clearly explained, and no topic is rushed.
I can't wait to start another course... the only challenge is deciding which one to take next!"
"Great course! I was banging my head against the wall trying to understand raycasting from different tutorials on the internet. This is by far the best one! It goes in-depth on raycasting, which is appreciated, and it takes you by the hand all the way to the end. Gustavo is such a great teacher!"