Skip to content

blendMode BLEND is wrong #386

@jbeda

Description

@jbeda

Issue description

The docs state:

BLEND - linear interpolation of colours: C = A*factor + B. This is the default blending mode.

But linear interpolation would be C = A*factor + B*(1-factor). As documented it is more like ADD without clamping.

URL(s) of affected page(s)

https://processing.org/reference/blendMode_.html
https://processing.org/reference/blend_.html

Proposed fix

BLEND - linear interpolation of colours: C = A*factor + B*(1-factor). This is the default blending mode.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions