NOC W10 - Ants
Final Version
https://editor.p5js.org/WangZhewei1027/sketches/Sli2ULAko
Imitating the motion of ants: Seeking, carrying, and feeding the queen ant.

Inspiration
The motion of ants moving foods:

Working Process:
Version 1: https://editor.p5js.org/WangZhewei1027/sketches/DSj_1nXm3
Version 2: https://editor.p5js.org/WangZhewei1027/sketches/rkrJnneIA
Version 3: https://editor.p5js.org/WangZhewei1027/sketches/grOUpqWYC
Reflection
Reflecting on the current state of the program design, it's apparent that the architecture lacks the necessary elegance and coherence to support seamless future development. The structure as it stands presents potential obstacles for integrating new features or scaling up, which can lead to increased complexity and the potential for technical debt. To avoid such issues, it would be prudent to adopt a more deliberate and methodical approach to program design.
In future projects, I plan to invest time upfront in the planning phase to outline the functions and the overall structure. This would involve defining clear interfaces for components, ensuring modularity, and establishing a robust foundation that accommodates change and expansion. Employing design patterns where appropriate could also aid in creating a more flexible and maintainable codebase.