Vasarely Doors

This Vasarely (Likka 2) reminded me of doors being opened, so I thought that might be fun to see a function opening them. The function rotates the door and angle corresponding to the function value times 90 degrees. So a 1 would be just a vertical line facing you. The ellipse controls the skew of the rotation.