Hacker News new | ask | show | jobs
by ripleyp 529 days ago
Very cool! I did a similar project last year. Really like how your result looks with the lighting setting on.

The most interesting results I got were from having multiple "variants" and giving each variant parameters for their attraction to agents of their own/other type. Implementation-wise it was a variant tag for each agent and a matrix of attraction coefficients as a uniform. Playing with the params resulted in interesting behaviors, like one variant chasing another around while they both try to avoid a third.

If you're looking for an addition to this project, I'd recommend giving it a try!