Notion - Update docs

This commit is contained in:
shiffman 2024-10-08 02:13:02 +00:00 committed by github-actions[bot]
parent 4dc200b8ee
commit f9493ecc8b

View file

@ -915,7 +915,7 @@ position.add(velocity);</pre>
<p>You might also notice that this example is another kind of random walker.<strong><em> </em></strong>A key distinction between what Im doing here and the previous chapters examples, however, lies in <em>what</em> is being randomized. With the traditional random walker, I was directly manipulating the velocity, meaning each step was completely independent of the last. In Example 1.9, the acceleration (the rate of change of velocity) is being randomized, not the velocity itself. This makes the objects motion dependent on its previous state: the velocity changes incrementally according to the random acceleration. The resulting movement of the object has a kind of continuity and fluidity that the original random walker lacked. The difference may seem subtle, but it fundamentally changes the way the object moves about the canvas.</p>
<div data-type="exercise">
<h3 id="exercise-16">Exercise 1.6</h3>
<p>Referring back to Exercise 0.6, implement an acceleration calculated with Perlin noise.</p>
<p>Referring back to Example 0.6, implement an acceleration calculated with Perlin noise.</p>
</div>
<h3 id="static-vs-nonstatic-methods">Static vs. Nonstatic Methods</h3>
<div data-type="video-link" data-title="Static Functions" href="https://www.youtube.com/watch?v=YN8Q-QEmQ8Y&#x26;embeds_referring_euri=https://thecodingtrain.com/&#x26;embeds_referring_origin=https://thecodingtrain.com&#x26;source_ve_path=OTY3MTQ&#x26;feature=emb_imp_woyt"></div>