United Kingdomljvmiranda921/seagull
A Python Library for Conway's Game of Life
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 Tháng
#1 Repository Của Tháng
#1 Repository Của Tháng
🎮 Seagull — Thư viện Python dành cho Conway's Game of Life
Seagull (viết tắt của CGoL) giúp bạn tạo và chạy mô phỏng sinh học nhân tạo chỉ trong vài dòng code.
Seagull (cài qua pip install pyseagull) là một thư viện Python cho phép người dùng dễ dàng xây dựng và mô phỏng các mô hình tế bào học và sinh vật nhân tạo như Conway's Game of Life. Người dùng chỉ cần định nghĩa bảng (Board), thêm các sinh vật (Lifeform) và gọi lệnh run để bắt đầu mô phỏng.
✨ Điểm nổi bật
- Định nghĩa Board: Tạo môi trường mô phỏng bằng
sg.Board(size=(19,60)). - Thư viện Lifeform phong phú: Bao gồm các sinh vật mẫu như
Pulsar,Blinker,Glidervà hỗ trợ tạo lifeform tùy chỉnh qua lớpCustom. - Quy tắc Conway Classic: Sử dụng
sg.rules.conway_classicđể điều khiển quy tắc sinh tồn của tế bào. - Hỗ trợ hoạt hình: Gọi
sim.animate()để tạo hoạt ảnh GIF của quá trình mô phỏng. - Lịch sử và thống kê: Lấy lịch sử mô phỏng và thống kê qua
sim.get_history()hoặc kết quả trả về từrun(). - Cài đặt dễ dàng: Hỗ trợ cài đặt qua pip hoặc clone trựm từ GitHub.
💡 Vì sao đáng chú ý
Seagull khác biệt nhờ thiết kế đơn giản và trực quan, giúp người dùng tập trung vào việc thiết kế sinh vật và quy tắc mà không cần lo chi tiết kỹ thuật. Thích hợp cho giáo dục, nghiên cứu tế bào học và trò chơi khoa học.
#GameOfLife #CellularAutomata #Python #ArtificialLife #TiniX
Similar Projects
Discover other similar projects and AI models.
Generates a 2D animation of Rule 30 (or other rules) being fed into Conway's Game of Life.
A simple program to simulate artificial life using attraction/reuplsion forces between many particles
Dataset Card for MathVista Dataset Description Paper Information Dataset Examples Leaderboard Dataset Usage Data Downloading Data Format Data Visualization Data Source Automatic Evaluation License Citation Dataset Description MathVista is a consolidated Mathematical reasoning benchmark within Visual contexts. It consists of three newly created datasets, IQTest, FunctionQA, and PaperQA, which address the missing visual domains and are tailored to evaluate… See the full description on the dataset page: https://huggingface.co/datasets/AI4Math/MathVista.
C++ Matrix: The Matrix Reloaded in Terminals (Number falls, Banners, Matrix rains, Conway's Game of Life and Mandelbrot set)
a collection of cellular automata written in Haskell with Diagrams
Using your GitHub Contribution Graph as a four-color Game of Life.
Conway's Game of Life in APL in FORTH: how to implement a weird programming language using another weird programming language