Skip to main content

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

  1. Add Surface: Click "Add Quad Surface" to create a new mapping area.
  2. Adjust Geometry:
    • In the Embedded Preview (Right Panel), drag the corners of the surface to match your physical object.
    • Use Shortcuts: r / R to rotate the surface points if the orientation is wrong.
  3. 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

  1. Click ⚙ Setup Sequence to open the Sequence Editor.
  2. Add Steps: Select a surface and media file, then click "Add to Playlist".
  3. Order: Use "Move Up" / "Move Down" to arrange the playback order.
  4. 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.
  5. Apply: Saves the sequence.

3. Live Performance

For live shows, use the Live Control Panel:

  1. Click 🎛 Live Control Panel.
  2. Slots: You have 5 slots to assign different saved configurations (.npy files).
    • Click Assign to choose a config file.
    • Click GO to instantly load that configuration.
  3. 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.
  4. Blackout: Click Disable Show to instantly blackout the projector output. Click again to resume.

4. Fullscreen Output

When you are ready to project:

  1. Select the target Display from the dropdown.
  2. Click ▶ Fullscreen Output.
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freekmapper-0.1.4.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freekmapper-0.1.4-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file freekmapper-0.1.4.tar.gz.

File metadata

  • Download URL: freekmapper-0.1.4.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for freekmapper-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e2ecf822a073f2eb8078e9fc7f887c4ee63a691b4e785328442cf0cf20500cd7
MD5 6b910b75d79dcc9bdc61f8d5062c38a4
BLAKE2b-256 bfc4a8c0ac5633b0253a7c1c6a0b5d04bc73a4462af325215d78207a1e3cd311

See more details on using hashes here.

Provenance

The following attestation bundles were made for freekmapper-0.1.4.tar.gz:

Publisher: publish_pypi.yml on v-prgmr/FREEkMapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file freekmapper-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: freekmapper-0.1.4-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

Hashes for freekmapper-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 32aaf5bd1f64f6a4f91da07cbf62d3a9c2a9ffe7dc4cc4f69c927d9eae5293ad
MD5 ec48d82ec61e7649bff50450392978cb
BLAKE2b-256 5f220dfa9ceaa9d7e1c12faf1e9378c30934aa0cb6fd21340c067960c18944be

See more details on using hashes here.

Provenance

The following attestation bundles were made for freekmapper-0.1.4-py3-none-any.whl:

Publisher: publish_pypi.yml on v-prgmr/FREEkMapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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