grid-vis


Namegrid-vis JSON
Version 0.1.2 PyPI version JSON
download
home_pageNone
SummaryA Panda3D wrapper to visualise 2D grids.
upload_time2024-10-30 17:03:05
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseMIT License
keywords numpy grid array panda3d 3d python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 3D Grid Visualisation

A wrapper for Panda3D to visualise 2D grids 

## Installation

```
pip install grid_vis
```


## Usage

```python
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)
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "grid-vis",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "numpy, grid, array, Panda3D, 3D, python",
    "author": null,
    "author_email": "Hal Kolb <hal@kolb.com>",
    "download_url": "https://files.pythonhosted.org/packages/db/60/82d3ba4488f3a4a22b06726fe0de7b038df029d2ec3502e94999397d5a3e/grid_vis-0.1.2.tar.gz",
    "platform": null,
    "description": "# 3D Grid Visualisation\n\nA wrapper for Panda3D to visualise 2D grids \n\n## Installation\n\n```\npip install grid_vis\n```\n\n\n## Usage\n\n```python\nfrom gird_vis import run_grid\n\ndef update(grid):\n    return [\n    [1, 1, 1, 1, 1, 1],\n    [1, 0, 0, 0, 0, 1],\n    [1, 0, 0, 0, 0, 1],\n    [1, 1, 1, 1, 1, 1]\n]\n\ngrid = [\n    [0, 0, 0, 0, 0, 0],\n    [0, 0, 0, 0, 0, 0],\n    [0, 0, 0, 0, 0, 0],\n    [0, 0, 0, 0, 0, 0]\n]\n\nrun_grid(grid, update_func=update, tick_rate=1)\n```\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A Panda3D wrapper to visualise 2D grids.",
    "version": "0.1.2",
    "project_urls": {
        "bug-tracker": "https://github.com/hal609/grid_vis/issues",
        "homepage": "https://github.com/hal609/grid_vis",
        "repository": "https://github.com/hal609/grid_vis"
    },
    "split_keywords": [
        "numpy",
        " grid",
        " array",
        " panda3d",
        " 3d",
        " python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "17fcd23467b5257c7ed92b9da651e16f0734fd8efd07ab37d463b2d21c5d4216",
                "md5": "bd40e107dfd606385bd13c40a4ced796",
                "sha256": "71c6e42942d4803ec27794a13fd7927216139a83e61312653786adc09eeba7db"
            },
            "downloads": -1,
            "filename": "grid_vis-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bd40e107dfd606385bd13c40a4ced796",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4179,
            "upload_time": "2024-10-30T17:03:01",
            "upload_time_iso_8601": "2024-10-30T17:03:01.718829Z",
            "url": "https://files.pythonhosted.org/packages/17/fc/d23467b5257c7ed92b9da651e16f0734fd8efd07ab37d463b2d21c5d4216/grid_vis-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db6082d3ba4488f3a4a22b06726fe0de7b038df029d2ec3502e94999397d5a3e",
                "md5": "ccf9b871030a126195526137a5d741f9",
                "sha256": "d27e8b8fd9a75cf89b6a6bcf73ecb79ab40f62d00bc269f1c9bc8b1207ca9796"
            },
            "downloads": -1,
            "filename": "grid_vis-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "ccf9b871030a126195526137a5d741f9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3847,
            "upload_time": "2024-10-30T17:03:05",
            "upload_time_iso_8601": "2024-10-30T17:03:05.732107Z",
            "url": "https://files.pythonhosted.org/packages/db/60/82d3ba4488f3a4a22b06726fe0de7b038df029d2ec3502e94999397d5a3e/grid_vis-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-30 17:03:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hal609",
    "github_project": "grid_vis",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "grid-vis"
}
        
Elapsed time: 0.34981s