创建像这样的图像中的线条相关的数学是什么?

发布于 2024-11-15 11:11:47 字数 98 浏览 0 评论 0原文

我真的可以在正确的方向上使用一些帮助。谢谢!

在此处输入图像描述

I really could use some help in the right direction with this. Thanks!

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半山落雨半山空 2024-11-22 11:11:47

我认为这看起来像一个 Voronoi 图,或者一些自定义的实现,它将一个将许多点划分为离散区域的平面。

Voronoi 图

有多种生成这些图的算法,您可能需要查看 这个问题来了解什么是最容易实现的。 Fortune 算法 可能是最有效的,时间为 O(n log n),但是理解起来也比较复杂。

它也可能只是由随机线连接的随机点。很难说。

I think that this looks like a Voronoi diagram, or some custom implementation of one, which divides a plane with lots of points into discrete areas.

Voronoi diagram

There are several algorithms for generating these diagrams, and you may want to take a look at this question to get an idea of what is easiest to implement. Fortune's algorithm is probably the most efficient, with O(n log n) time, but is also more complex to understand.

It may also simply be random points connected by random lines. It's hard to tell.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文