File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,12 @@ import p5 from '../core/main';
95
95
*
96
96
* <div>
97
97
* <code>
98
- * function draw () {
98
+ * function setup () {
99
99
* // Add the text description.
100
100
* textOutput();
101
+ * }
101
102
*
103
+ * function draw() {
102
104
* // Draw a moving circle.
103
105
* background(200);
104
106
* let x = frameCount * 0.1;
@@ -115,11 +117,13 @@ import p5 from '../core/main';
115
117
*
116
118
* <div>
117
119
* <code>
118
- * function draw () {
120
+ * function setup () {
119
121
* // Add the text description and
120
122
* // display it for debugging.
121
123
* textOutput(LABEL);
124
+ * }
122
125
*
126
+ * function draw() {
123
127
* // Draw a moving circle.
124
128
* background(200);
125
129
* let x = frameCount * 0.1;
@@ -243,10 +247,12 @@ p5.prototype.textOutput = function(display) {
243
247
*
244
248
* <div>
245
249
* <code>
246
- * function draw () {
250
+ * function setup () {
247
251
* // Add the grid description.
248
252
* gridOutput();
253
+ * }
249
254
*
255
+ * function draw() {
250
256
* // Draw a moving circle.
251
257
* background(200);
252
258
* let x = frameCount * 0.1;
@@ -263,11 +269,13 @@ p5.prototype.textOutput = function(display) {
263
269
*
264
270
* <div>
265
271
* <code>
266
- * function draw () {
272
+ * function setup () {
267
273
* // Add the grid description and
268
274
* // display it for debugging.
269
275
* gridOutput(LABEL);
276
+ * }
270
277
*
278
+ * function draw() {
271
279
* // Draw a moving circle.
272
280
* background(200);
273
281
* let x = frameCount * 0.1;
You can’t perform that action at this time.
0 commit comments