How do I fix a bias when attempting to make a random colour in a Firealpaca brush script?
So, as of now, I am attempting to make a brush that does 2 things, the first is that it jitters to create some sort of “texture”, and the second is that it draws a random colour that has the same amount of luminance as the foreground/input colour. For the most part, I’ve managed to successfully implement it, but for some reason, it has a bias for blue in low luminance level, and a bias for green in high luminance level, any help please? (Firealpaca uses Lua, just a reminder) (also, I started learning coding yesterday, so, apologies for my sloppy coding work)
How do I fix a bias when attempting to make a random colour in a Firealpaca brush script?
So, as of now, I am attempting to make a brush that does 2 things, the first is that it jitters to create some sort of “texture”, and the second is that it draws a random colour that has the same amount of luminance as the foreground/input colour. For the most part, I’ve managed to successfully implement it, but for some reason, it has a bias for blue in low luminance level, and a bias for green in high luminance level, any help please? (Firealpaca uses Lua, just a reminder) (also, I started learning coding yesterday, so, apologies for my sloppy coding work)
How do I fix a bias when attempting to make a random colour in a Firealpaca brush script?
So, as of now, I am attempting to make a brush that does 2 things, the first is that it jitters to create some sort of “texture”, and the second is that it draws a random colour that has the same amount of luminance as the foreground/input colour. For the most part, I’ve managed to successfully implement it, but for some reason, it has a bias for blue in low luminance level, and a bias for green in high luminance level, any help please? (Firealpaca uses Lua, just a reminder) (also, I started learning coding yesterday, so, apologies for my sloppy coding work)
How do I fix a bias when attempting to make a random colour in a Firealpaca brush script?
So, as of now, I am attempting to make a brush that does 2 things, the first is that it jitters to create some sort of “texture”, and the second is that it draws a random colour that has the same amount of luminance as the foreground/input colour. For the most part, I’ve managed to successfully implement it, but for some reason, it has a bias for blue in low luminance level, and a bias for green in high luminance level, any help please? (Firealpaca uses Lua, just a reminder) (also, I started learning coding yesterday, so, apologies for my sloppy coding work)