How to roll a surface from a corner?

it seems really easy at first glance but its two weeks im struggling with it, i wanna morph a surface like what you can see in this video, with parametric controls on it,

its a lot to me.

thank youÂ