text
stringlengths
0
1.36k
[2592.78 --> 2594.90] So everything is built together for you.
[2595.00 --> 2596.84] The documentation on it is pretty good.
[2597.52 --> 2603.34] It says that it runs at 60 frames per second on a Nexus 6, which is pretty impressive.
[2604.02 --> 2607.88] And there's a lot of examples of 3.js things that you can do with it.
[2607.88 --> 2619.72] So I'm excited to see what people make with it because I'm very, very interested in any kind of augmented reality, virtual reality, mixed reality situation that we can do with JavaScript.
[2620.08 --> 2621.10] It's super exciting.
[2621.90 --> 2622.88] I'm only going to...
[2623.40 --> 2625.40] This is only a slight side check.
[2625.54 --> 2627.04] So it runs at 60 frames a second.
[2627.04 --> 2636.88] And if you look at the pictures of it, it's like this blob that sits on a piece of paper and you can look around and the blob stays on the piece of paper, which is pretty nifty.
[2637.34 --> 2640.18] And, like, you can move it and animate it and things like that.
[2640.20 --> 2642.60] So you can spin it on the piece of paper while you look around.
[2643.06 --> 2644.80] And, like, that runs at 60 frames a second.
[2644.96 --> 2647.30] And that's pretty verifiable on a phone.
[2647.30 --> 2658.90] But, like, I can't get, like, a div to animate from 200 pixels high to 500 pixels high at 60 frames a second.
[2659.06 --> 2664.32] I can't get my webpage to scroll at 60 frames a second by default half the time.
[2664.88 --> 2666.84] It's because you're not using WebGL, man.
[2667.56 --> 2667.86] I know.
[2668.32 --> 2675.50] I'm just always so amazed at, like, the difference that, like, everybody is almost hitting 60 frames per second.
[2675.50 --> 2678.84] But, like, the place where we're starting out is always so different.
[2679.76 --> 2682.58] It always blows my mind when these things work quickly.
[2682.90 --> 2684.04] That's all I wanted to say.
[2684.50 --> 2689.66] I mean, obviously, that just means that the future of Web is that it's all going to be holograms.
[2689.66 --> 2690.14] I'll buy it.
[2690.18 --> 2690.38] Yeah.
[2691.46 --> 2692.40] I'm into it.
[2693.12 --> 2696.76] I actually would be really interested in finding out.
[2696.86 --> 2699.44] I know that there's a device called the Leap Motion.
[2699.44 --> 2707.24] It's a USB device that lets you essentially use your hand.
[2707.86 --> 2709.50] I think it's, like, two cameras.
[2710.18 --> 2713.14] And so it's essentially scanning the space above the Leap Motion.
[2713.64 --> 2717.38] And when you put your hand in front of it, you get a 3D model.
[2717.54 --> 2720.96] It's used a lot with, like, Unity and gaming type stuff like that.
[2720.96 --> 2724.74] But I know that there is a way to use it with WebGL.
[2725.24 --> 2737.24] So now I'm curious if I'm able to use a Leap Motion with this augmented reality application to not only be able to view holographic things through a device,
[2737.30 --> 2740.98] but if I could couple it with another thing and try and move things around.
[2741.34 --> 2746.40] I'm just, like, thinking of all the, like, really weird and awesome stuff that people can build with this.
[2746.80 --> 2748.44] This is the stuff that I get excited.
[2748.44 --> 2752.76] Thanks in advance to Leap Motion for sponsoring the JS Party podcast.
[2752.98 --> 2761.22] And also thanks to, in advance to the next company I'll give free advertising to, the Mayo armband.
[2761.38 --> 2764.42] I backed on Kickstarter or something like that a long time ago.
[2764.64 --> 2766.52] It's not quite positional.
[2766.84 --> 2771.60] So it might not know exactly where your hand is, but I feel like you could do that with a marker.
[2772.06 --> 2776.58] But then it essentially can give you data about your exact hand position.
[2776.58 --> 2781.46] So it's an armband that goes kind of, like, next to your elbow, like, pretty far back.
[2781.68 --> 2789.52] And it just reads the tensions in, like, your different tendons to know that your hand is, like, doing, like, a motion,
[2789.86 --> 2793.24] like a pull or a push or a squeeze or anything of those different things.
[2793.80 --> 2795.66] Yeah, I remember seeing that.
[2795.66 --> 2805.72] So I've actually given a few talks where you hook up the, like, the next slide and previous slide as just, like, swipes in the air or, like, behind your back.
[2805.82 --> 2809.82] And then you can, like, start animations or different things like that with squeezes.
[2809.96 --> 2814.30] And there's a whole set of default things for Keynote and stuff.
[2814.38 --> 2815.16] It's pretty nifty.
[2815.16 --> 2821.38] Though I find that sometimes you false positives switch a slide whenever you're gesturing wildly.
[2822.14 --> 2827.46] But, yeah, that makes it, like, you could just put, like, a marker on your hand to know position.
[2827.64 --> 2829.98] You know, you get a RFID tattoo.
[2831.14 --> 2833.12] Or not an RFID, a QR code.
[2833.20 --> 2837.50] You have the RFID baked into your hand or something, right, Rachel?
[2837.52 --> 2839.96] Yeah, I have an RFID chip in my hand.
[2840.38 --> 2840.62] Yeah.
[2840.62 --> 2844.06] Yeah, that's in solidarity with your pets.
[2844.92 --> 2846.88] Yeah, that's how much I love cats.
[2847.02 --> 2848.04] I'm really dedicated.
[2849.14 --> 2851.42] Yeah, but I think you could do some really cool stuff.
[2851.62 --> 2856.50] Not just the position of your hand, but, like, the motion of your fingers and stuff like that, too.
[2856.56 --> 2859.50] Like, picking it up versus pushing it versus all that stuff.
[2859.82 --> 2862.00] Maybe a leap motion plus a Maya.
[2862.16 --> 2862.94] You just mix them all together.
[2863.02 --> 2864.18] Get a drone in there somehow.
[2864.82 --> 2868.34] Yeah, every single kind of, like, crowdfunded device.
[2868.56 --> 2868.92] Exactly.
[2868.92 --> 2870.60] Put them all together and see what you can get.
[2871.48 --> 2872.78] Yeah, this is a really cool project.
[2873.08 --> 2881.84] This reminds me of, like, when they first used Emscripten to compile down, like, you know, Doom and, like, these 3D games.
[2882.12 --> 2884.10] And they were first doing, like, 3D standards in the browser.
[2884.72 --> 2892.96] And those, like, essentially demos that nobody really ever used were what ended up pushing the web's implementation of WebGL forward and all that.
[2893.00 --> 2897.42] Yeah, I mean, Brendan toured the conference circuit for, like, three years on those demos.
[2897.42 --> 2899.62] And he's so bad at playing it, too.
[2899.74 --> 2900.78] It was so funny.
[2901.06 --> 2911.12] He eventually, like, after dying so quickly, so fast, so many times in front of 500 people, hacked the parameters of the game to where he can't.
[2911.18 --> 2912.76] He plays in god mode now.
[2912.76 --> 2916.08] Are you talking about the Sentry Chicken talk?
[2916.86 --> 2920.22] Yeah, I mean, the same version of that talk has different games.
[2920.50 --> 2920.94] But, yeah, yeah.
[2920.94 --> 2944.78] So, actually, one thing I'd really love to see, one mashup I'd love to see with this, just spitballing here, is some sort of, like, if you use, like, a piece of paper and then you're able to kind of draw shapes and then, you know, press some button on your keyboard and then it, like, AR-ifies it ...
[2944.78 --> 2946.96] Does that make sense?
[2947.16 --> 2957.82] Like, essentially, like, the style in, like, the super futuristic movies, I feel like we're almost there to where you can draw something and then manipulate it in 3D space.
[2958.42 --> 2961.12] Well, there is something that exists like that.
[2961.20 --> 2970.24] Not in the JavaScript world, but there is an application called Vuforia that allows you to create those kind of, like, augmented experiences where you can interact with things.
[2970.24 --> 2973.70] So, maybe somebody should do that.
[2974.68 --> 2980.24] Yeah, I look forward to one of our listeners from this week presenting that on the show next week.
[2980.92 --> 2982.26] It just takes one week, right?
[2982.82 --> 2983.22] Yeah.
[2985.46 --> 2991.20] Yeah, like, so, have y'all done any WebGL programming at all or played around with any of the kind of raw stuff?
[2991.82 --> 2992.82] Yeah, I have.
[2993.82 --> 2995.12] I have a bit.
[2995.26 --> 2996.76] I'm learning A-Frame.
[2996.76 --> 3004.46] I'm messing around with a bunch of other various 3JS stuff.
[3005.04 --> 3009.60] And I've done some WebGL video game things.
[3009.96 --> 3013.50] But this is something that I am super interested in.
[3013.62 --> 3014.20] I think people are...