A Panda3D wrapper to visualise 2D grids.
Project description
3D Grid Visualisation
A wrapper for Panda3D to visualise 2D grids
Installation
pip install grid_vis
Usage
from gird_vis import run_grid
def update(grid):
return [
[1, 1, 1, 1, 1, 1],
[1, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 1],
[1, 1, 1, 1, 1, 1]
]
grid = [
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0]
]
run_grid(grid, update_func=update, tick_rate=1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
grid_vis-0.1.0.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file grid_vis-0.1.0.tar.gz
.
File metadata
- Download URL: grid_vis-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9e60561250de72c8dc68e437d980306151238d08dcfaae73b2a1360451b62dd |
|
MD5 | 0ce099ca1d5ce7504f3df2bf70e61c81 |
|
BLAKE2b-256 | 33e6b83eb9b6d3ef785b5063e91cf42a29a13a61cf18c1ac6e538351bdfb9740 |
File details
Details for the file grid_vis-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: grid_vis-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74dfdf8496a4c2695014e66b3a8180a77bbca3b7eb3b2540400f5be2b5ffa1ec |
|
MD5 | 49e24c2435ca420b1f161c271226ed4b |
|
BLAKE2b-256 | 94bfc0b56a676b21cee2a15709e798e17236f011b39eb3fd92af1f0f9478911c |