Function Repository Resource:

Circled

Source Notebook

Put a circle around an expression

Contributed by: Lou D'Andria

ResourceFunction["Circled"][expr]

displays a circled version of expr.

Details and Options

The content may be wrapped to better fit within the circle.

Examples

Basic Examples (3) 

Put a circle around text:

In[1]:=
ResourceFunction["Circled"]["Hello World"]
Out[1]=

Put a circle around a number:

In[2]:=
ResourceFunction["Circled"][RandomReal[10^10]]
Out[2]=

Put a circle around an image:

In[3]:=
ResourceFunction["Circled"][
 ImageResize[ResourceData["Sample Image: Girl on a Blue Background"], 200]]
Out[3]=

Applications (1) 

Circle all prime numbers in a range:

In[4]:=
Table[If[PrimeQ[i], ResourceFunction["Circled"][i, Background -> Lighter @ RandomColor[]], i], {i, 100}]
Out[4]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Version History

  • 1.0.0 – 11 October 2018

License Information