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

Uploaded Source

Built Distribution

monolens-0.6.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: monolens-0.6.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.3.1 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.6.1.tar.gz
Algorithm Hash digest
SHA256 266a8f8b66942a77077e79b5893353e79e244901d85bc1df559913e37a7f0148
MD5 e2a0198f5db5a7b1a2ccefe0283b5d77
BLAKE2b-256 a0b51326857b2e7b0aa8fbbcc317e4f8c347234d686ac15f4884d4f40416b8b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: monolens-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 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.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2a401fbcddaa56236ec7ae0f7a54544566ea139ede137a1247f86d980d05008
MD5 0f2631aded8abd02c24ff350ca6727b5
BLAKE2b-256 da420ac78b3599259ad7de1ffde0c4fd32418ef0add16b0350938f161ce1579d

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