I’m in C.S. and I need a function f(x) that calculates the value for brightness.
Its values goes from 0 to 1, in the beginning it progresses linearly, then it starts slowing down halfway and keeps slowing down the closer it goes to 1.

What is a function that looks similar to this?