Merge pull request #540 from nature-of-code/notion-update-docs

[Notion] Update docs
This commit is contained in:
Daniel Shiffman 2023-10-18 22:14:33 -04:00 committed by GitHub
commit 866008381b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,10 +8,10 @@
</div>
<div class="chapter-opening-figure">
<figure>
<img src="images/03_oscillation/03_oscillation_1.png" alt="Image caption / credit TBD">
<figcaption>Image caption / credit TBD</figcaption>
<img src="images/03_oscillation/03_oscillation_1.png" alt="Gala by Bridget Riley, 1974; Acrylic on canvas; 159.7 by 159.7 cm; © Bridget Riley 2023: All rights reserved.">
<figcaption>Gala by Bridget Riley, 1974; Acrylic on canvas; 159.7 by 159.7 cm; © Bridget Riley 2023: All rights reserved.</figcaption>
</figure>
<p><strong><em>Gala</em></strong><strong>, Bridget Riley</strong></p>
<p><strong>Gala, Bridget Riley</strong></p>
<p>Bridget Riley, a celebrated British artist, was a driving force behind the Op Art movement of the 1960s. Her work features geometric patterns that challenge the viewers perceptions and evoke feelings of movement or vibration. Her 1974 piece <em>Gala</em> showcases a series of curvilinear forms that ripple across the canvas, evoking the natural rhythm of the sine wave.</p>
</div>
<p>In Chapters 1 and 2, I carefully worked out an object-oriented structure to animate a shape in a p5.js canvas, using the concept of a vector to represent position, velocity, and acceleration driven by forces in the environment. I could move straight from here into topics such as particle systems, steering forces, group behaviors, and more. However, doing so would mean skipping a fundamental aspect of motion in the natural world: <strong>oscillation</strong>, or the back-and-forth movement of an object around a central point or position.</p>