File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -547,8 +547,8 @@ class Color {
547
547
}
548
548
549
549
/**
550
- * This function extracts the green value from a color object, returns green
551
- * value in the range of 0 to 255 by default. When colorMode() is given to an
550
+ * This function extracts the green value from a color object and
551
+ * returns it in the range 0– 255 by default. When colorMode() is given to an
552
552
* RBG value, the green value within the givin range is returned
553
553
*/
554
554
_getGreen ( max = [ 0 , 1 ] ) {
@@ -633,7 +633,7 @@ class Color {
633
633
/**
634
634
* Brightness obtains the HSB brightness value from either a p5.Color object,
635
635
* an array of color components, or a CSS color string.Depending on value,
636
- * when colorMode() is set a HSB value , this function will return the
636
+ * wwhen ` colorMode()` is set to HSB, this function will return the
637
637
* brightness value in the range. By default, this function will return
638
638
* the HSB brightness within the range 0 - 100.
639
639
*/
You can’t perform that action at this time.
0 commit comments