Skip to content

Commit 4d9a9d3

Browse files
committed
Merge branch 'main' into atmajaa/main
2 parents e13f48d + 6e024b4 commit 4d9a9d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/color/setting.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ p5.prototype.colorMode = function(mode, max1, max2, max3, maxA) {
10001000
* @param {Number} v1 red value if color mode is RGB or hue value if color mode is HSB.
10011001
* @param {Number} v2 green value if color mode is RGB or saturation value if color mode is HSB.
10021002
* @param {Number} v3 blue value if color mode is RGB or brightness value if color mode is HSB.
1003-
* @param {Number} [alpha] optional alpha value, controls transparency (0 - transparent, 255 - opaque).
1003+
* @param {Number} [alpha] alpha value, controls transparency (0 - transparent, 255 - opaque).
10041004
* @chainable
10051005
* @example
10061006
* <div>
@@ -1360,7 +1360,7 @@ p5.prototype.noStroke = function() {
13601360
* @param {Number} v1 red value if color mode is RGB or hue value if color mode is HSB.
13611361
* @param {Number} v2 green value if color mode is RGB or saturation value if color mode is HSB.
13621362
* @param {Number} v3 blue value if color mode is RGB or brightness value if color mode is HSB.
1363-
* @param {Number} [alpha]
1363+
* @param {Number} [alpha] alpha value, controls transparency (0 - transparent, 255 - opaque).
13641364
* @chainable
13651365
*
13661366
* @example

src/image/image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ p5.prototype.encodeAndDownloadGif = function(pImg, filename) {
565565
* an object with its file type, file name, and image data as a string. For
566566
* example, the first saved frame might have the following properties:
567567
*
568-
* `{ ext: 'png', filenmame: 'frame0', imageData: 'data:image/octet-stream;base64, abc123' }`.
568+
* `{ ext: 'png', filename: 'frame0', imageData: 'data:image/octet-stream;base64, abc123' }`.
569569
*
570570
* The first parameter, `filename`, sets the prefix for the file names. For
571571
* example, setting the prefix to `'frame'` would generate the image files

0 commit comments

Comments
 (0)