Function Repository Resource:

DigitalSpiral

Source Notebook

Arrange a number into a spiral

Contributed by: Aster Ctor

ResourceFunction["DigitalSpiral"][num]

arranges num into a spiral.

ResourceFunction["DigitalSpiral"][num,n]

uses the first n digits of num.

Details and Options

The following appearance settings may be specified:
FontFamily"Helvetica"set the font
FontSize0.0655set the font size of the first character
ImageSizeLargerendered size
"Rotation"Pi/4the rotation angle of the first character
The result is a Graphics object.

Examples

Basic Examples (1) 

Spread the digits of Pi into a spiral:

In[1]:=
ResourceFunction["DigitalSpiral"][Pi]
Out[1]=

Scope (1) 

Spread Pi into a spiral using 96 digits:

In[2]:=
ResourceFunction["DigitalSpiral"][Pi, 96]
Out[2]=

Options (1) 

Base (1) 

The value of "Base" must be an integer between 2 and 36, which is used to determine which characters are used:

In[3]:=
ResourceFunction["DigitalSpiral"][GoldenRatio, "Base" -> 2]
Out[3]=

Publisher

Aster Ctor (MoeNet)

Version History

  • 1.0.0 – 04 November 2019

License Information