RepositoryJavaScriptINẤn Độ
anuraghazra

anuraghazra/EvolutionAquerium

:fish: :bug: Small Inteli Creatures Based On Steering Behaviours

197sao
24fork
0issue
4lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: boids

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: steering-behaviours

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: genetic-algorithm

#1 Repository của tháng

🧬 Đảo sinh học: Nơi AI học cách sống, tránh chết và sinh sản

Một hệ sinh thái ảo nơi các sinh vật nhân tạo phát triển qua lựa chọn tự nhiên và di truyền.

EvolutionAquerium là một dự án mã nguồn mở dựa trên hành vi Steering của Craig Reynolds và hệ thống boids, kết hợp giải thuật di truyền để mô phỏng sự tiến hóa của các sinh vật trong môi trường ảo. Dự án giúp bạn trải nghiệm cách các tác nhân thông minh nhỏ mạng phí, tương tác và thích nghi qua thời gian.

✨ Điểm nổi bật

  • Hành vi Steering cơ bản: Các lớp Agent với flock(), align(), separate(), cohesion() điều khiển chuyển động tự nhiên.
  • Hệ thống sức khỏe và thực phẩm: Agent có máu, giảm dần theo thời gian, tăng/giảm khi ăn thực phẩm tốt/xấu.
  • Hành vi sợ hãi thông minh: Phương thức defineFavor() áp dụng lực thôi trườm giữa các sinh vật.
  • Hệ thống sinh sản DNA: Cặp đực cái gặp nhau tạo con với di truyền trộn và đột biến.
  • Kẻ săn mồi (Predator): Dùng defineFavor() ngược chiều để tấn công, càng lớn càng chậm.
  • Kẻ tránh nhiễm (Avoider): Siêu nhanh nhưng dùng defineFavor() để tránh độc và kẻ săn mồi.
  • Tên riêng và giới tính: Mỗi Agent có tên duy nhất và thuộc giới tính male/female/predator/avoider.

💡 Vì sao đáng chú ý

Dự án không chỉ là mô phỏng flocking đơn thuần mà còn kết hợp di truyền và lựa chọn tự nhiên, tạo ra một hệ sinh thái sống động. Các sinh vật phát triển hành vi sống sót thực sự qua thời gian chứ không phải script cứng. Phù hợp để học AI sinh học, creative coding, hoặc nghiên cứu hành vi tập thể.


#GeneticAlgorithm #FlockingSimulation #CreativeCoding #SteeringBehaviours #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC#
nvjob/nvjob-boids

#NVJOB Simple Boids (Flocks of Birds, Fish and Insects). Flocking Simulation. Free Unity Asset.

105
Apr 10, 2023
RepositoryJavaScript
cubedhuang/boids

An interactive 2D bird flocking simulation using a spatial subdivision method to optimize performance for thousands of agents.

81
Feb 3, 2026
RepositoryPython
mesa/mesa

Mesa is an open-source Python library for agent-based modeling, ideal for simulating complex systems and exploring emergent behaviors.

4.0k
Dec 1, 2026
RepositoryC
clainstone/cbirds

A flock of birds in your terminal: Craig Reynolds' boids, in braille in any terminal and as sprites in Kitty and Ghostty. One C99 program, no dependencies. Linux and macOS

325
Nov 18, 2026
RepositoryC++
Cultrarius/Swarmz

A free, header-only C++ swarming (flocking) library for real-time applications

141
Oct 31, 2019
RepositoryPython
paul-shuvo/MSN-Flocking-Formation-Control

:flying_saucer: An implementation of multi-agent flocking formation control with specific formations that can follow a target without collision and can avoid obstacles.

71
Apr 16, 2025
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryJavaScript
react/react

The library for web and native user interfaces.

253.0k
Nov 30, 2026
RepositoryJavaScript
trekhleb/javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

196.8k
Jul 26, 2026