We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f2f6de commit ccdc47dCopy full SHA for ccdc47d
src/content/reference/es/p5/setup.mdx
@@ -12,22 +12,18 @@ line: 82
12
isConstructor: false
13
itemtype: method
14
alt: nothing displayed
15
-example: |-
16
- <div><code>
17
- let a = 0;
18
- function setup() {
19
- background(0);
20
- noStroke();
21
- fill(102);
22
- }
23
- function draw() {
24
- rect(a++ % width, 10, 2, 80);
25
26
- </code></div>
27
-class: p5
28
-chainable: false
29
----
30
-
+example:
+ - |-
+ <div><code>
+ let a = 0;
+ function setup() {
+ background(0);
+ noStroke();
+ fill(102);
+ }
+ function draw() {
+ rect(a++ % width, 10, 2, 80);
31
</code></div>
32
class: p5
33
chainable: false
0 commit comments