

A simple example of self-similarity in a typeset expression is a continued fraction, where each "denominator" resembles the whole expression:
![]()
Using the programmable typesetting system in Mathematica 3.0, you can create expressions that look like classic fractals. For instance, the Sierpinski gasket:
![]()
Nest[SubsuperscriptBox[#,#,#]&, "\[CapitalOmega]", 5] //DisplayFormSierpinski carpet:
![]()
StyleBox[ Nest[ GridBox[{{#,#,#},{#," ",#},{#,#,#}}]&, "\[FilledSquare]", 3], GridBoxOptions->{ RowMinHeight->0, RowSpacings->0, ColumnSpacings->0}] //DisplayFormWith a little adjustment, you can get silly effects like the following:
Another doozy:
Designed and rendered using Mathematica 3.0 for the Apple Macintosh.
[Privacy Policy] [Terms of Use]

Home || The Math Library || Quick Reference || Search || Help

The Math Forum is a research and educational enterprise of the Drexel School of Education.