• Remix
  • Share
  • New Entry

on 29 Oct 2021
  • 4
  • 22
  • 0
  • 0
  • 208
[a,b]=meshgrid(-10:20,-10:20);
w=a+1i*b;
w=w+w.^6;
x=real(w);y=imag(w);
dt=delaunayTriangulation(x(:),y(:));
Warning: Duplicate data points have been detected and removed.
The Triangulation indices are defined with respect to the unique set of points in delaunayTriangulation.
[v,c]=voronoiDiagram(dt);
for i=1:length(c)
if ~any(c{i}==1)
patch(v(c{i},1),v(c{i},2),i);
end
end
axis off
axis equal
Image
Remix Tree