# HELP！missing .py examples from Chapter 6 of “Nature of Code.”

**URL:** <https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074>\
**Category:** Processing.py\
**Created:** [March 11, 2024, 12:54pm UTC](https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074 "2024-03-11T12:54:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ray0204](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Ray0204](https://discourse.processing.org/u/Ray0204)\
**Post date:** [March 11, 2024, 12:54pm UTC](https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074/1 "2024-03-11T12:54:17Z")

</div>

Hello everyone, I’m a beginner in processing.py, and I’m currently learning processing by converting the content of “Nature of Code” into Python syntax. I usually refer to this link for my studies: [noc-examples-python/chp06\_agents at master · nature-of-code/noc-examples-python · GitHub](https://github.com/nature-of-code/noc-examples-python/tree/master/chp06_agents). However, a lot of content from Chapter 6 is missing here, which has caused me quite a bit of trouble in my learning. If anyone knows where I can find the missing examples, I would greatly appreciate it.

---

<div class="post-metadata">

**Author:** ![villares](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/villares/32/3166_2.png) [@villares](https://discourse.processing.org/u/villares)\
**Post date:** [March 11, 2024, 2:31pm UTC](https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074/2 "2024-03-11T14:31:25Z")

</div>

Cheers @Ray0204 !

I used to contribute porting Nature of Code examples to Processing Python mode on the repository that you mentioned. I’m afraid people (including me) stopped porting the examples, and one of the reasons maybe was that no one was reviewing and merging our contributions anymore: [Pull requests · nature-of-code/noc-examples-python · GitHub](https://github.com/nature-of-code/noc-examples-python/pulls)

Now Processing Python mode is no longer maintained so I lost interest in porting to it. Maybe we could find more people who might want to port NoC examples to py5 ([https://py5coding.org](https://py5coding.org)) instead?

If you post chapter 6 questions at this forum category: [py5 - Processing Foundation](https://discourse.processing.org/c/a-version-of-processing-for-python-38-to-work-with-other-popular-python-libraries-and-tools-such-as-jupyter-numpy-shapely-trimesh-matplotlib-and-pillow-built-to-work-with-popular-python-libraries-and-tools-such-as-jupyter-numpy-shapely-etc/28) we might find more people able to help too (with py5 porting).

---

<div class="post-metadata">

**Author:** ![Ray0204](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Ray0204](https://discourse.processing.org/u/Ray0204)\
**Post date:** [March 12, 2024, 12:14am UTC](https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074/4 "2024-03-12T00:14:06Z")

</div>

Thank you for your reply and your previous contributions. I have indeed found p5 to be easier to find more tutorials and examples, I initially learned Python Mode because it is simpler and more suitable for beginners to understand, and it allows me to learn both Python and Processing at the same time. Once I have a certain mastery of Python, I expect to revisit learning p5. Thank you very much.

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [March 12, 2024, 12:20am UTC](https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074/5 "2024-03-12T00:20:54Z")

</div>

Fixed URL: [https://py5Coding.org](https://py5Coding.org)

---

<div class="post-metadata">

**Author:** ![villares](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/villares/32/3166_2.png) [@villares](https://discourse.processing.org/u/villares)\
**Post date:** [March 12, 2024, 12:34am UTC](https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074/6 "2024-03-12T00:34:31Z")

</div>

thanks @GoToLoop! updated there… oh my, me and my clumsy replies

---

<div class="post-metadata">

**Author:** ![villares](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/villares/32/3166_2.png) [@villares](https://discourse.processing.org/u/villares)\
**Post date:** [March 12, 2024, 12:40am UTC](https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074/7 "2024-03-12T00:40:28Z")

</div>

Cool @Ray0204 !

Beware there are some similar names out there:

- `p5py` [p5 — p5 0.8.1 documentation](https://p5.readthedocs.io/en/latest/)
- `py5` [https://py5coding.org](https://py5coding.org)

Both are interesting, but I’m using `py5` more, together with Thonny IDE and a plug-in: [Thonny+py5 instructions](https://abav.lugaralgum.com/como-instalar-py5/index-EN.html)

---

<div class="post-metadata">

**Author:** ![Ray0204](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Ray0204](https://discourse.processing.org/u/Ray0204)\
**Post date:** [March 22, 2024, 12:32am UTC](https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074/8 "2024-03-22T00:32:35Z")

</div>

wow,thanks, that’s help a lot.

---

<div class="post-metadata">

**Author:** ![Ray0204](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Ray0204](https://discourse.processing.org/u/Ray0204)\
**Post date:** [March 22, 2024, 12:33am UTC](https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074/9 "2024-03-22T00:33:38Z")

</div>

thanks for your helping 😃
