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

Make a Text Kaleidoscope

Make an interactive interface for exploring kaleidoscopic text designs.

Run the code to make a large a in Times font:

SHOW/HIDE DETAILS

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

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

Put the a in Times font:

In[2]:=
X
Out[2]=

HIDE DETAILS
In[1]:=
X
Out[1]=

Position a large a in a graphic. Try positions other than {1,0}:

SHOW/HIDE DETAILS

This draws a large a at coordinates {1,0}. PlotRange->2 makes the drawing area extend 2 units in every direction. Axes->True turns on axes so you can see the coordinate positions:

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

HIDE DETAILS
In[1]:=
X
Out[1]=

Rotate the a. Try other angles:

SHOW/HIDE DETAILS

Rotate the a by 30° about its center:

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

HIDE DETAILS
In[1]:=
X
Out[1]=

Make copies of the a rotated about the origin:

SHOW/HIDE DETAILS

Use Table to make a list of five even numbers:

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

Use Table to make a graphic with five evenly spaced as:

In[2]:=
X
Out[2]=

Use Table to make a graphic with five as rotated about the point {0,0}:

In[3]:=
X
Out[3]=

HIDE DETAILS
In[1]:=
X
Out[1]=

Make it interactive. Drag the slider to change the position of the a:

SHOW/HIDE DETAILS

Make an interactive interface where the position of the a is controlled by a slider.

Wrap the expression with Manipulate, replace the fixed x coordinate 1 with the variable d, and specify that d goes from -2 to 2 with an initial value of 1:

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

HIDE DETAILS
In[1]:=
X
Out[1]=

Add a control for the rotation:

SHOW/HIDE DETAILS

Add a control for the rotation of the a:

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

HIDE DETAILS
In[1]:=
X
Out[1]=

Add a control for the font size:

SHOW/HIDE DETAILS

Add a control for the size of the a:

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

HIDE DETAILS
In[1]:=
X
Out[1]=

Add a control for the text:

SHOW/HIDE DETAILS

Add an input field where you can enter any text:

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

With that kind of input field, you have to put quotes around what you type to indicate that its text (and not a symbol). Make the input field automatically treat what you type as text so you dont need to type the quotes:

In[2]:=
X
Out[2]=

HIDE DETAILS
In[1]:=
X
Out[1]=