Skip to main content
Better graphics
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

Perhaps this example can get you started.

SeedRandom[3]; 
pts = RandomReal[{-1, 1}, {25, 2}];
mesh = VoronoiMesh[pts];
vertices = MeshCoordinates[mesh];
Show[mesh, Graphics[{Black, Point[pts], Red, Point[vertices]}]]

diagramdiagram

Perhaps this example can get you started.

SeedRandom[3]; 
pts = RandomReal[{-1, 1}, {25, 2}];
mesh = VoronoiMesh[pts];
vertices = MeshCoordinates[mesh];
Show[mesh, Graphics[{Red, Point[vertices]}]]

diagram

Perhaps this example can get you started.

SeedRandom[3]; 
pts = RandomReal[{-1, 1}, {25, 2}];
mesh = VoronoiMesh[pts];
vertices = MeshCoordinates[mesh];
Show[mesh, Graphics[{Black, Point[pts], Red, Point[vertices]}]]

diagram

Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

Perhaps this example can get you started.

SeedRandom[3]; 
pts = RandomReal[{-1, 1}, {25, 2}];
mesh = VoronoiMesh[pts];
vertices = MeshCoordinates[mesh];
Show[mesh, Graphics[{Red, Point[vertices]}]]

diagram