How can I make radial text sweep? I added an object - plane, rectangle.
Went to edit mode and deleted 3 edges, left only one.
Exit edit mode and added screw modifier to this edge.
This way I can animate drawing of circle with changing angle of screw modifier.

Since I need that this animation be rectangle and not circle, I added cube, hidden and not rendered. This cube is object for Boolean Intersect modifier for Edge.

With some Shift+D, little materials here and there, etc. final product is this:

Is there any chance that I can add text on grey rectangle which would also radial sweep appear? I'm googling all day and cannot find a way (newbie :) ).
One important thing - project is in Eevee, not in Cycles.
Thanks in advance.
Using shaders (Eevee here but works for Cycles too).


Top part:
Presuming Z is facing the camera, we take X and Y as base for the calculation.
Artan2 gives the angle between -pi and pi for each X and Y position.
Bottom part:
Now from 2 values the current frame and the amount of frames, translate that in order to have a value between 0 and pi.
Then translate it between 0 and -pi (for the left part) and between pi and 0 for the right part.
Transparency:
We compare that to the effective X Y angle and if OK (one or other into the good interval), set alpha to 1 (no transparency).

Another way, that can be considered less maths and/or more flexible is to use a gradient texture with radial mode: