flat assembler
Message board for the users of flat assembler.

Index > Linux > [fasmg] noblue: takes the blue out of an X11 screen

Author
Thread Post new topic Reply to topic
sunfloro



Joined: 10 Oct 2026
Posts: 7
sunfloro 23 Nov 2026, 04:55
...I made a program with the help of claude fable 5.2. I have extreme sensitivity to short wavelength blue light.

The reason I made this instead of just using nightlight is, night light on a distro where it's possible to dim blue to zero generally also takes out a lot of the green, making a very low-constrast screen. noblue works differently. it zeroes the blue channel and leaves both red and green at 100%.

I am learning fasmg, and did review all of the code in this program. First I had the AI review it a few times, using different models to catch/improve different things. Then I did a read through with opus 5.5. Then I had fable do a review, then I reviewed it with fable 5.2, and read the entire code a 2nd time. The point at which I felt it was ready for public release was when the AI realized it didn't need to write anything, and made it a read only program.

If any of you also suffer from sensitivity to short wavelength blue light, I hope noblue is as life=changing for you as it's been for me. If any of you more experienced asm programmers have any feedback on what could be better, I'd be grateful.

https://github.com/sunflower-sunfloro/noblue
Post 23 Nov 2026, 04:55
View user's profile Send private message Reply with quote
Jessé



Joined: 03 May 2025
Posts: 158
Location: Brazil
Jessé 25 Nov 2026, 23:56
Very cool idea, even better being done in Assembly!

I've tested it under XLibre in an OLED screen - quite satisfactory result.
Quick question: this program changes all colors that has any blue on it, right?
Meaning it changes 65536 colors, so they will have blue channel = 0.
In the root window color table, right?
I'd like to hear the main theory behind the working mechanism, since I'm now too lazy to extract it off source code.
Since I think it might be useful to add some control over the blue channel, so different users might customize effect intensity.

Thanks...
Post 25 Nov 2026, 23:56
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.