Skip to content

Latest commit

 

History

History

module05-agents

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Autonomous Agents

Core Material

For each module, I will provide written and video tutorials on the topics. You can review whichever format suits you best. If the amount feels overwhelming, please reach out and we can help you narrow things down, and select a subset of the material to focus an exercise around. It's a lot!

Part 1: Individual Behaviors Basics

These videos are in-progress "rough cuts." Not every detail is finalized and there may be mistakes / issues. If you have thoughts or comments please let me know!

Part 2: Group and Combined Behaviors

Code Examples

Supplemental Material

For each module, I will provide a list of additional video tutorials and readings that you may draw on for further exploration. It's unlikely you would be able to consume everything in one week and if you are looking for guidance about what might fit with your interests and learning style the most, please reach out.

Flow Field Following and Perlin Noise

Steering References

Geometry References

QuadTree Optimization

Assignment

Incorporate a steering behavior into a p5.js sketch. Here are some ideas:

  1. Expand / augment your simulation project incorporating the concept of a steering force: desired - velocity.
  2. Try combining multiple steering behaviors into one agent. Can you create an interface (or set of rules) to control the weights of the various behaviors?
  3. Create a path for agents to follow that is interactive or changes over time. What if the path has multiple segments? Can the points that define the path itself have their own steering behaviors?
  4. Add visual design elements for the environment and agents in the flocking system. Are they birds, fish, insects, fictional creatures? How does varying the behavior itself (weights of forces) add to the experience?
  5. Extending the idea above, can you create an environment with two different kinds of agents that interact with each other? Maybe the birds eat the insects or perhaps there is a symbiotic relationship between different types of creatures that benefits all of them.

Emoji Key

The following emoji key will hopefully help you navigate the material for each module.

  • 🚂 Video tutorial from Coding Train
  • 🎥 Other video tutorial
  • 📗 Nature of Code book
  • 📕 Other reading
  • 💻 Code examples
  • 🎨 Creative project references