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

Find a way to customize scanline on/off widths independently #2

Open
AdultLink opened this issue Aug 22, 2018 · 0 comments
Open

Find a way to customize scanline on/off widths independently #2

AdultLink opened this issue Aug 22, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@AdultLink
Copy link
Owner

Right now, scanlines appearance (other than speed) can only be customized by tweaking one width value, which affects both the "on" width and the "off" width but it is not possible to specify those two values separately.

sineduty

Possible ways to achieve this:

  • Replace the sine wave with a square wave generator function and tweak the duty cycle. This way we would lose the ability to make scanlines "soft" tho.
  • Implement a duty cycle on the sine wave itself somehow, maybe by establishing a threshold value [0...1] and saturating / ceiling the sine wave from that threshold upwards.
@AdultLink AdultLink added the enhancement New feature or request label Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant