Skip to content

Commit 55d80d2

Browse files
authored
Merge pull request #3455 from trych/patch-1
Fix background() docs
2 parents e77ad2c + b90532f commit 55d80d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/color/setting.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require('./p5.Color');
1414

1515
/**
1616
* The <a href="#/p5/background">background()</a> function sets the color used for the background of the
17-
* p5.js canvas. The default background is light gray. This function is
17+
* p5.js canvas. The default background is transparent. This function is
1818
* typically used within <a href="#/p5/draw">draw()</a> to clear the display window at the beginning
1919
* of each frame, but it can be used inside <a href="#/p5/setup">setup()</a> to set the background on
2020
* the first frame of animation or if the background need only be set once.

0 commit comments

Comments
 (0)