Challenge Six
2026-11-12T14:15
Goals
In this challenge, you should be able to demonstrate the following:
- Knowledge of autonomous behavior
- Ability to extract information from an academic paper
Getting Started
- Accept the assignment from Classroom 50
- Clone the repository GitHub classroom creates to your local computer (in your shell, type
git cloneand the address of the repository)
I have noticed that Classroom 50 adds a lot of noise to the name of your repositories, which makes it difficult to distinguish between files in a file browser.
You can rename the directory without breaking anything, and I suggest that you do so.
git even provides you a way to do this at the moment when you clone the repository:
git clone <repo address> <new name>Objective
In class, we developed the basics of of an anonymous “boid” that displayed basic flocking behavior. For this challenge, I would like to you add at least two additional steering forces.
Your steering forces should be implementations of forces described in “Steering Behaviors for Autonomous Characters”. The descriptions of the various forces are at a high level abstraction with some math. Your goal will be to transform these descriptions into implementations.
Once you have the forces implemented, I would like you to transform the behavior into something creative. You can use any tool in your toolbox, but it must in some way transform the system to create something interesting. A collection of triangles that chase the cursor would not be viewed as a successful creative addition.
Requirements
- there should be at least two new steering forces added to the
Boid - the new steering forces must come directly from descriptions in the linked paper
- there must be a creative addition that transforms this from a simple system of little triangles
- your submission must include at least snapshots of your system when it is in an interesting state
- the reflection must be completed
- the reflection should include a description of each force added that clearly states which force you added and how it works
Thoughts
Be methodical about this challenge. Start by understanding the existing code before you start adding things. Add one force at a time and make sure you test it with a small number of boids when you begin.
Do your best to think outside the box with your creative additions. Some questions to get you started (you don’t need to follow all or any of these)
- What does the boid look like?
- Do we need to actually see the boid?
- Do you want to see where the boid has been?
- Do you want to see some visual representation of the forces?
- What other things are in the environment?
- Can boids affect their environment?
- What do the boids want?
- At a conceptual level, what does the boid represent in your piece?
You are also not limited to merely building on the sample code. Feel free to
- change the max forces and speeds, or even make them unique to each boid
- use
seekin different ways than just having the first boid chase the cursor - redefine neighborhoods
Reflection
I would like you to write a brief reflection in the reflection.md file. It should answer the following questions:
- Do you think it is complete?
- If not, what is left to go and how are you going to address it?
- What design decisions did you make and why?
- What was the hardest part?
- What, if anything, have you gained by completing this challenge?
- What questions (if any) do you have about this assignment?
- Which steering forces did you add?
- For each additional steering force, describe how it works.
Revisions
If you revise your submission, please add a dated addition to your reflection that describes what has been changed.
Submitting
When you are ready to submit:
- Add and commit your changes and push those commit(s) to GitHub.
- Submit your repository to Gradescope (you can submit as often as you like up to the deadline)