Skip to main content

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


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.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

grid_vis-0.1.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file grid_vis-0.1.2.tar.gz.

File metadata

  • Download URL: grid_vis-0.1.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for grid_vis-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d27e8b8fd9a75cf89b6a6bcf73ecb79ab40f62d00bc269f1c9bc8b1207ca9796
MD5 ccf9b871030a126195526137a5d741f9
BLAKE2b-256 db6082d3ba4488f3a4a22b06726fe0de7b038df029d2ec3502e94999397d5a3e

See more details on using hashes here.

File details

Details for the file grid_vis-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: grid_vis-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for grid_vis-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71c6e42942d4803ec27794a13fd7927216139a83e61312653786adc09eeba7db
MD5 bd40e107dfd606385bd13c40a4ced796
BLAKE2b-256 17fcd23467b5257c7ed92b9da651e16f0734fd8efd07ab37d463b2d21c5d4216

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page