Skip to content

Commit 1ff49dd

Browse files
committed
get rid of noLoop()'s in example code.
1 parent 3cc6311 commit 1ff49dd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

index.html

-5
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ <h2 id="autoplay">Autoplay</h2>
6363
function setup() {
6464
createCanvas(100, 100);
6565
background(255, 0, 200);
66-
67-
// Don't slow down the whole page.
68-
noLoop();
6966
}
7067
</script>
7168

@@ -116,7 +113,6 @@ <h2 id="implicit-setup">Implicit <code>setup()</code></h2>
116113

117114
<script type="text/p5" data-autoplay>
118115
background(255, 0, 200);
119-
noLoop();
120116
</script>
121117

122118
<h2 id="error-handling">Error Handling</h2>
@@ -190,7 +186,6 @@ <h2 id="resizing">Resizing</h2>
190186
function setup() {
191187
createCanvas(300, 100);
192188
background(255, 0, 200);
193-
noLoop();
194189
}
195190
</script>
196191

0 commit comments

Comments
 (0)