how can I link by a line two points from different spheres?

31 views
Skip to first unread message

Claudiu

unread,
Nov 25, 2015, 7:03:27 AM11/25/15
to d3-js

I have this graphic and all what I want now is to connect the red dots to have a continuu line

For each dot I have the coordonates x & y on a different sphere?

Frank Guerino

unread,
Nov 25, 2015, 1:40:43 PM11/25/15
to d3...@googlegroups.com
Hi Claudiu,

You want to use Paths.  Here is a set of d3 path examples that you can use as a tutorial.  Each div denotes an example of how to use D3 Path different ways.  The bottom half of the page shows Path Examples With Different Interpolation Types so you can figure out how you want to interpolate between points.

I hope it helps.

-- FG


--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Claudiu

unread,
Nov 26, 2015, 10:27:39 AM11/26/15
to d3-js
Thank you Frank for you answer but I have a 3D animation.... the image is just a printScreen... I understand that I can use paths to same sphere but in my case one dot is on different sphere. 

So the question is if I can link two points on different spheres?
Reply all
Reply to author
Forward
0 new messages