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 monochrome colors or in simulated protanopia, deuteranopia, or tritanopia.

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
  • To quit, press Escape, Q, or double click on the lens
  • Resize the lens by pressing up, down, left, right
  • Press Tab to switch between monochrome view and simulated protanopia, deuteranopia, tritanopia
  • Press I to switch view label on/off
  • To move the lens to another screen, press M

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.0.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: monolens-0.7.0.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.0.tar.gz
Algorithm Hash digest
SHA256 7103c2adfee7864e8075afe204f4d283822403153bb03de8f9f2ffa1b54f8e2c
MD5 dfe178394d92b4558ebb332b1ac63b3d
BLAKE2b-256 1902d3382892a449f121c61bb13af75ccede38e02fb9ea2c0edc13dda318cff6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: monolens-0.7.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75b477431abcccba5f2beae907c2cbe68797b84dbfd83fe50bf2b1c4b510ec9e
MD5 fd56c213ecd410d15b2068f312f3b8bc
BLAKE2b-256 be52a23dfa4fc8f382cef46b84ad883d50c07d277458e5deb8eaa94e1d0fdaa9

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