For expressions I'm accumstomed to using python.
So for this to work, set your script to Python.
Then you can use the function
where x is the degrees you want.
Now, if what your wanting to do is what I think it is, remember that to get that degree rotation you want, the direction parameter needs to have a ‘paired’ value with one of the other direction paramters to get the degree rotation you want.
So for instance try pairing the x and y direction paramters. For y set it to any value between degrees(0) and degrees(45). Now do the same for the x direction paramter, matching the corresponding values for y.
Now to continue with y more than the value of 45, you have to change x differently. So if y is degrees(60) you have to set x to degrees(30).
See what's happening? over 45 degrees, in this case for y = 60 is 15 more than 45…so x starts to go in the opposite direction the same amount of degrees from 45; Hence 30. So this way, if y is the primary working direction parameter you can get the ‘continuous’ rotation from 0-90 degrees, so long as x has the ‘appropriate’ corresponding value.
You'll have to play around with these pairings to see how it's working together, then you should be able to write out some expressions that give you what you want.