lisyarus blog
- Popular posts
- 7
- Total points
- 1,846
- HN comments
- 800
- Rank
- #927 personal
Visit lisyarus.github.io → On Hacker News Mar 2024 – May 2026
Software Engineering 6Games & Graphics 5Web & Frontend 1Math & Algorithms 1Programming Languages 1
Simulating water over terrain
If you don't want a long an boring introduction, skip directly to the virtual pipes method description . I will get a little bit sad if you do this, though x)
It's OK to compare floating-points for equality
NB: The title of this post is an intentional clickbait. Even though I do stand for its statement, a more honest one would be something like: It's NOT OK to compare floating-points using epsilons.
Particle Life simulation in browser using WebGPU
If you don't care about the explanation and want a direct link to the simulation, here you go .
Making your own programming language is easier than you think (but also harder)
In mid-December last year I started making my own programming language. It's waaay far from any production quality yet (though I did manage to write a working 1k LOC Monte-Carlo path tracer in it), but the project is on pause right now, so I figured it's a good time to write something about it.
Implementing a tiny CPU rasterizer (2024)
In the OpenGL course I'm teaching at a university, my students learn that the GPU uses something called rasterization to draw stuff on the screen. Then, I explain how — in theory — rasterization works, e.g. how would one write the code to draw a fixed triangle on screen. Of course, the GPU does that for us, but it is…
Implementing a Tiny CPU Rasterizer
This is a tutorial series on implementing a basic CPU rasterization engine in C++ from scratch. No GPU involved, just drawing pixels with our bare hands, emulating what the GPU usually does for us.