Closed izaid closed 7 years ago
@@ master #34 diff @@
==========================================
Files 3 3
Lines 86 90 +4
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 80 81 +1
- Misses 6 9 +3
Partials 0 0
Powered by Codecov. Last update 2104c34...f4f1776
@shashi Do you mind having a look over at the Escher JavaScript stuff here? I'm not totally familiar with that.
@rohitvarkey I updated this with Shashi's advice. It should now be ready to go. There is a corresponding PR on the JavaScript at https://github.com/rohitvarkey/three-js/pull/5. I've also added the Julia package Requires
as a dependency, to handle the Escher
stuff.
I'm pretty happy with this, we should be good to go!
Looks good to me! 👍
@shashi Yeah, it's a Dict
with x
, y
, and z
keys as Float64
. Maybe we should make it a point, but I don't feel strongly atm. I'd just leave it for now.
@izaid Awesome stuff! The examples are really cool. 😄
@shashi Can you tag new releases of Escher and Patchwork, so that I can tag a release for ThreeJS?
Done and done!
ThreeJS v0.3.0
tagged and released too. 😄
This PR adds a simple raycaster to ThreeJS.jl. It triggers on an arbitrary JavaScript event, and uses machinery from Escher to callback into Julia as a
Signal
. I think this goes a long way towards adding more complex interactivity. In the future, we can extend this to Jupyter as well.There will be a follow-on PR which provides a way to add more complex behavior directly into the JavaScript, as well as an example demonstrating that.