News for hackers. Stuff that matters.
Re:Boids by nitrogen on Saturday March 28, 2020 @05:20PM (#22714411)
Works great on my phone. I noticed that flocks tended to split when they wrap around the edge of the field, as if forces weren't being computed wrapped. Makes it hard to accomplish my goal of merging all the boids into a single flock :).
Re:Boids by matsemann on Saturday March 28, 2020 @07:11PM (#22715006)
Yeah, the neighbourhood calculation doesn't wrap around. That's trivial to add, but then one has to account for the wrapping when calculating average neighbourposition so it's not completely off. Not too hard, but would have added complexity to the workshop.