Scientist | Software Developer | Engineering Manager
Destination for developers and advanced students seeking to understand the deep connections between computer science theory, mathematics, and practical software engineering. We explore the 'why' behind the code.
Dr. Pavel Vlašánek
For over 30 years, we’ve been playing by the rules. We scrounged for medikits, hid from Imps, and let the game decide when we died.
Well, I think it's time we changed it! We are going to compile the DOOM from scratch and rewrite the game logic to suit us.
666 Health. Blind monsters. A Cyberdemon on steroids.
See you on Friday!
— Pavel
1 day ago (edited) | [YT] | 9
View 1 reply
Dr. Pavel Vlašánek
I finally fixed Duck Hunt!
For many years, he laughed at us. Every time we missed, he was there mocking us. Well, payback time is coming.
We are going to build a game mashup in C++ from scratch with one specific goal: To combine Duck Hunt with Doom and finally give that dog what he deserves.
Infinite ducks. Shotgun. No mercy.
See you on Friday!
— Pavel
1 week ago | [YT] | 12
View 3 replies
Dr. Pavel Vlašánek
We’re going for text and movies again! In the next video, we build a TRON Light Cycle game using nothing but C++ and the Windows API. No engines, nothing fancy. You’ll learn how to hijack the console to bypass screen flickering with double buffering, implement a "Square Pixel" rendering, and code a shuffling AI opponent that actually tries to outsmart you.
See you on Friday!
— Pavel
2 weeks ago | [YT] | 9
View 1 reply
Dr. Pavel Vlašánek
There will be no new video this week BUT I am preparing a 2025 overview of the topics we have discussed so far. In the meantime, you can join the Discord server I started recently to stay in touch!
discord.gg/7uCXxhHRBh
See you there 🙂
- Pavel
1 month ago | [YT] | 5
View 0 replies
Dr. Pavel Vlašánek
Want to build the Matrix rain from scratch? Next video is a C++ text-mode deep dive. We’ll take a look at manual console control, animated streams, glowing heads, and flickering symbols. I’ll walk through every step and explain the why behind the code as always.
See you on Friday!
— Pavel
1 month ago | [YT] | 15
View 3 replies
Dr. Pavel Vlašánek
Math isn’t just numbers and formulas, it can draw! In the next video, I show how a few simple equations can create some amazing visuals using a pixel shader.
We’ll look at:
The Batman Logo - using pixel-by-pixel logic to fill in the shape
Phyllotaxis Spirals - the golden angle behind sunflower patterns
The Mandelbrot Set - the classic fractal, colored by iteration
Plasma Effects - layered sine waves that animate organically
Clifford Attractors - chaotic, fractal-like structures from simple rules
Along the way, I also talk about how different UV mappings make each shader look totally different.
See you on Friday!
— Pavel
1 month ago | [YT] | 15
View 1 reply
Dr. Pavel Vlašánek
What’s the difference between a programmer’s point of view and a hacker’s point of view? How does your C++ code actually look when an attacker inspects your binaries?
Let me walk you through a demonstration showing how your "secret" password in the code can be easily revealed if the attacker knows what they’re doing, and also how you can hide it just a little bit better.
A new video is coming with C++ on one side and Binary Ninja on the other!
See you on Friday!
— Pavel
1 month ago | [YT] | 15
View 1 reply
Dr. Pavel Vlašánek
Adding randomness to your program seems simple… until you realize not all "random numbers" behave the same. In the next video, we will discuss random number generation and probability distributions, all demonstrated in C++.
We explore:
✔️ Uniform vs. non-uniform randomness
✔️ Why some values appear more often than others
✔️ How Bernoulli, Binomial, Poisson, Exponential, and Normal distributions actually behave
✔️ What happens when you generate 100,000 samples for each of them
See you on Friday!
— Pavel
1 month ago | [YT] | 11
View 1 reply
Dr. Pavel Vlašánek
In the next video, we’re going back to basics - the foundation of everything we do in 3D!
So, how does a 3D model in your game actually make its way onto your flat 2D screen? It starts out in 3D space with (x, y, z) coordinates but by the end, it’s just a bunch of (x, y) pixels.
We're going to follow a single 3D point all the way from its original file, watch it get placed in the game world, see how the camera's position affects it, and then see the wild math trick that "flattens" it with perspective.
Model Space -> World Space -> View Space -> Clip Space -> Screen Space
By the end, you’ll see exactly how all the math and transformations come together to make 3D worlds look real.
See you on Friday!
— Pavel
2 months ago | [YT] | 21
View 4 replies
Dr. Pavel Vlašánek
Ever wondered what a 3-year Computer Science degree actually covers?
Next video will be a complete overview of what a CS bachelor should know. I’m going to walk you through the entire curriculum, including:
* Programming & Math Foundations
* Data Structures & Algorithms
* Operating Systems & Databases
* AI, Machine Learning & Cybersecurity
...and so much more.
The best part? I’m doing it all in THREE-ish MINUTES.
See you on Friday!
— Pavel
2 months ago | [YT] | 6
View 2 replies
Load more