Skip to content

Conversation

linlinbest
Copy link

Repo Link: https://github.com/linlinbest/Project1-CUDA-Flocking

Features:
I implemented 3 ways to find neighbors of boids for velocity computation and flocking boids simulation.

  • Naive method: Simply check through all of boids to find neighbors of a boid.
  • Scattered uniform grid: Put boids in uniform grids based on their position, and then find neighbor grids in order to find neighbor boids.
  • Coherent unfiform grid: Use the uniform grid method, and rearrange position and velocity data so that they are contiguous in memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant