flat assembler
Message board for the users of flat assembler.
Index
> Linux > [fasmg] noblue: takes the blue out of an X11 screen |
| Author |
|
|
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 |
|||
|
|
sunfloro 28 Nov 2026, 02:26
Thanks for trying it, and on XLibre too! An OLED is the best case: with no backlight, blue 0 means no blue light at all.
Not quite a colormap. noblue sets the graphics card's own color table (the gamma ramp) for each screen. The card runs every pixel through it on the way to the screen. It has a separate curve for red, green and blue. noblue leaves red and green at full strength and sets every blue entry to 0, so every color loses its blue at once. Then it asks the Linux kernel what is really in each table, and passes only if blue is 0 from top to bottom. On the control: noblue stays a plain on/off tool, since for eyes like mine any blue is too much. But your idea is a good one, so here is lowblue: noblue's code, changed so that each color gets a level from 0 to 100, like "lowblue 100 100 30". The zip has the source, README, tests and license. It has passed its tests (165 checks) but has not been run on real hardware yet, so I'd be glad to hear how it does. If you'd like to take it further, feel free to fork it and host it yourself. It's GPL version 3 only.
|
|||||||||||
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.