I made this just for fun. ------------Rules------------ #1. Separation, the people will try not to get too close to each other. #2. Friendliness, there's a chance that two people become friends, and they will attract each other. The higher the "Friendliness" variable is, the higher the chance. #3. Embarrassment, If you click a person, there's a chance they'll run to a corner in embarrassment.
This is basically a modified version of @griffpatch 's tutorial. I recommend watching it if you want to understand how it works. Link: https://www.youtube.com/watch?v=Rv1tvWTtd5M