Twirl Your Name

You can “run” any code, including strings. The output doesn’t have quotes, but it’s a string too:

In[1]:=

X

Out[1]=

Make 30-point text (a “point” is a printer’s measure equal to 1/72 inch):

In[2]:=

X

Out[2]=

HIDE DETAILS

In[1]:=

X

Out[1]=

Rotate it by 50 degrees. Try other angles:

SHOW/HIDE DETAILS

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

In[1]:=

X

Out[1]=

HIDE DETAILS

In[1]:=

X

Out[1]=

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

SHOW/HIDE DETAILS

It’s easy to make anything interactive in the Wolfram Language.

Here’s the expression to rotate “sophia”:

In[1]:=

X

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 there’s a space between angle and °):