Skip to content

Commit

Permalink
Merge pull request #572 from nature-of-code/notion-update-docs
Browse files Browse the repository at this point in the history
[Notion] Update docs
  • Loading branch information
shiffman authored Nov 22, 2023
2 parents cc64645 + 29da1fa commit c7dd1dd
Show file tree
Hide file tree
Showing 25 changed files with 1,331 additions and 1,257 deletions.
370 changes: 184 additions & 186 deletions content/01_vectors.html

Large diffs are not rendered by default.

409 changes: 206 additions & 203 deletions content/02_forces.html

Large diffs are not rendered by default.

426 changes: 217 additions & 209 deletions content/03_oscillation.html

Large diffs are not rendered by default.

332 changes: 169 additions & 163 deletions content/04_particles.html

Large diffs are not rendered by default.

634 changes: 323 additions & 311 deletions content/05_steering.html

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions content/06_libraries.html
Original file line number Diff line number Diff line change
Expand Up @@ -1831,5 +1831,9 @@ <h3 id="the-ecosystem-project-7">The Ecosystem Project</h3>
<li>Use toxiclibs.js to add attraction and repulsion behaviors to your creatures.</li>
<li>Use spring (or joint) connections between objects to control their interactions. Create and delete these springs on the fly. Consider making these connections visible or invisible to the viewer.</li>
</ul>
<figure>
<img src="images/06_libraries/06_libraries_22.png" alt="">
<figcaption></figcaption>
</figure>
</div>
</section>
393 changes: 210 additions & 183 deletions content/07_ca.html

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions content/08_fractals.html
Original file line number Diff line number Diff line change
Expand Up @@ -978,5 +978,9 @@ <h3 id="the-ecosystem-project-9">The Ecosystem Project</h3>
<li>Design a creature with a fractal pattern.</li>
<li>Use an L-system to generate instructions for how a creature should move or behave.</li>
</ul>
<figure>
<img src="images/08_fractals/08_fractals_26.png" alt="">
<figcaption></figcaption>
</figure>
</div>
</section>
5 changes: 4 additions & 1 deletion content/09_ga.html
Original file line number Diff line number Diff line change
Expand Up @@ -1708,6 +1708,9 @@ <h3 id="the-ecosystem-project-10">The Ecosystem Project</h3>
<li>Try using the weights of multiple steering forces as a creature’s DNA. Can you create a scenario in which creatures evolve to cooperate with each other?</li>
<li>One of the greatest challenges in ecosystem simulations is achieving balance. You will likely find that most of your attempts result in either mass overpopulation (followed by mass extinction) or mass extinction straight away. What techniques can you employ to achieve balance? Consider using the genetic algorithm itself to evolve optimal parameters for an ecosystem.</li>
</ul>
<p></p>
<figure>
<img src="images/09_ga/09_ga_17.png" alt="">
<figcaption></figcaption>
</figure>
</div>
</section>
5 changes: 5 additions & 0 deletions content/10_nn.html
Original file line number Diff line number Diff line change
Expand Up @@ -940,5 +940,10 @@ <h3 id="the-ecosystem-project-11">The Ecosystem Project</h3>
<li>Can you classify the creatures of your ecosystem into different categories? What if you use an initial population as a training dataset, and as new creatures are born, the system classifies them according to their features? What are the inputs and outputs for your system?</li>
<li>Can you use a regression to predict the lifespan of a creature based on its properties? Think about how size and speed affected the lifespan of the bloops from Chapter 9. Could you analyze how well the regression model’s predictions align with the actual outcomes?</li>
</ul>
<figure>
<img src="images/10_nn/10_nn_26.png" alt="">
<figcaption></figcaption>
</figure>
</div>
<p></p>
</section>
6 changes: 5 additions & 1 deletion content/11_nn_ga.html
Original file line number Diff line number Diff line change
Expand Up @@ -932,11 +932,15 @@ <h3 id="the-ecosystem-project-12">The Ecosystem Project</h3>
<li>How do the creatures perceive? Do they “see” everything or have limits based on sensors?</li>
<li>What strategies can you employ to establish and maintain balance in your ecosystem?</li>
</ul>
<figure>
<img src="images/11_nn_ga/11_nn_ga_9.png" alt="">
<figcaption></figcaption>
</figure>
</div>
<h2 id="the-end">The End</h2>
<p>If you’re still reading, thank you! You’ve reached the end of the book. But for as much material as this book contains, I’ve barely scratched the surface of the physical world we inhabit and of techniques for simulating it. It’s my intention for this book to live as an ongoing project, and I hope to continue adding new tutorials and examples to the book’s website, as well as expand and update the accompanying video tutorials on <a href="https://thecodingtrain.com/">thecodingtrain.com</a>. Your feedback is truly appreciated, so please get in touch via email at <em>[email protected]</em> or by contributing to the GitHub repository at <a href="https://github.com/nature-of-code">github.com/nature-of-code</a>, in keeping with the open source spirit of the project. Share your work. Stay in touch. Let’s be two with nature.</p>
<figure>
<img src="images/11_nn_ga/11_nn_ga_9.png" alt="">
<img src="images/11_nn_ga/11_nn_ga_10.png" alt="">
<figcaption></figcaption>
</figure>
<p></p>
Expand Down
Binary file modified content/images/00_randomness/00_randomness_9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/images/01_vectors/01_vectors_18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/images/02_forces/02_forces_12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/images/03_oscillation/03_oscillation_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/04_particles/04_particles_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/05_steering/05_steering_41.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/06_libraries/06_libraries_22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/07_ca/07_ca_33.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/08_fractals/08_fractals_26.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/09_ga/09_ga_17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/10_nn/10_nn_26.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/11_nn_ga/11_nn_ga_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/images/11_nn_ga/11_nn_ga_9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c7dd1dd

Please sign in to comment.