There are a lot of answers for how to make a hexagonal mesh on a 3D surface but nothing on how to make a hexagonal mesh on a 2D surface. Can any provide code on how to do so? I am new to mathematica, and it is not so easy to simply convert the 3D hexagonal mesh code in Create hexagonal mesh on 3D Parametric Plot and 3D spheres? or Hexagonal Mesh on a 3D surface to th 2D case.
I have been able to do
Ω = ImplicitRegion[True, {{x, 0, 10}, {y, 0, 10}}];
mesh = ToElementMesh[Ω];
but that is easy. I'd like to be able to mesh anything from a graphics region of the sort Ω
to a parametric region like
Θ = ParametricPlot[a {Cos[t], Sin[t]}, {a, 1, 2}, {t, 0, 2 Pi}];
If someone can please provide assistance, it would be much appreciated!
{}
button above the edit window. The edit window help button?
is also useful for learning how to format your questions and answers. You may also find this this meta Q&A helpful $\endgroup$ElementMesh
. They are valid forMeshRegion
, though. $\endgroup$