Live data from Hacker News

Boids

en.wikipedia.org

21–30 of 84 posts

Re: Boids

#22
Slightly OT, but this is a very interesting problem to implement on a GPU because it very much resembles in its structure the implementation of exact N-body simulator on massively parallel machines.

Re: Boids

#25

Slightly OT, but this is a very interesting problem to implement on a GPU because it very much resembles in its structure the implementation of exact N-body simulator on massively parallel machines.

Yes boids are great for parallelization. Each boid must compute a stressor imposed by neighboring boids based on the three rules in the paper (separation, alignment, and drifting towards center of mass). The stressor for each boid is simply applied to each boids velocity. Given a thousand threads / cpus / cuda cores, what have you, each unit can be applied to a single boid

Re: Boids

#27

I have an implementation here [0] if people want to play with it. Supports dynamically changing the controls, has obstacles and predators. Setting weights for separation, alignment and cohesion to zero and then increasing only one of them nicely shows which role each of them plays. It's actually made as a workshop [1] for my company, where the shell is provided and one has to implement it step by step. In Norwegian,…

I had fun playing with the parameters, thanks! Now, I want a wallpaper version of this with low maxSpeeds. Very relaxing.

Re: Boids

#28

Beautiful example: https://twitter.com/OskSta/status/1219340987299966976 https://twitter.com/OskSta/status/1219343599336333319 https://twitter.com/OskSta/status/1225037781858234368

Oskar’s tweets showing his city-builder are some of my favourite things on the internet. His combination of 3D rendering and artistic style is just black magic to me.

Re: Boids

#29
post #6

I recommend one of my favourite books, Gary William Flake’s 1998 The Computational Beauty of Nature to anybody interested in boids or other computational models of social, chemical, and physical phenomena. Therein the author covers boids extensively and in detail. If I am not mistaken it is in section 16.3 that the author treats boids fairly extensively.

That's right, currently reading it for my uni course :)

Re: Boids

#30
post #28

Beautiful example: https://twitter.com/OskSta/status/1219340987299966976 https://twitter.com/OskSta/status/1219343599336333319 https://twitter.com/OskSta/status/1225037781858234368

Oskar’s tweets showing his city-builder are some of my favourite things on the internet. His combination of 3D rendering and artistic style is just black magic to me.

A real challenger to the Return of the Obra Din Devlog :)

https://forums.tigsource.com/index.php?PHPSESSID=qvfvkcqtfr9...

Post reply on HN