1. Google for an InterTurkic conlang
2. Follow the link to http://ib.frath.net/w/InterTurkic
3. From it, follow the link to Turkestan
4. ???
5. Start loosing your mind
2. Follow the link to http://ib.frath.net/w/InterTurkic
3. From it, follow the link to Turkestan
4. ???
5. Start loosing your mind
Vftdan Channel
1. Google for an InterTurkic conlang 2. Follow the link to http://ib.frath.net/w/InterTurkic 3. From it, follow the link to Turkestan 4. ??? 5. Start loosing your mind
Seems to be an alternative history AU wiki or something, but it doesn't even have the main page, so I cannot tell certainly
Apparently, images can store their pixels' rgb values premultiplied by their alpha value, so drawing them over backgrounds takes 1 less operation
https://www.youtube.com/watch?v=XobSAXZaKJ8
#links #video #youtube
https://www.youtube.com/watch?v=XobSAXZaKJ8
#links #video #youtube
YouTube
CD / The Horrors of the Alpha Channel
Please consider supporting my videos on Patreon:
http://www.patreon.com/CaptainDisillusion
CD /
• Intro - https://youtu.be/R4sF0MT1TGM
• Aspect Ratio - https://youtu.be/g5ZgUIobSj0
• Frame Rate - https://youtu.be/DyqjTZHRdRs
• Resolution - https://youtu.be/1unkluyh2Ks…
http://www.patreon.com/CaptainDisillusion
CD /
• Intro - https://youtu.be/R4sF0MT1TGM
• Aspect Ratio - https://youtu.be/g5ZgUIobSj0
• Frame Rate - https://youtu.be/DyqjTZHRdRs
• Resolution - https://youtu.be/1unkluyh2Ks…
Vftdan Channel
Apparently, images can store their pixels' rgb values premultiplied by their alpha value, so drawing them over backgrounds takes 1 less operation https://www.youtube.com/watch?v=XobSAXZaKJ8 #links #video #youtube
Actually, I think I have never read about the proper way of overlaying several colors.
But when I was in the middle school and was writing JavaScript on an iPhone, I think I read about
Later, in the high school, I found that code, simplified the formula and used it again for working with
So, I'm interested how correct my formula is. I'll translate (hopefully, correctly) it to GLSL, so it's (probably) easier to read, apparently
I. e. resulting alpha = lerp(bg.alpha, 1, fg.alpha). It makes sense indeed: if fg.alpha = 0, then the background color doesn't change, so alpha is bg.alpha; if fg.alpha = 100%, then the foreground color is the result, so alpha is 100%.
So according to this code, you actually need
#original
But when I was in the middle school and was writing JavaScript on an iPhone, I think I read about
getImageData and setImageData on habr.com and so tried working with it myself. I either invented or read somewhere (possibly in that article) about lerp function and somehow invented myself a way of overlaying 2 rgba colors. The formula for the resulting alpha was a monstrosity of a redundant number of lerps.Later, in the high school, I found that code, simplified the formula and used it again for working with
ImageData.So, I'm interested how correct my formula is. I'll translate (hopefully, correctly) it to GLSL, so it's (probably) easier to read, apparently
lerp is named mix there:float aa = (1.0 - fg.a) * bg.a;
gl_Color.rgb = mix(fg.rgb, bg.rgb, aa);
gl_Color.a = aa + fg.a;
I. e. resulting alpha = lerp(bg.alpha, 1, fg.alpha). It makes sense indeed: if fg.alpha = 0, then the background color doesn't change, so alpha is bg.alpha; if fg.alpha = 100%, then the foreground color is the result, so alpha is 100%.
So according to this code, you actually need
(1 - bg.a * (1 - fg.a)) instead of fg.a to be multiplied by fg.rgb, so premultiplication is only useful for fully opaque backgrounds.#original
Vftdan Channel
Cascading jaywalking consensus protocol
(adjective order may be altered)
Humans are big neurons. Except they transceive memes instead of simple spikes.
Deterministic subsystem that infers morality and makes decisions based on it should assume it has free will.
Do I understand correctly, that the "co-" prefix in #algebra can have two very different meanings:
1. complementary, opposite
2. covariant, preserving, non-inverting
?
#math #maths #language #linguistics
1. complementary, opposite
2. covariant, preserving, non-inverting
?
#math #maths #language #linguistics
Forwarded from Vft Dan 💉💉
I'm trying to do cp437, but bruh https://github.com/pierrezurek/iconv/blob/fe27aae178d65b06d5f4104158343b0d2d33e3f0/lib/cp437.h#L56
Forwarded from Vft Dan 💉💉
Vft Dan 💉💉
I'm trying to do cp437, but bruh https://github.com/pierrezurek/iconv/blob/fe27aae178d65b06d5f4104158343b0d2d33e3f0/lib/cp437.h#L56
Am I a joke to you?
🤡1
Petition for GitHub to add it as a reaction for issues (specifically, feature requests):