@beardalaxy The hair is not supposed to be purple, it's from left to right cyan-grey, light green, dark cyan. It's mainly a bit darker and less green on the winfiltered one
The skin on the winfiltered version looks orange while myfiltered version looks pinkish. Trying to play with that rn
@beardalaxy O, I got it I think. I managed to alter the function so it doesn't shift it beyond the plain correction
@beardalaxy Okay, I got the python to run and hooooly shit it's slow. My Lua script using my image library took 1.09s and the python one using numpy took 35.49s
Python output looks the same as with the Lua script. It says explicitly that it's to make it better
@beardalaxy It says it's supposed to help
2. Simulation of color blindness by reducing the colors along a dichromatic confusion line, the line parallel to the axis of the missing photoreceptor, to a single color.
3. Compensation for color blindness by shifting wavelengths away from the portion of the spectrum invisible to the dichromat, towards the visible portion.
The python code wouldnt run because it's python2. I tried transcriping the JS code to Lua to test it and Proto looks 1:1 with your reference but nothing else. I'll try transcriping and comparing the python code because I think the JS code might not be the best, they define options.amount in a weird way and then don't use it
Same order
@beardalaxy After playing around with some simple curves and ideas I got closer but not exact
Now I found this https://www.researchgate.net/publication/326626897_Smartphone_Based_Image_Color_Correction_for_Color_Blindness#pf3
And through that found this. It lists the algorithms
http://www.daltonize.org/2010/05/lms-daltonization-algorithm.html
@beardalaxy I was kinda expecting the background bit, and the skin is just an inbetween of that. I'm thinking if I alter the strength of the filter based on how much relative redness there is it should work
@beardalaxy First is original. Her hair is greyish blue to green to dark blue from left to right
Eyes are light red
The filly's coat is banana yellow
The girl has normal skin colour
Second is a filter
img:map(function(r, g, b)
return math.min(r * 1.2, 1), math.max(g * 0.8, 0), b, 1
end)
@beardalaxy @Awoo Looking up "colour blindness filter" I only find colour blindness simulating filters
How do I find them?
@beardalaxy @Awoo Basically this, it's fairly simple. Just a formula run over each pixel
@beardalaxy @Awoo Programs like redshift work on Xorg and can filter the colour, idk about Wayland
I also think programs like Picom allow OpenGL shaders and can be made to work per-window
I know how to program GLSL and can look into it, though idrk what a colour blindness shader does
@beardalaxy If it's fun I can do it for free
@VD15 pacman -S nvidia-dkms
@matana @xianc78 Libertarians tend to be like this because they worship an idea more than other ideologies
To the point people like Walter Block will write whole books about how scalpers and slumlords are good people because they improve wealth and Rothbard will write books saying that you can leave your baby in a box to starve to death because there's no aggression
@Halo @Gronsak @Immahnoob At first i thought it was dip, then pasta in cheese sauce, then I thought it was tartalettur (see pic) but in a pan and with pasta, then I think it turned into one of these things my family brings to events that's kinda similar to tartalettur so I actually wouldnt be surprised if this still tasted good
@noyoushutthefuckupdad 7 is prime
@beardalaxy @LukeAlmighty I know but that's the default for USB drives most of the times. It works with basically everything, it's even reccomended for EUFI installs on Linux for /boot because BIOSes universally know it
I wouldn't doubt exFAT has become more popular now since people buy USBs to put movies and such on but it's still always worth formatting it with something better anyway