iLoveDXF

沃罗诺伊图案生成器

散布并松弛种子点,形成沃罗诺伊单元图案,然后将切割线导出为 DXF 或 SVG,用于激光切割、雕刻或灯罩——全部在浏览器中完成。

更多松弛步数会让单元分布更均匀,呈蜂窝状。共享的单元边只切割一次,不会重复切割。

免费,无需登录。图案在浏览器中生成——不上传任何内容。

单元

40

切割线

121

宽度

160×120 mm

How it helps

Scatters seed points and cuts Voronoi cells by half-plane intersection — no fragile Fortune's-sweep edge cases.
Optional Lloyd relaxation evens out the cells into a honeycomb-like layout.
Change the pattern seed to get a different layout at the same settings.
Shared cell edges are deduplicated, so the laser never cuts the same seam twice.

Best practices

  • - Start with 2-3 relaxation steps for a natural, organic-but-even cell layout.
  • - More cells make smaller, more fragile slivers near the panel edges — leave a margin.
  • - Refresh the seed a few times and pick the layout you like best; settings stay the same.
  • - For lamp shades or jewelry, cut a small test panel first to check cell size against your material's kerf.

Limitations

  • - Cells are always convex polygons clipped to a rectangle — no circular or custom-boundary panels yet.
  • - Very high cell counts (over ~400) can be slow and produce slivers too small to cut cleanly.
  • - No per-cell size weighting yet — all seed points are scattered uniformly at random.

FAQ

How does this compute the Voronoi diagram?

For each seed point, it starts with the full panel rectangle and clips it by the perpendicular-bisector half-plane against every other seed point — the intersection of all those half-planes is that seed's cell. No sweep-line algorithm needed at these point counts.

What does relaxation do?

Each relaxation step moves every seed point to its current cell's centroid and recomputes the cells (Lloyd's algorithm). More steps make the cells more even and honeycomb-like; 0 steps keeps the raw random scatter.

Why change the seed?

The seed is the only thing that determines the random scatter. Changing it gives you a completely different layout at the exact same width, height, and cell count.

Does it cut shared edges twice?

No. Adjacent cells share an edge; this tool deduplicates those into a single cut line so your laser doesn't retrace the same seam.

Is anything uploaded?

No. The pattern is generated entirely in your browser and the tool is free with no sign-in.