The infinity symbol is also called a lemnescate. Your program must draw a lemnescate with text via standard out (formatted with newline feeds) or graphically.
The infinity symbol (by my standards) must be continuous (that is, every non-whitespace character must be touching two other non-whitespace characters diagonally or orthogonally). It must also have two and no more than two gaps of enclosed whitespace (connectivity for whitespace is only orthogonal). Thus, the following output fails:
ooo ooo
o o o o
o o o
o o o o
ooo ooo
A correct version the above example might be
oooo oooo
o o o o
o o o
o o o o
oooo oooo
or
ooo ooo
o o o o
o o o
o o o o
ooo ooo
The size of the ∞ is unimportant. The orientation of the ∞ is unimportant. Symmetry is also unimportant. Graphical displays are accepted as well. Appropriate newline feeds are required in the output.
This is a code-golf question so answers will be scored in bytes, with less bytes being better.
![r = sqrt[sin 2 theta]](https://web-archive.nli.org.il/National_Library/20161130034600im_/https://i.stack.imgur.com/5fjHy.gif)
Print["∞"]– Not a tree 7 hours agoPrint@"∞", or"∞"&if a lambda function is acceptable. (I assume your language is Mathematica judging by the square brackets and upercasePrint) – Phoenix 7 hours ago