Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zojize/taichi-flocking

flocking simulation in taichi
https://github.com/zojize/taichi-flocking

Last synced: 4 days ago
JSON representation

flocking simulation in taichi

Awesome Lists containing this project

README

        

# Flocking Behavior

## Background

A simple flocking behavior simulation implemented in Taichi. Heavily inspired by [this tutorial](https://www.youtube.com/watch?v=mhjuuHl6qHM).

## Demo

- 50 Boids

![50_boids_as_triangles](data/50_boids_as_triangles.gif)

- 5000 boids

![5000_boids](./data/5000_boids.gif)

## 运行方式

```bash
python3 main.py
```

## TODOS

- [x] Brute force implementation
- [x] OOP
- [ ] Quadtree optimization