使用 Three.js 绘制图形的最佳方式 [英] Best way to draw graphs with Three.js

查看:40
本文介绍了使用 Three.js 绘制图形的最佳方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用 Three.js 画图,想知道最好的方法是什么.

I would like to draw graphs with Three.js and wonder what is the best way for it.

这里的这个框架 https://github.com/davidpiegza/Graph-Visualization 解决了使用球体作为节点,线作为边.

This framework here https://github.com/davidpiegza/Graph-Visualization solves it in using spheres as nodes and lines as edges.

我需要为边缘添加标签,或者可以选择边缘.

I would need to add labels to the edges or alternatively can select the edges.

还有哪些绘制图形的方法?有人有想法吗?

What other ways are there to draw graphs? Does anyone have an idea?

推荐答案

你应该看看 MathBox http://acko.net/blog/making-mathbox/(基于three.js和作者的着色器库ShaderGraph.js).MathBox 将他的库用于他博客上的许多交互式 3d 数学示例.http://acko.net/blog/

You should check out MathBox http://acko.net/blog/making-mathbox/ (which is based on three.js and the author's shader library ShaderGraph.js). The MathBox uses his library for many of this interactive 3d Math examples found on his blog. http://acko.net/blog/

这篇关于使用 Three.js 绘制图形的最佳方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆