If I have some Voronoi Diagram:
clcclear allclose alln=5x=10*rand(1,n)y=10*rand(1,n)voronoi(x,y)[vx vy] =voronoi(x,y)close allplot(x,y,'r+',vx,vy,'b-'); axis equalfigure(2)for j=1:length(vx(1,:)) line([vx(1,j) vx(2,j)],[vy(1,j) vy(2,j)])endaxis equal
How can I use the Delaunay Triangulation Matlab program (DelaunayTri) from the points created by the Voronoi Diagram, and to have the circles appear as in the attached link (most left image), or more like the interactions on the top of page 3 from the linked paper Animating Bubble Interactions in a Liquid Foam ? Delaunay Triangulation Image
Best Answer