Skip to content

Commit

Permalink
RatioNode doc fixes, #83
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jun 15, 2019
1 parent 3185395 commit 4cd666f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/common/view/RatioNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

/**
* Visual representation of H3O+/OH- ratio.
* Molecules are drawn as circles, directly to Canvas for performance.
* In the pH range close to neutral, the relationship between number of molecules and pH is log.
*
* Molecules are drawn as flat circles, directly to Canvas for performance.
* In the pH range is close to neutral, the relationship between number of molecules and pH is log.
* Outside of that range, we can't possibly draw that many molecules, so we fake it using a linear relationship.
*
* Note: The implementation refers to 'majority' or 'minority' species throughout.
Expand Down

0 comments on commit 4cd666f

Please sign in to comment.