opacity changes as a function of input
Merge pull request #99 from Ank13/refactor

opacity changes as a function of input