Skip to content

Commit 5349ad9

Browse files
committed
removed reference
1 parent 8c4974c commit 5349ad9

1 file changed

Lines changed: 20 additions & 5 deletions

File tree

index.html

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,15 +296,30 @@ <h2>Create your own islands!</h2>
296296
You can take my generator(s) (displayed at the top of the page) as inspiration, but I'm sure you'll be able to create a better looking generator than mine.
297297
</p>
298298

299-
<p>You can view the code for my two generators here:</p>
300-
<ul>
301-
<li><a href="https://editor.p5js.org/RexMortem/sketches/sk3iSZ_ly">Desert Island Generator</a></li>
302-
<li><a href="https://editor.p5js.org/RexMortem/sketches/-9_U5dF6S">Mountainous Terrain Generator</a></li>
303-
</ul>
299+
<p>You can view the code for the desert island generator here:<a href="https://editor.p5js.org/RexMortem/sketches/sk3iSZ_ly">Desert Island Generator</a> </p>
304300

305301
<p><strong>Tip:</strong> Getting good terrain with perlin noise is often a case of just tweaking your parameters (octaves, amplitude/frequency, smooth factor etc) until they're <em>just</em> right.</p>
306302
</section>
307303

304+
<!-- <section class="tutorial-section">
305+
<h2>Unbounded Terrain</h2>
306+
307+
<p></p>
308+
309+
<pre><code class="language-javascript">function keyPressed(event) {
310+
if(onSim()){
311+
if (keyCode === RIGHT_ARROW){
312+
console.log("right arrow pressed");
313+
}else if(keyCode === LEFT_ARROW){
314+
console.log("left arrow pressed");
315+
}
316+
}
317+
}</code></pre>
318+
319+
320+
321+
</section> -->
322+
308323
<section class="tutorial-section">
309324
<h2>Going Further</h2>
310325

0 commit comments

Comments
 (0)