RepositoryPythonGBUnited Kingdom
ljvmiranda921

ljvmiranda921/seagull

A Python Library for Conway's Game of Life

190stars
33forks
16issues
2views

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ủ đề: simulation-framework

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: artificial-life

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: artificial-life-algorithms

#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, Glider và hỗ trợ tạo lifeform tùy chỉnh qua lớp Custom.
  • 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.

RepositoryPython
elliotwaite/rule-30-and-game-of-life

Generates a 2D animation of Rule 30 (or other rules) being fed into Conway's Game of Life.

162
Jan 11, 2024
RepositoryPython
maxencefaldor/cax

Cellular Automata Accelerated in JAX (Oral at ICLR 2025)

273
Oct 15, 2026
RepositoryHTML
hunar4321/particle-life

A simple program to simulate artificial life using attraction/reuplsion forces between many particles

3.4k
Aug 29, 2024
Dataset
AI4Math/MathVista

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.

♥0
26.9k
Feb 11, 2024
RepositoryC++
akinomyoga/cxxmatrix

C++ Matrix: The Matrix Reloaded in Terminals (Number falls, Banners, Matrix rains, Conway's Game of Life and Mandelbrot set)

738
Jun 17, 2024
RepositoryHaskell
bollu/cellularAutomata

a collection of cellular automata written in Haskell with Diagrams

189
May 28, 2019
RepositoryC++
xms0g/cubicLife

Conway's Game of Life in 3D

119
Oct 18, 2026
RepositoryJavaScript
ethomson/github4life

Using your GitHub Contribution Graph as a four-color Game of Life.

102
Dec 4, 2023
RepositoryForth
chmykh/apl-life

Conway's Game of Life in APL in FORTH: how to implement a weird programming language using another weird programming language

102
Jul 4, 2020