a and b are the values (floats between 0 and 1) of a color component of two different pixels. Match the blend mode names with the corresponding formulas. The weight parameter is a float between 0 and 1.
Image blending
Blending functions
Report a typo
Match the items from left and right columns
Linear
Multiply
Screen
None
weight * a + weight * b
a * b
weight * a + (1 - weight) * b
1 - (1 - a) * (1 - b)
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.