- /
-
Pacing at the Floor at the Voronoi Hotel
on 6 Nov 2023
- 20
- 39
- 0
- 0
- 265
drawframe(1);
More fun you can have going in circles.
function drawframe(f)
t = interp1([0 48],[0 2*pi],f);
span = linspace(0,1,4.5);
[x,y] = meshgrid(span,span);
xy = [x(:) y(:)];
p = [cos(t) sin(t)]/3 + 0.5;
xy = [xy; p];
voronoi(xy(:,1),xy(:,2))
line(p(1),p(2),Marker="o",MarkerSize=15, ...
Color="red",LineWidth=3)
axis square
set(gca,XTick=[],YTick=[])
end