Connecting HTML Elements on a canvas with THREE.Line

, ,


I’m struggling with creating a roadmap like here (scroll to the “roadmap” part). I can’t figure out how to get the 2D coordinates of my DIVs, get them into 3D cordinates and keep them updated on resize. I searched the forum but found only 2D to 3D conversion of click coordinates, or the opposite (3D to 2D). Any help would be appreciated.