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
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
monolens-0.6.0.tar.gz
(2.4 MB
view details)
Built Distribution
File details
Details for the file monolens-0.6.0.tar.gz
.
File metadata
- Download URL: monolens-0.6.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.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39f67107fa820ca6eeaf58569e6450f375f6370ace3135cf92868cb306714239 |
|
MD5 | 0888acc8bd49468cdcc378e0a5d4ab7c |
|
BLAKE2b-256 | 2fa6fb9bd8d3a2457959b1cf0795de1501b6ab34cb6f3703e001311801b144a4 |
File details
Details for the file monolens-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: monolens-0.6.0-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fd19035bd54e64f804acbf511c101799732bef60b17f4f03781a105d18ffe98 |
|
MD5 | 2a1736f74e7fc947689fe113fc32a049 |
|
BLAKE2b-256 | 073a27ff499ce1ed4f7980bebd54c0e3aff0de7bb13d4f697be26720d7f534ff |