A projection mapping application using PyOpenGL and Tkinter
Project description
FREEkMapper
A powerful projection mapping application built with Python, Tkinter, and OpenGL. Designed for live performance and installation art, FREEkMapper allows you to map video and images onto physical surfaces with advanced sequencing and live control capabilities.
Features
- Quad Surface Mapping: Create and map multiple quad surfaces to physical objects.
- Media Support: Load videos and images onto individual surfaces.
- Advanced Playback Modes:
- Concurrent: All surfaces play their media simultaneously (looping).
- Sequential: Define a playlist of steps where surfaces play one after another.
- Continuous Surfaces: Designate specific surfaces to keep playing (e.g., background loops) regardless of the current sequence step.
- Live Control Panel: A separate window for triggering saved configurations and managing shows live.
- Fullscreen Output: High-performance OpenGL output window for the projector.
- Configuration Persistence: Save and load your entire mapping setup and sequence.
Installation
pip install freekmapper
Usage
To start the application:
freekmapper
Workflow Guide
1. Mapping Surfaces
- Add Surface: Click "Add Quad Surface" to create a new mapping area.
- Adjust Geometry:
- In the Embedded Preview (Right Panel), drag the corners of the surface to match your physical object.
- Use Shortcuts:
r/Rto rotate the surface points if the orientation is wrong.
- Load Media: Select a surface in the list and click "Load Video" or "Load Image".
2. Sequencing & Playback
The application supports two playback modes:
- Concurrent (All Play): Default mode. All surfaces play their assigned media in a loop.
- Sequential (One by One): Plays a defined playlist of cues.
Setting up a Sequence
- Click ⚙ Setup Sequence to open the Sequence Editor.
- Add Steps: Select a surface and media file, then click "Add to Playlist".
- Order: Use "Move Up" / "Move Down" to arrange the playback order.
- Continuous Surfaces: Check the boxes on the right for surfaces that should always be visible (e.g., a background layer), even when other steps are playing.
- Apply: Saves the sequence.
3. Live Performance
For live shows, use the Live Control Panel:
- Click 🎛 Live Control Panel.
- Slots: You have 5 slots to assign different saved configurations (
.npyfiles).- Click Assign to choose a config file.
- Click GO to instantly load that configuration.
- Looping:
- Check the boxes next to the slots you want to include in a loop.
- Set the Loop Duration (in seconds).
- Click Start Loop to cycle through the selected configs automatically.
- Blackout: Click Disable Show to instantly blackout the projector output. Click again to resume.
4. Fullscreen Output
When you are ready to project:
- Select the target Display from the dropdown.
- Click ▶ Fullscreen Output.
- Fullscreen Shortcuts:
ESC: Exit fullscreen.E: Toggle Edit Mode (shows/hides corner handles).H: Hide/show control overlays.R: Rotate the selected surface.- Drag Corners: You can fine-tune the mapping directly in the fullscreen window.
Requirements
- Python 3.8+
- OpenGL 3.3+ compatible graphics card
- Dependencies:
moderngl,glfw,dearpygui,opencv-python,numpy,Pillow
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file freekmapper-0.1.3.tar.gz.
File metadata
- Download URL: freekmapper-0.1.3.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
043ddf7889ee016c23624da23688d575ccb11c97bf54dffeea35bf644dba7ba0
|
|
| MD5 |
4308c2b47d2667661e165c6601cd90e6
|
|
| BLAKE2b-256 |
3660bdf464cfad592a347eebf53fe7468195a3ac0d1585e5bd245c567fcfaec3
|
Provenance
The following attestation bundles were made for freekmapper-0.1.3.tar.gz:
Publisher:
publish_pypi.yml on v-prgmr/FREEkMapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
freekmapper-0.1.3.tar.gz -
Subject digest:
043ddf7889ee016c23624da23688d575ccb11c97bf54dffeea35bf644dba7ba0 - Sigstore transparency entry: 814673085
- Sigstore integration time:
-
Permalink:
v-prgmr/FREEkMapper@37655abf3e9bc591326565b6ca5f8482d38bcf6c -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/v-prgmr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@37655abf3e9bc591326565b6ca5f8482d38bcf6c -
Trigger Event:
push
-
Statement type:
File details
Details for the file freekmapper-0.1.3-py3-none-any.whl.
File metadata
- Download URL: freekmapper-0.1.3-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd4f1879654188d90c262fe9c772ea73eac7c9e4db33ebdafd7d923a74074a85
|
|
| MD5 |
8136c772ec61eee022ac8a8aaddd0afb
|
|
| BLAKE2b-256 |
180f46e6728ddbe59713227febd7137516b1dc00e5d0128a367e6d5232664ea0
|
Provenance
The following attestation bundles were made for freekmapper-0.1.3-py3-none-any.whl:
Publisher:
publish_pypi.yml on v-prgmr/FREEkMapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
freekmapper-0.1.3-py3-none-any.whl -
Subject digest:
bd4f1879654188d90c262fe9c772ea73eac7c9e4db33ebdafd7d923a74074a85 - Sigstore transparency entry: 814673086
- Sigstore integration time:
-
Permalink:
v-prgmr/FREEkMapper@37655abf3e9bc591326565b6ca5f8482d38bcf6c -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/v-prgmr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@37655abf3e9bc591326565b6ca5f8482d38bcf6c -
Trigger Event:
push
-
Statement type: