- /
-
Glass Puzzle
on 8 Oct 2022
- 7
- 28
- 0
- 0
- 257
rng(2)
P = gallery('uniformdata',[75,2],0);
DT = delaunayTriangulation(P);
p.faces = DT.ConnectivityList;
p.vertices = DT.Points * 300;
I = patch_rasterize(p);
figure; hold;
imagesc(I); axis image;
triplot(p.faces, p.vertices(:,1), p.vertices(:,2), 'color', 'red');
axis off