rohitvarkey / ThreeJS.jl

Julia interface to WebGL using Three-js custom elements and Patchwork.jl
https://rohitvarkey.github.io/ThreeJS.jl
Other
56 stars 15 forks source link

Three.JS communication back to Julia? #31

Closed izaid closed 7 years ago

izaid commented 7 years ago

Very nice package! I'm just wondering if there is a way to send information back to Julia -- e.g. the coordinates of a Three.JS pick from raycasting, or whatever.

izaid commented 7 years ago

@rohitvarkey Any ideas here? I'd like to make this work. I'm thinking an approach similar to https://github.com/EricForgy/JavaScriptBridge.jl could work.

If you have no preference, I'll figure something out and make a PR. I basically want the ThreeJS raycaster to callback into Julia.

rohitvarkey commented 7 years ago

Sure. Any approach that works is fine with me.

izaid commented 7 years ago

Closing this, because I got something working in the raycaster PR.