Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualization of lines between points #367

Open
mitkof6 opened this issue Apr 7, 2017 · 4 comments
Open

Visualization of lines between points #367

mitkof6 opened this issue Apr 7, 2017 · 4 comments

Comments

@mitkof6
Copy link

mitkof6 commented Apr 7, 2017

Hi,

I would like to know if it is possible to draw lines between points of interest (e.g. visualize muscles). There seems to be a Shape object Tube. Please correct me if I am wrong, but from the js part it is probably unimplemented:

code

Regards,
Dimitris

@moorepants
Copy link
Member

You could probably do it with the cylinder shape and just use a small diameter. We may not have all of the Three.js shapes implemented either.

@mitkof6
Copy link
Author

mitkof6 commented Apr 8, 2017

Yes, but is it possible to have a variable length cylinder?

@tarzzz
Copy link
Contributor

tarzzz commented Apr 8, 2017

@mitkof6 : I have attempted an implementation for TubeGeometry in #368 ..

I have checked it for some basic cases, but it would be great if you could pull that branch (or wait for it to be merged) and check it on your data (I do not have good data sources to check for Tube specifically). Thanks!!

@moorepants
Copy link
Member

If you set the length of the cylinder to an expression that is a function of the time dependent states, it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants