Try now in the
Open Cloud »
(no sign-in required)

Drag a slider to rotate your name.

Run the code to write your name in large text. Try other sizes:

You can run any code, including strings. The output doesnt have quotes, but its a string too:

 In[1]:= X"sophia"
 Out[1]=

Make 30-point text (a point is a printers measure equal to 1/72 inch):

 In[2]:= XStyle["sophia", 30]
 Out[2]=

 In[1]:= XStyle["sophia", 30]
 Out[1]=

Rotate it by 50 degrees. Try other angles:

Rotate a text (type the degree symbol as deg):

 In[1]:= XRotate["xxxx", 50 \[Degree]]
 Out[1]=

 In[1]:= XRotate[Style["sophia", 30], 50 \[Degree]]
 Out[1]=

Make it interactive. Drag the slider to rotate the text:

Its easy to make anything interactive in the Wolfram Language.

Heres the expression to rotate sophia:

 In[1]:= XRotate[Style["sophia", 30], 50 \[Degree]]
 Out[1]=

To make it interactive, wrap the expression with Manipulate, replace the fixed angle 50 with the variable angle, and specify that angle can vary from 0 to 360 (make sure theres a space between angle and °):

 In[2]:= XManipulate[ Rotate[Style["sophia", 30], angle \[Degree]], {angle, 0, 360}]
 Out[2]=

 In[1]:= XManipulate[ Rotate[Style["sophia", 30], angle \[Degree]], {angle, 0, 360}]
 Out[1]=