A Boids flocking simulator that runs directly inside your Neovim buffers using virtual text. The boids swarm around your code and are attracted to your cursor.
It utilizes uniform grid spatial partitioning to handle the n-body kinematics.
demo.mp4
Using lazy.nvim:
{
"5hashN/flock.nvim",
opts = {
num_boids = 40,
timer_interval = 50,
visual_char = ">",
}
}