8000 GitHub - MrTeraxx/boids-simulation
[go: up one dir, main page]

Skip to content

MrTeraxx/boids-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฆ 3D Boids Simulation with VPython

A beautiful, real-time 3D simulation of flocking behavior using VPython. This project visually demonstrates how birds (boids) behave collectively by following simple local rules like alignment, cohesion, and separation โ€” resulting in natural, emergent movement.


๐ŸŒŸ Features

  • ๐Ÿ“ฆ Realistic 3D Boids simulation in a dynamic boundary box
  • ๐ŸŽจ Boids grouped by color with smoother bird-like motion
  • ๐Ÿง  Natural flocking behavior: alignment, cohesion, and separation
  • ๐ŸŽฅ Real-time camera controls and smooth trails
  • ๐Ÿ•น๏ธ Interactive buttons to:
    • Pause/Play
    • Speed Up / Slow Down
    • Spawn new colored groups randomly

๐Ÿ“ฝ๏ธ Controls

Action Key/Button
Pause/Play UI Buttons
Slow/Fast UI Buttons
Add New Group Spawn Group button
Rotate Camera Drag Mouse
Zoom Scroll Mouse

๐Ÿ› ๏ธ Requirements

Install dependencies:

pip install vpython

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0