@@ -268,8 +268,8 @@ p5.Color.prototype.toString = function(format) {
268268 * function draw() {
269269 * backgroundColor.setRed(128 + 128 * sin(millis() / 1000));
270270 * background(backgroundColor);
271+ * describe('canvas with gradually changing background color');
271272 * }
272- * describe('canvas with gradually changing background color');
273273 * </code>
274274 * </div>
275275 */
@@ -290,8 +290,8 @@ p5.Color.prototype.setRed = function(new_red) {
290290 * function draw() {
291291 * backgroundColor.setGreen(128 + 128 * sin(millis() / 1000));
292292 * background(backgroundColor);
293+ * describe('canvas with gradually changing background color');
293294 * }
294- * describe('canvas with gradually changing background color');
295295 * </code>
296296 * </div>
297297 *
@@ -313,8 +313,8 @@ p5.Color.prototype.setGreen = function(new_green) {
313313 * function draw() {
314314 * backgroundColor.setBlue(128 + 128 * sin(millis() / 1000));
315315 * background(backgroundColor);
316+ * describe('canvas with gradually changing background color');
316317 * }
317- * describe('canvas with gradually changing background color');
318318 * </code>
319319 * </div>
320320 *
@@ -339,8 +339,8 @@ p5.Color.prototype.setBlue = function(new_blue) {
339339 * squareColor.setAlpha(128 + 128 * sin(millis() / 1000));
340340 * fill(squareColor);
341341 * rect(13, 13, width - 26, height - 26);
342+ * describe('a square with gradually changing opacity on a gray background');
342343 * }
343- * describe('a square with gradually changing opacity on a gray background');
344344 * </code>
345345 * </div>
346346 **/
0 commit comments