Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]

A small freedom area RSS

Sort By

Recent [alt+2]
A series of tricks and techniques I learned doing tiny GLSL demos In the past two months or so, I spent some time making tiny GLSL demos. I wrote an article about the...
7th Dec 2025
1

A series of tricks and techniques I learned doing tiny GLSL demos

from A small freedom area RSS [alt+shift+b] in programming

7th Dec 2025
In the past two months or so, I spent some time making tiny GLSL demos. I wrote an article about the first one, Red Alp. There, I went into details about the whole process, so I recommend to check it out first if you're not familiar with the field. We will look at 4 demos:...
Text rendering and effects using GPU-computed distances Text rendering is cursed. Anyone who has worked on text will tell you the same; whether it's about...
1st Nov 2025
1

Text rendering and effects using GPU-computed distances

from A small freedom area RSS [alt+shift+b] in programming

1st Nov 2025
Text rendering is cursed. Anyone who has worked on text will tell you the same; whether it's about layout, bi-directional, shaping, Unicode, or the rendering itself, it's never a completely solved problem. In my personal case, I've been working on trying to render text in the...
Fast calculation of the distance to cubic Bezier curves on the GPU Bézier curves are a core building block of text and 2D shapes rendering. There are several...
18th Oct 2025
1

Fast calculation of the distance to cubic Bezier curves on the GPU

from A small freedom area RSS [alt+shift+b] in programming

18th Oct 2025
Bézier curves are a core building block of text and 2D shapes rendering. There are several approaches to rendering them, but one especially challenging problem, both mathematically and technically, is computing the distance to a Bézier curve. For quadratic curves (one control...
Code golfing a tiny demo using maths and a pinch of insanity A few weeks ago, I made a tiny demo that fits into 448 characters: Red Alp GLSL demo in 448...
29th Sep 2025
1

Code golfing a tiny demo using maths and a pinch of insanity

from A small freedom area RSS [alt+shift+b] in programming

29th Sep 2025
A few weeks ago, I made a tiny demo that fits into 448 characters: Red Alp GLSL demo in 448 characters void main(){vec3 c,p,K=vec3(3,1,0);for(float...
The current technology is not ready for proper blending The idea that we must always linearize sRGB gradients or work in a perceptually uniform colorspace...
18th Jul 2025
1

The current technology is not ready for proper blending

from A small freedom area RSS [alt+shift+b] in programming

18th Jul 2025
The idea that we must always linearize sRGB gradients or work in a perceptually uniform colorspace is starting to be accepted universally. But is it that simple? When I learned about the subject, it felt like being handed a hammer and using it everywhere. The reality is a bit...
Sharing everything I could understand about gradient noise You've most likely heard about gradient noise through the name Perlin noise, which refers to one...
6th Jun 2025
1

Sharing everything I could understand about gradient noise

from A small freedom area RSS [alt+shift+b] in programming

6th Jun 2025
You've most likely heard about gradient noise through the name Perlin noise, which refers to one particular implementation with various CPU optimizations. Because it's an incredible tool for creative work, it's used virtually everywhere: visual effects, video games, procedural...
Fixing the iterative damping interpolation in video games As I'm exploring the fantastic world of indie game development lately, I end up watching a large...
18th May 2024
133

Fixing the iterative damping interpolation in video games

from A small freedom area RSS [alt+shift+b] in programming

18th May 2024
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...
Hacking window titles to help OBS This write-up is meant to present the rationale and technical details behind a tiny project I wrote...
6th Jun 2023
111

Hacking window titles to help OBS

from A small freedom area RSS [alt+shift+b] in programming

6th Jun 2023
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...
Porting OkLab colorspace to integer arithmetic For reasons I'll explain in a futur write-up, I needed to make use of a perceptually uniform...
11th Dec 2022
79

Porting OkLab colorspace to integer arithmetic

from A small freedom area RSS [alt+shift+b] in programming

11th Dec 2022
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...
Investigating why Steam started picking a random font Out of the blue my Steam started picking a random font I had in my user fonts dir: Virgil, the...
18th Nov 2022
47

Investigating why Steam started picking a random font

from A small freedom area RSS [alt+shift+b] in programming

18th Nov 2022
Out of the blue my Steam started picking a random font I had in my user fonts dir: Virgil, the Excalidraw font. That triggered me all sorts of emotions, ranging from laugh to total incredulity. I initially thought the root cause was a random derping from Valve but the Internet...
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in