Skip to main content

View part of your screen in monochrome colors or in simulated protanopia, deuteranopia, or tritanopia

Project description

monolens

View part of your screen in greyscale or simulated colorblindness.

Watch the demo on YouTube.

Install with pip install monolens and then run monolens in a terminal or do it in one command with or pipx run monolens.

Usage

  • Drag the lens around by holding a Mouse button down inside the window
  • Press Escape, Q, or double click on the lens to quit
  • Press up, down, left, right to resize the lens
  • Press Tab to switch between greyscale and different forms of simulated colorblindness
  • Press I to switch view label on/off
  • Press M to move the lens to another screen

On OSX, you need to give Monolens permission to make screenshots, which is safe.

Known limitations

  • The app is tested on OSX and Linux. It may flicker when you move the lens (less so on OSX). If you know how to fix this, please help. :)
  • Pulling the lens to another screen is currently not supported. Press S to switch screens instead.
  • The lens actually uses a static screenshot which is updated as you move the lens around. This trick is necessary, because an app cannot read the pixels under its own window. Because of this, the pixels under the app are only updated when you move the lens away first and then back.
  • On OSX, an ordinary app is not allowed to read pixels outside of its window for security reasons, which is why this app needs special permissions. Doing this is safe; Monolens contains no networking code and will neither store nor send your pixels anywhere.

Future plans

  • Support gestures to rescale the lens (pinch etc)

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

monolens-0.7.1.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

monolens-0.7.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file monolens-0.7.1.tar.gz.

File metadata

  • Download URL: monolens-0.7.1.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for monolens-0.7.1.tar.gz
Algorithm Hash digest
SHA256 b468d87ff5bb31116b686ae508e9d8214e03f9b7803fecadfc1a800907d7a089
MD5 2c43addb47f51090852ba7d1e4eb299a
BLAKE2b-256 356f0f4b9a13175b10fa9b7587c633437e0a23df60e7e2325faafd55b9137008

See more details on using hashes here.

File details

Details for the file monolens-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: monolens-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for monolens-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb854273ecdc41f1a27845f97454bcc97c54dd7ad6b36459a0e238db40274e41
MD5 db5726f5ba7e557242083dc61566e863
BLAKE2b-256 80696c9abedfc20104f5f9316b22fdf6cd9cd8bd977afd6458da4173e68ca75d

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