创建像这样的图像中的线条相关的数学是什么?
我真的可以在正确的方向上使用一些帮助。谢谢!
I really could use some help in the right direction with this. Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我真的可以在正确的方向上使用一些帮助。谢谢!
I really could use some help in the right direction with this. Thanks!
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
我认为这看起来像一个 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.
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.