Perfecting anti-aliasing on signed distance functions| blog.pkh.me
These last years, in the context of working on a graphic rendering engine, I've| blog.pkh.me
Doing anti-aliasing on SDF is not as straightforward as it seems. Most of the| blog.pkh.me
The idea that we must always linearize sRGB gradients or work in a perceptually| blog.pkh.me
The idea that we must always linearize sRGB gradients or work in a perceptually| blog.pkh.me
You've most likely heard about gradient noise through the name Perlin| blog.pkh.me
You've most likely heard about gradient noise through the name Perlin| blog.pkh.me
As I'm exploring the fantastic world of indie game development lately, I end up watching a large number of video tutorials on the subject. Even though the quality of the content is pretty variable, I'm very grateful to the creators for it. That being said, I couldn't help noticing this particular bit times and times again: a = lerp(a, B, delta * RATE) Behind this apparent banal call hides a terrible curse, forever perpetrated by innocent souls on the Internet. In this article we will study wh...| A small freedom area RSS
This write-up is meant to present the rationale and technical details behind a tiny project I wrote the other day, WTH, or WindowTitleHack, which is meant to force a constant window name for apps that keep changing it (I'm looking specifically at Firefox and Krita, but there are probably many others). Why tho? I've been streaming on Twitch from Linux (X11) with a barebone OBS Studio setup for a while now, and while most of the experience has been relatively smooth, one particularly striking f...| A small freedom area RSS
In 2015, I wrote an article about how the palette color quantization was improved in FFmpeg in order to make nice animated GIF files. For some reason, to this day this is one of my most popular article. As time passed, my experience with colors grew and I ended up being quite ashamed and frustrated with the state of these filters. A lot of the code was naive (when not terribly wrong), despite the apparent good results. One of the major change I wanted to do was to evaluate the color distances...| A small freedom area RSS
For reasons I'll explain in a futur write-up, I needed to make use of a perceptually uniform colorspace in some computer vision code. OkLab from Björn Ottosson was a great candidate given how simple the implementation is. But there is a plot twist: I needed the code to be deterministic for the tests to be portable across a large variety of architecture, systems and configurations. Several solutions were offered to me, including reworking the test framework to support a difference mechanism w...| A small freedom area RSS
Happy with my recent breakthrough in understanding C integer divisions| blog.pkh.me
Lately I've been transforming a float based algorithm to integers in order to| blog.pkh.me
Out of the blue my Steam started picking a random font I had in my user fonts| blog.pkh.me