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

Use the range input to set the luminance level #10

Open
masakudamatsu opened this issue Aug 1, 2019 · 2 comments
Open

Use the range input to set the luminance level #10

masakudamatsu opened this issue Aug 1, 2019 · 2 comments

Comments

@masakudamatsu
Copy link
Owner

See my Evernote note: HTML forms 207: Range Input (Slider).

It's more illustrative if we change the luminance level continuously, rather than entering a value in a discrete fashion.

masakudamatsu pushed a commit that referenced this issue Aug 4, 2019
@masakudamatsu
Copy link
Owner Author

masakudamatsu commented Aug 4, 2019

Added the slider with the grey gradient background. Took 30 minutes.

Next up:

  • Extract the RGB value from the slider
  • Translate it into the luminance level, and render it at the top
  • Set the background grey accordingly.

@masakudamatsu
Copy link
Owner Author

masakudamatsu commented Aug 5, 2019

I completely messed up. Got to take small steps one by one. 60 minutes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant