33 reputation
4
bio website
location
age
visits member for 2 years, 4 months
seen Apr 4 at 15:20

Aug
17
comment Why does painting with 1% opacity not always do something?
interesting fact: white on black produces 213 = 255-42, black on white produces 42 = 255-213
Aug
17
comment Why does painting with 1% opacity not always do something?
Looks like you only get +2 in the beginning for gimp.
Aug
17
comment Why does painting with 1% opacity not always do something?
Okay, I did some maths, and after noticing that my very first equation was wrong, I did it again, but something's still wrong, I think. I started with d4, to see how you could get to d5. d4 is 212, so my equation is like this: (212 * 0.99) + (255 * 0.01) = 212.43 ~ 212. So you wouldn't get to d5. If you round while calculating, you'll get 213, but if you do the same with 213, you'll get 214 after that. Also, I have no idea how it's supposed to work in GIMP. I'm gonna do some experimenting.
Aug
17
accepted Why does painting with 1% opacity not always do something?
Aug
17
revised Why does painting with 1% opacity not always do something?
edited body
Aug
17
comment Why does painting with 1% opacity not always do something?
Indeed. Though I think I've used an 8-bit value for javascript, so I'm gonna adjust that real quick
Aug
17
awarded  Editor
Aug
17
comment Why does painting with 1% opacity not always do something?
I've added a few
Aug
17
revised Why does painting with 1% opacity not always do something?
Added different limits
Aug
16
awarded  Scholar
Aug
16
awarded  Supporter
Aug
16
comment Why does painting with 1% opacity not always do something?
Thanks... So it is sort of a rounding error, isn't it? If we would use decimal places for the hex values, the limit would be brighter, if I'm not mistaken. Now I'm just wondering why there are different limits. I just tried it with GIMP as well, and I also got a different limit. I suppose that depends on the actual implementation details.
Aug
15
awarded  Student
Aug
15
asked Why does painting with 1% opacity not always do something?