- /
-
Shatter
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(:));
[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