jupyter-widgets / pythreejs

A Jupyter - Three.js bridge
https://pythreejs.readthedocs.io
Other
951 stars 188 forks source link

offset hover_point with surf in Clickable Surface example #27

Closed nlooije closed 9 years ago

nlooije commented 9 years ago

Setting the position for the hover_point only offsets it during initialization and translating the whole surf downwards, shifts the hover_point equally.

How would i go about offsetting the hover_point so that the whole sphere is above the surface? and is there a way to snap the hover_point to the grid such that it only moves in discrete steps?