Hello,
I already the code ready, I can deliver it as soon as you say me the direction of rotation, I could deliver it to you.
In brief:
use pseudo element to have hexagon and element to have R.
based on the kind of rotation apply 3D or 2D transform.
If it is desired that it has to move in z plane apply 3D or else 2D will work great.
Get me the project I will fix it for you asap.