For my homework 10, I mainly used a seek function to have my little yellow man move towards my mouse when I clicked. As is showed in the video:
When pressed
By using the seek function, my little yellow men will seek for the position of the mouse, and they will gather around with it. To avoid static gathering, I add a random factor to their positions, to make them more dynamic.
I also tried flow field, but it didn’t work out as well as I expected, and here is the video: