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.
This project is part of the Viron ecosystem and provides a visual layer to its simulated environments.
- Grid-based rendering of 2D environments
- Initial support for Pygame
- Interactive toggling of cell states
- Modular structure designed for future support of other graphics libraries
- Clean interface for testing Viron entity placement and behavior
Clone the repository and install dependencies:
git clone https://github.com/dmccoystephenson/testing-drawing-grid.git
cd testing-drawing-grid
pip install -r requirements.txt # if a requirements file exists
To launch the Patchwork visualization:
bash run.sh
Or run it directly:
python main.py
Make sure Viron is running or properly configured for environment data access.
- Visualization of entity grids and spatial data from Viron
- Debugging simulations in real-time
- Prototyping user interfaces or tile-based systems
- Educational demos of 2D virtual environments
- Add support for other graphics libraries (Tkinter, OpenGL, etc.)
- Layered rendering and animation
- Customizable grid styling
- Real-time interaction with live Viron simulations
This project is licensed under the MIT License.
Created by Daniel McCoy Stephenson as part of the Preponderous ecosystem.