FranceManevilleF/bevy_life
Generic cellular automaton plugin for bevy.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#1 Repository Của Tuần
🧬 bevy_life – Plugin cellular automaton toàn diện cho Bevy
Generic, dynamic, và sẵn sàng mọi rule – từ Conway’s Game of Life đến WireWorld, 2D hay cả 3D.
bevy_life là một plugin cellular automaton hoàn toàn generic và dynamic dành cho Bevy Engine, viết bằng Rust và phép duyệt unsafe. Dự án hỗ trợ mọi dạng automaton từ Game of Life kinh điển, WireWorld cho đến Cyclic Colors, và cả các quy tắc tùy chỉnh hoàn toàn mới.
✨ Điểm nổi bật
- Generic hoàn toàn: Dùng
CellularAutomatonPlugin<C, S>vớiC(hệ tọa độ) vàS(quy tắc), tùy biến tùy ý. - Các plugin có sẵn: GameOfLife2dPlugin, WireWorld3dPlugin, CyclicColors2dPlugin...
- Hỗ trợ 2D & 3D: MooreCell2d/3d, NeumannCell2d/3d, HexagonCell2d...
- Tùy biến quy tắc: Dễ dàng cài đặt
impl Cellvàimpl CellStatecho entity. - Tạm dừng mô phỏng: Chèn/removing
SimulationPauseresource. - Tính toán song song: Dùng
SimulationBatchđể xử lý batch tùy chỉnh. - Cargo features linh hoạt: Bật/tắt 2D, 3D, auto-coloring, bevy_reflect.
- Ví dụ phong phú: Game of Life, Rock Paper Scissor, WireWorld...
💡 Vì sao đáng chú ý
Không giống các thư viện cellular automaton khác chỉ hỗ trợ một vài rule cố định, bevy_life cho phép người dùng định nghĩa bất kỳ hệ tọa độ và quy tắc nào. Điều này giúp nó dễ dàng tích hợp vào bất kỳ dự án Bevy nào, dù là mô phỏng hệ thống điện tử (WireWorld) hay thử nghiệm các automaton 3D phức tạp.
#Rust #Bevy #CellularAutomaton #GameOfLife #TiniX
Similar Projects
Discover other similar projects and AI models.
Experimental real-time renderer with support for dynamic global illumination