Implementing a custom drag event function in JavaScript and THREE.js

Doing what we want, how we want it, on user ‘drag’ interaction in THREEjs (or d3 or anything really).

Daniel Ellis Research
UX Collective
Published in
5 min readNov 24, 2020

--

A series of vertically stacked networks — drag rotated across the horizontal
The Master Chemical Mechanism — Daniel Ellis 2020

THREEjs is a cross-over JavaScript library that allows us to unleash the potential of GPU driven graphics within the web browser. Although it provides both a orbitalControls and…

--

--

Research Software Engineer specialising in High-Performance Computing and Data Visualisation. — PhD in Atmospheric Chemistry and Masters in Theoretical Physics.