text stringlengths 0 1.36k |
|---|
[2715.94 --> 2717.80] Otherwise head to top top.com. |
[2717.86 --> 2720.64] That's T O P T A L.com to learn more. |
[2720.92 --> 2722.64] Tell them Adam from change law sent you. |
[2722.90 --> 2724.16] And now back to the show. |
[2726.32 --> 2726.98] All right. |
[2727.12 --> 2731.34] Today's project of the week or this week's project of the week, I should say, uh, is P five |
[2731.34 --> 2731.88] JS. |
[2731.88 --> 2734.26] Uh, so why don't you tell us about this, Rachel? |
[2735.10 --> 2735.50] Sure. |
[2735.72 --> 2739.72] Um, so P five JS is a JavaScript. |
[2739.72 --> 2744.06] I'm going to say homage cause it's not a direct port of processing. |
[2744.52 --> 2748.88] Um, what it does, I guess I have to start by telling you what processing is. |
[2749.08 --> 2757.18] Um, so processing is this open source thing and IDE that's super old. |
[2757.18 --> 2760.38] It's about 14, 15 years old, I think. |
[2760.38 --> 2766.68] Um, and it was made explicitly for people that were, um, you know, big beginners in programming |
[2766.68 --> 2774.04] and visual artists to use something to make some really cool, uh, visualization stuff and |
[2774.04 --> 2774.98] graphics and art. |
[2774.98 --> 2777.32] Um, it, it, it's built on top of Java. |
[2777.32 --> 2779.20] It uses a simplified syntax. |
[2779.20 --> 2786.08] And, um, basically what it does is it lets you export your projects as desktop apps for, |
[2786.44 --> 2788.52] um, either windows, Mac or Linux. |
[2788.52 --> 2793.42] So you can't really show it on the web though. |
[2793.42 --> 2794.98] So it's like a standalone thing. |
[2794.98 --> 2797.74] Um, the power behind it is really great. |
[2797.90 --> 2799.26] Uh, it has great FPS. |
[2799.70 --> 2803.90] Uh, you can build some really robust things, but you can't do things on the web. |
[2803.90 --> 2812.84] So somebody built another port of it, um, which was actually John Resig and some other students |
[2812.84 --> 2814.62] to make processing JS. |
[2814.92 --> 2820.22] And so processing JS is a more true port of processing to JavaScript. |
[2820.94 --> 2823.70] Um, you don't have to totally rewrite your code. |
[2823.78 --> 2829.70] You use processing JS to take your processing files and be able to run it in HTML five. |
[2829.70 --> 2833.52] It uses regular expressions to convert the Java into JavaScript. |
[2833.90 --> 2839.46] And it lets you have some pretty like, uh, mangled JavaScript. |
[2839.46 --> 2844.20] That's not readable afterwards, but you, you get the same effect and it, it runs on canvas. |
[2844.58 --> 2855.08] So in comes P five, um, P five is a really awesome, accessible, uh, library made by Lauren McCarthy, |
[2855.08 --> 2862.88] who, um, was at NYU ITP and the processing foundation, which deals with, um, like processing JS and |
[2862.88 --> 2865.68] a lot of other ports of processing to other languages. |
[2866.22 --> 2873.34] And, um, um, what they wanted to do is they wanted to make it so that people could do the |
[2873.34 --> 2878.98] same kind of things that you would do with processing, but, um, a little bit looser written. |
[2878.98 --> 2886.44] So it's not going to be exactly the same with all of the, um, super involved animations that |
[2886.44 --> 2888.94] you can do with your, your regular processing. |
[2889.26 --> 2895.54] But with P five, it lets you write more natural JavaScript to do some really cool stuff in the |
[2895.54 --> 2901.94] browser involving a lot of shapes and interactions and, um, you know, artsy stuff. |
[2902.00 --> 2903.58] It's all canvas based. |
[2904.00 --> 2907.22] There's a bunch of other plugins that you can get for it. |
[2907.22 --> 2912.16] So there's the P five library, which is just, you know, the regular access to the shapes |
[2912.16 --> 2918.16] and stuff, but there's also P five dom, which lets you interact with HTML five objects, um, |
[2918.16 --> 2919.16] outside of the canvas. |
[2919.16 --> 2922.60] You can do like video, audio, webcam input text. |
[2922.60 --> 2924.90] I was messing around with the video one. |
[2925.00 --> 2926.16] It's, it's really cool. |
[2926.28 --> 2933.18] It essentially grabs each pixel in the video and maps it to a drawn instance of whatever shape |
[2933.18 --> 2935.30] that you'd use and hides the video. |
[2935.30 --> 2941.58] So it makes, um, basically an animation of whatever video you give it to, but with shapes |
[2941.58 --> 2943.54] instead, uh, for each pixel. |
[2944.02 --> 2949.58] Um, there's also P five sound, which uses web audio stuff and you can do playback and affect |
[2949.58 --> 2952.94] a lot of the stuff in the canvas that you would build art with there. |
[2953.44 --> 2958.82] Um, there's P five serial, which lets you do serial communications with stuff and lets you |
[2958.82 --> 2960.66] interact with it with P five. |
[2960.80 --> 2965.28] There's so many, there's also like bots, which was, um, made by Sarah Groff Polaris. |
[2965.30 --> 2967.32] Who's a New York based dev. |
[2967.38 --> 2968.14] Who's a Kickstarter. |
[2968.26 --> 2968.80] There's speech. |
[2968.90 --> 2969.66] There's geolocation. |
[2969.86 --> 2972.12] There's just like so much stuff that you can do. |
[2972.30 --> 2979.58] And the, the best thing for me, um, is you don't necessarily even need to understand JavaScript |
[2979.58 --> 2980.92] to jump in and use it. |
[2980.98 --> 2985.30] I've seen a lot of people that are just, you know, starting out as game devs who are used |
[2985.30 --> 2987.26] to unity and some C sharp stuff. |
[2987.26 --> 2990.24] And they heard that you could do some fun stuff with P five. |
[2990.24 --> 2993.54] So the reference material on the site is awesome. |
[2993.90 --> 2995.30] The examples are awesome. |
[2996.26 --> 3000.50] It's just really neat, especially for people that are interested in doing some more creative |
[3000.50 --> 3005.80] coding and finding out what they can do with, uh, with canvas. |
[3005.80 --> 3012.56] And there's another, um, person who teaches that ITP named Daniel Schiffman, who has a |
[3012.56 --> 3015.64] really, really amazing YouTube channel called the coding train. |
[3015.64 --> 3023.14] Um, and they make video tutorials every week that goes from the beginning of, you know, basic |
[3023.14 --> 3029.46] P five stuff to super advanced things like Perlin noise, which is, uh, this algorithm that |
[3029.46 --> 3034.08] allows you to create true, like randomized noise for cool glitchy. |
[3034.08 --> 3037.50] Well, it's actually used mostly for like terrain generation. |
[3038.20 --> 3044.34] Um, but it's, they're really good videos and it explains it in a, in an accessible way. |
[3044.74 --> 3050.82] And if anybody is interested in trying out that kind of stuff, I highly recommend checking |
[3050.82 --> 3052.00] out those resources. |
[3053.10 --> 3054.24] ITP is so cool. |
[3054.52 --> 3056.90] Everything ITP ever does is just rad. |
[3058.30 --> 3058.82] Yeah. |
[3059.10 --> 3063.72] Like, uh, Clay Shirky is like still a teacher there and they just, yeah, I've known a few people |
[3063.72 --> 3065.26] that have gone through there and done their program. |
[3065.26 --> 3071.84] And it's just this amazing mashup of like code and art and kind of thinking about social |
[3071.84 --> 3072.16] good. |
[3072.34 --> 3073.08] It's pretty rad. |
[3073.74 --> 3073.90] Yeah. |
[3073.96 --> 3075.26] It's also very expensive. |
[3075.26 --> 3079.30] So if you don't want to go to ITP, but you want to mess with the tools that people there |
[3079.30 --> 3081.34] use, P five is a good start. |
[3081.50 --> 3082.82] Three JS is a good start. |
[3083.04 --> 3084.94] Um, those are all good places. |
[3085.62 --> 3086.02] Awesome. |
[3086.08 --> 3087.26] I'm going to play with this later today. |
[3087.26 --> 3090.74] I actually been meaning to poke around with some art stuff. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.