processing / processing/processing-website

blendMode BLEND is wrong

Open
#386 2 comments 0 reactions 1 assignee View on GitHub

@REAS is already working on this.

Since Jul 24, 2019.

Dominant language
MDX
Stars
90
Forks
122
Avg merge
1h 43m
Merged PRs (30d)
3

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.