Display battle maps for TTRPGs on a secondary tv
Project description
Battle Map TV
Python application to display battle maps for TTRPGs on a secondary tv.
For GM's with little time or who improvise their sessions. This application aims to do one thing only: quickly show an image on your secondary screen, in the right size and with a 1-inch grid.
Features
- Works natively on Linux, macOS and Windows.
- Doesn't use a browser.
- Works offline, no subscription or anything, fully open source.
- Import local image files to display on the tv.
- Scale, pan and rotate the image.
- Store the physical size of your screen to enable grid and autoscaling.
- Overlay a 1-inch grid.
- Automatically detect the grid in an image and scale to 1 inch.
- Save settings so images load like you had them last time.
Screenshot
Quickstart
This assumes you have Python installed. Probably you also want to create a virtual environment.
pip install git+https://github.com/conengmo/battle_map_tv
python -m battle_map_tv
Then drag an image from a local folder into the GM window to display it.
There are two text boxes to enter the dimensions of your secondary screen in milimeters. This is needed to display a grid overlay and autoscale the image to 1 inch.
You can drag the image to pan and zoom with your mouse scroll wheel or with the slider in the GM window.
Close the application by closing both windows.
Technical
- Uses Pyglet for the graphical user interface.
- Uses OpenCV to detect the grid on battle maps.
- Uses Hatch to build and release the package.
- Icons by Prinbles https://prinbles.itch.io/analogue-buttons-pack-i
- Fire resource by DemontCode https://demontcode.itch.io/fireball
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
Built Distribution
File details
Details for the file battle_map_tv-0.1.0b1.tar.gz
.
File metadata
- Download URL: battle_map_tv-0.1.0b1.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b16424123ac0894d72f76dee46918534254cd15de0aa7aba93a58abf9732584 |
|
MD5 | a020ad1858f5beff10ec98e8b32e182f |
|
BLAKE2b-256 | 69baaf94b64cc5c2443ef4007f5f0cc846a76519c5046f321e6a6605422740f0 |
File details
Details for the file battle_map_tv-0.1.0b1-py3-none-any.whl
.
File metadata
- Download URL: battle_map_tv-0.1.0b1-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52b5d5351658b9151621920f30d99d0612efe9408fedabcc8a84f294cba4a9a2 |
|
MD5 | 68a1ab9bd4c0679afe3d5dc9358aa9e7 |
|
BLAKE2b-256 | 67b147330b278e4770c7e4cbbae2dc030e08e0285c9dc12e2d502ba66969d5b8 |