Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Blur] Make blur more effective on scaled display #22

Closed
jtheoof opened this issue Jun 3, 2020 · 0 comments
Closed

[Blur] Make blur more effective on scaled display #22

jtheoof opened this issue Jun 3, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@jtheoof
Copy link
Owner

jtheoof commented Jun 3, 2020

Following #17, the blur is not effective enough on scaled displays. Even smashing all the way to 500, the user has to do many passes to effectively blur sensitive texts on terminal or code editor.

Example trying to blur the following text on black background will lead to:

blur times (level 500) | secret password
----------------------------------------
0                      | passzero
1                      | passone
2                      | passtwo
5                      | passfive
10                     | passten

image

Ideas:

  1. Transform the blur level into an input, where users can go crazy
  2. Make it Low Medium High setting
  3. Give it an insane value not configurable (if it's only used for sensitive data, which it probably is)
@jtheoof jtheoof added the bug Something isn't working label Jun 5, 2020
jtheoof added a commit that referenced this issue Jun 11, 2020
- Fix blur logic
- Reused rendered surface to optimize future render on comitted blur
- Include gaussian kernel function

Closes #20
Closes #22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant