Boids Simulation (C#)
Animated gif of Boids simulation at run-time inside of Unity game engine.

Animated gif of Boids simulation at run-time inside of Unity game engine.

Video capture of Boids simulation at run-time inside of Unity game engine.

Unity run-time screenshot.

Unity run-time screenshot.

Debug view in Unity scene view.

Debug view in Unity scene view.

Fish model + textures

Fish model + textures

This is the shader-graph I created for the water. Using sine node to animate the water.

This is the shader-graph I created for the water. Using sine node to animate the water.

This is the shader-graph I created to animate and color the fish. Using sine node to animate the fish.

This is the shader-graph I created to animate and color the fish. Using sine node to animate the fish.

this flock script is placed on individual fish prefabs.

this flock script is placed on individual fish prefabs.

this flock manager manages all fish prefabs in the array/group

this flock manager manages all fish prefabs in the array/group

This is a personal project that I started for fun. I have been fascinated by Craig Reynolds Boids model for simulating artificial life flock movement.

I created the 3D fish model in Maya, textured in photoshop, water/fish shaders and C# code in Unity.

Github link: https://github.com/Leinad-Dev/Boids