Skip to content

Commit 383bc93

Browse files
Update README.md
1 parent bda511a commit 383bc93

File tree

1 file changed

+69
-2
lines changed

1 file changed

+69
-2
lines changed

README.md

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,69 @@
1-
# testing-drawing-grid
2-
This repository is intended to test drawing a grid with Viron and graphik.
1+
# Patchwork
2+
3+
**Patchwork** is a lightweight tool for visualizing 2D environments, built with Python. It serves as a testbed for experimenting with graphical rendering of grids and virtual environments using various graphics libraries—starting with **Pygame**.
4+
5+
This project is part of the [Viron](https://github.com/Preponderous-Software/Viron) ecosystem and provides a visual layer to its simulated environments.
6+
7+
## Features
8+
9+
- Grid-based rendering of 2D environments
10+
- Initial support for **Pygame**
11+
- Interactive toggling of cell states
12+
- Modular structure designed for future support of other graphics libraries
13+
- Clean interface for testing Viron entity placement and behavior
14+
15+
## Getting Started
16+
17+
### Prerequisites
18+
19+
- Python 3.10+
20+
- [Viron](https://github.com/Preponderous-Software/Viron)
21+
- [Pygame](https://www.pygame.org/) (`pip install pygame`)
22+
23+
### Setup
24+
25+
Clone the repository and install dependencies:
26+
27+
```bash
28+
git clone https://github.com/dmccoystephenson/testing-drawing-grid.git
29+
cd testing-drawing-grid
30+
pip install -r requirements.txt # if a requirements file exists
31+
```
32+
33+
### Running
34+
35+
To launch the Patchwork visualization:
36+
37+
```bash
38+
bash run.sh
39+
```
40+
41+
Or run it directly:
42+
43+
```bash
44+
python main.py
45+
```
46+
47+
Make sure Viron is running or properly configured for environment data access.
48+
49+
## Use Cases
50+
51+
- Visualization of entity grids and spatial data from Viron
52+
- Debugging simulations in real-time
53+
- Prototyping user interfaces or tile-based systems
54+
- Educational demos of 2D virtual environments
55+
56+
## Roadmap
57+
58+
- [ ] Add support for other graphics libraries (Tkinter, OpenGL, etc.)
59+
- [ ] Layered rendering and animation
60+
- [ ] Customizable grid styling
61+
- [ ] Real-time interaction with live Viron simulations
62+
63+
## License
64+
65+
This project is licensed under the [MIT License](LICENSE).
66+
67+
---
68+
69+
**Created by [Daniel McCoy Stephenson](https://github.com/dmccoystephenson)** as part of the Preponderous ecosystem.

0 commit comments

Comments
 (0)