Alexander Calder (1898 - 1976) was an American artist known for for his mobiles and his public sculptures.
Here are two examples of his mobiles which I want to approximately reproduce with Mathematica
:
The second example has different colors:
We can use BSplineCurve
to draw a Calder-like rounded shape:
gr = Graphics[BSplineCurve[{{0, 0}, {1, 0}, {2.5, 0.5}, {1, 0.5}, {0, 1}}, SplineClosed -> True]]
and this answer of kglr: How to draw a colored curved shape to fill it:
BoundaryDiscretizeGraphics[gr, MeshCellStyle -> {2 -> Darker @ Red}]
Maybe one could proceed with TreePlot
, but with our rounded red shapes as VertexShapeFunction
.
TreePlot[{1 -> 2, 2 -> 3, 3 -> 4, 4 -> 0, 5 -> 1, 6 -> 2, 7 -> 3, 8 -> 4, 9 -> 0},
VertexShapeFunction -> "RoundedTriangle",
VertexSize -> 0.2]
Or would it be easier to use Graphics
- directives (slightly curved connected lines with randomized Calder-shapes)?
I don't know how to proceed and thank you in advance for any suggestions or, hopefully, a Calder-like solution.