Skip to main content
View on YouTube to comment and like!

Syntax Podcast

Reacting to the Weird + Creative Corners of the Web

Wes Bos Host

Scott Tolinski Host

Wes and Scott talk about the weird, creative corners of the web—from live-coded music with Strudel and wild Hydra visuals to shader wizardry, projection-mapping art, fully synced Christmas lights, and more.

Topic 1 00:00

Transcript

0:00

Scott Tolinski

Welcome to Syntax. Today we're going to be talking about the weird creative corners of the web. There are a ton of these libraries, communities, projects out there that are some of the coolest stuff you will see using web-based code, and we're going to be talking all about different libraries or different areas of cool things that you might be interested in. So, my name is Scott Tolinski, I'm a developer from Denver. With me as always is Wes Bos. What's up, Wes?

0:24

Wes Bos

Hey, I'm, I'm stoked about this. So, we were at GitHub Universe a couple weeks ago, and before the keynote, they had this DJ Dave. She's a, like a creative coder DJ, and I was like mesmerized by this. We'll show an example in just a second, but I was just like, man, I love these crazy creative corners of the web where there's just like, like once you told me it, it's called Strudel. I went, I looked into it. I was like, this is an entire world of people who are just creating things and are being creative. Cool stuff. And I was like, let's go through. I think there's about seven of them here. And a lot of them are audio visual creative corners of the web. And let's react to them. Let's talk about them and how you can build this type of stuff yourself.

1:10

Scott Tolinski

Yeah, let's do it. So let's get into the first one, which is Strudel. We saw, as you mentioned, DJ Dave at GitHub Universe. I'm very familiar with her work before this. So when I saw her there, I was stoked to really see her perform in person.

1:27

Scott Tolinski

But she's modifying code, she's writing code live, and it's creating electronic music, it's visualizing MIDI. It is a really cool project, and, she's exquisite, so great follow on all the socials if you wanna check this out. But man, this is a really cool little project.

1:45

Wes Bos

What's really cool about this is, if you can't see it, you're listening to audio, is that, like, the code is just, like, running, like, you code the loops, and then you code all the notes, and I know I'm looking like an idiot here, cause I actually don't know how music works, but you see, like, the synth lines and all of the notes being hit, they have, like, they have little sliders as to where they are, or they're being, they have put a rectangle around it, and it's just, like, so mesmerizing to watch. And then, like, a normal DJ would just, like, turn knobs or whatever, but she's literally just, like, commenting code in and out, and Unbelievable. It's so mesmerizing to watch. So DJ Dave, she's one of them. And then also Switch Angel seems to be a big one as well.

2:29

Guest

Here's one.

2:31

Scott Tolinski

Yeah.

2:36

Scott Tolinski

I love the visuals too.

2:38

Scott Tolinski

They're doing it in like Jupiter notebooks, right?

2:41

Guest

Yeah,

2:42

Wes Bos

it's its own thing called like Strudel.

2:45

Wes Bos

And it is JavaScript, except for this like one syntax here, the dollar syntax. I don't know exactly what that is, but seems a way to like define things.

2:58

Scott Tolinski

And it's all very readable, I think. If you, if you've done any music, it's very readable where you can say, I want like C4. And that's like the fourth C on the keyboard, right? So you have like real, it's not like super esoteric and odd.

3:16

Wes Bos

Unreal. And I thought that was like, just the little sliders and stuff in line with the code. I thought that was a very neat way of, of a UI for making music.

3:27

Scott Tolinski

Yeah, the strudel REPL is really fun to mess around in. I'm

3:30

Wes Bos

going to make some sick stuff. So they have strudel.cc is where you can do it and you can just go ahead and play.

3:38

Wes Bos

Look at me.

3:41

Scott Tolinski

You loaded the REPL and hit play. Nice. I love it.

3:45

Wes Bos

So kind of along the same lines is Hydra, which is a similar project, but for video visualizations.

3:55

Wes Bos

So you get to code a whole bunch of stuff. You can do layer, mask, scale, mirror. This is more my, I'm much more of a visual guy.

4:03

Scott Tolinski

Wow.

4:09

Scott Tolinski

this is awesome.

4:11

Wes Bos

This whole episode, you're going to want to just like. Stop right now and, and go ahead. So this is Space Tiger 3000. It seems like he's pretty good at it.

4:21

Wes Bos

And it's just this nice chainable syntax. Wow. Messing things inside of each other.

4:25

Scott Tolinski

The syntax looks so similar to Strudel.

4:28

Wes Bos

Yeah.

4:33

Scott Tolinski

Wow, Hydra looks cool as hell.

4:38

Scott Tolinski

I am very interested in this. I actually, my, people who don't know, my background is in programmatic music. That's what I did in college. So I did a lot of Max MSP. I did Jitter for video. some of my first projects were, were building a lot of stuff like this using Max MSP. So like, dang, this is so exciting for me right now.

4:58

Wes Bos

Yeah. And so hydra.ojack.xyz is the website, and then you can just load up random ones here, and it will give you the code for it.

5:09

Wes Bos

And it, this is, this is all using WebGL, and then Me let her rip. And I'm assuming you can also hook this up to audio so that these can be programmatically fired off. You bet you can, yes. Analysis of the audio.

5:24

Wes Bos

Dude. It's, they got WinApp, or WinAmp at the end, not WinApp, WinAmp at the end of the day.

5:30

Scott Tolinski

They got WinAmp? Dude, I, yeah, I'm a big WinAmp head. Dang.

5:38

Scott Tolinski

You're officially going to lose me in this episode because I'm going to start really just playing with all this stuff. Yeah. The next one is P5JS. They actually launched a new beta site recently, beta.p5js.org. And Wes.

5:55

Wes Bos

Sorry, is it too loud for you?

5:59

Scott Tolinski

And, P5 is really, really interesting. It is a huge, massive community. It's for working in essentially visual art, working in shapes, working in even like shaders and, and, and transforming, making animations. It is a whole community of making like really awesome stuff. And P5 uses, does it use 3JS? I think it might use 3JS. It, it's in that same kind of world, but a nicer API. It's in a more friendly API for making art on the web, visual art. And, their, their little tutorials and examples are really good. You can go through and you can, make various different things. But, yeah, like P5 strands, an introduction to shaders. So, using P5 for animation, P5 for shaders. The, this is another one where you'll go through the demos, interactive stuff and just be like, wow, this is really pretty readable. Well, really pretty consumable, but at the same time, very powerful for the type of stuff you can do, making all kinds of even like physics-based animations and stuff. It's a neat, neat package and a huge community of people behind this.

7:14

Wes Bos

When I first started Web Development, it was all about processing JS, but it seems that people have moved over to this type of thing. So like 3JS would be more like, like primitives for doing 3D. and then P5 is explicitly for doing things that are a bit more artistic. Not, not necessarily, just because it also is helpful, right? Like I know a lot of, data viz people love P5 because it's a great way to make custom data visualizations.

7:41

Scott Tolinski

Yeah, performant, all those types of things. And I have found the API to be more consumable than many other things. Like, I don't know if you've ever tried to get into, man, if you try to get into, WebGL or any of that stuff, That's

7:58

Wes Bos

wild. I've tried to get into it many times. Shaders and

8:01

Scott Tolinski

WebGL, yeah.

8:03

Wes Bos

I've been beta testing this shaders.com, which is by Simon, I forget his last name, but he's building like a GUI and an NPM package for building custom shaders, and he's got a whole bunch of things like add noise, add grunge, add gradients, mix blend, mold them all together. It's just like, man, people that understand shaders are next level.

8:25

Scott Tolinski

Shaders code is crazy, Wes, because the code, it operates on every pixel at once. So you have to think when you're writing the code, you're not like making a loop to do this pixel, then this pixel, then this pixel. You're writing code that is processing every pixel at the same time because it's using your graphics processor to Write every pixel at the same time. That is a very paradigm shifting way of thinking. And I've been spending so much time writing shader code using, what is it, the, the GLSL. And dude, like no matter how much I write, sometimes I just get into moments where I'm like, I don't know, I have no idea. Like my brain conceptually cannot handle it the right way. I, I think I just need more time, but it is something I'm very, very interested in.

9:14

Wes Bos

So let's keep talking about shaders then. shader toy is another one that people really like. So I'll just, just load this up here. And like, what? Look at this code here, you know? What every time I look at it.

9:26

Scott Tolinski

This code operates on every pixel at once.

9:29

Wes Bos

Yeah.

9:29

Scott Tolinski

So, just to even, like, blow your mind even more, ShaderToy is one of these sites that when I look at it, I get immediate imposter syndrome because I look at this stuff, I know it's this very specialized technique and it's a very specialized, understanding of things, but nothing will make me feel insignificant, like looking at ShaderToy code and just being like, man, this is beyond. Here, you want to see a cool one, Wes?

10:01

Wes Bos

Well, look at this one for a sec. Seascape. This is the world, you can pan around, and it looks like water, and this is what, a hundred and, 204 lines of code? What, what the hell? Where does the water come from?

10:16

Scott Tolinski

Where, where does the water...

10:18

Scott Tolinski

I think it came from Mars or an asteroid or something.

10:22

Scott Tolinski

Wes, here, I'm sending you one in Slack right now, or I can send it in here. This one is another one that will blow your mind for its simplicity. This one here is 26 lines of code.

10:34

Wes Bos

Oh man, these like loops.

10:37

Scott Tolinski

And it's a freaking cool marble. Oh my god.

10:40

Wes Bos

Cool marble. Using O instead of C would be plus one, just a bit more formatting for better. So the people are like reading this and being like, I think you can do that. You can do that better.

10:53

Scott Tolinski

This is so infuriatingly cool.

10:59

Wes Bos

Unbelievable. This, it, this seems like a really old school website as well. It's, it has like a kicking community.

11:06

Scott Tolinski

Is this lobster?

11:08

Wes Bos

Yeah. Oh man, lobster. We

11:10

Scott Tolinski

got lobster, lobster alert, folks. And if you want to see all of the errors in your application, you'll want to check out Sentry at sentry.io forward slash syntax. You don't want a production application out there that, well, you have no visibility into in case something is blowing up and you might not even know it. So head on over to sentry.io forward slash syntax. Again, we've been using this tool for a long time and it totally rules. All right.

11:38

Wes Bos

Next one is something that I stumbled upon on TikTok the other night and I was like,

11:43

Scott Tolinski

yes,

11:44

Wes Bos

damn it. I get these served to me all the

11:45

Scott Tolinski

time. Yes.

11:47

Wes Bos

So you're Mr. Projection. You want to explain what this is?

11:51

Scott Tolinski

Yeah. So, hey, I actually, believe it or not, Wes, in college, one of my courses was Projection installation art. That was a class that I took in college. And your whole thing was you had to create an installation with projectors. Now, this type of software did not exist. What this is, is projection mapping, where you're able to take video, essentially, and project it onto a specific surface. So when you have your projector pointed at something, you can take an image and you can say, this actually only applies to this corner or this face or this face. This actually really became a thing when people were projecting light shows onto buildings and they wanted to have certain things go up into certain places. But with software like this, they're able to do such outrageous things. My projection installation class, Wes, I could just project a single shape. I made a keyboard on the wall that you could run through the notes and it would play notes. And how I did that is I had a projection and I knew what that image was supposed to look like. And And then I had a camera pointed at that projection, and then I did a diff. If you're standing and breaking this enough of this note, then it will play a note on MIDI. And if you're breaking enough of this note by doing a diff between those two images. So like video projection installation stuff has gotten crazy. Mad Mapper allows you to, again, take a surface in 3D or a photo, whatever, and you are taking your video and putting it on places. You combine this with something like Hydra or something, you're going to be Crazy town doing some cool stuff. You know who does this kind of stuff is Cassie Evans. She mentioned that they, they set up some like devices in their living room and just like project and make art and music in their living room or something. That's wild. It's

13:46

Wes Bos

so cool. So like you basically turn your projector on and then you create different like, like screens. and then you just drag them around so that the corners line up with things like your cabinet or like the windows. Like you could also do this for like Christmas lights as well. You could just project onto your house and then you can, you can specify what each of the windows are. So cool.

14:09

Wes Bos

I want to do that so bad.

14:11

Scott Tolinski

Yes, I want to do that as well.

14:13

Wes Bos

Kind of in a similar vein as well as this thing called Touch Designer. This is a piece of software where you can do, I don't know, input, output. Basically, you're just taking data in, whether that's video or sound or whatever, and then you are just, based on that, you are changing it, right? In the example I'm showing right now is the guy's made an ASCII version from the video of himself, but it knows no bounds as to what you could possibly do with it. So a lot of like interactive installations are based on this, you know, like the input could be sound, it could be people touching buttons, it could be, I think I have an example here, which is this one's using Xbox Connect

14:57

Scott Tolinski

as an

14:57

Wes Bos

input and a video, so and then you apply different shaders on top of that. Xbox Kinect is so cool. And then this is another neat one where it's obviously using some sort of 3D camera cause it, it knows depth.

15:14

Wes Bos

and then based on the depth, it's changing the, density of the pixels.

15:19

Scott Tolinski

Gosh, people are so cool.

15:22

Wes Bos

Yeah. This makes me wanna go, like we used to have a thing in Toronto, we still do, it's called Nuit Blanche, and it's just an entire evening. You stay up all night and you go to just these random installations in like,

15:33

Scott Tolinski

like

15:33

Wes Bos

churches and, and random buildings, and then people are just doing weird stuff like this.

15:39

Scott Tolinski

I think I have sent myself into some kind of drug-induced coma here with this Hydra. I, I've like made this kaleidoscope thing. You left

15:45

Wes Bos

the tab open from the one five years ago.

15:48

Scott Tolinski

It is like completely transfixed my brain. I, I actually, Wes, I've been working on a fun little project, and like, there were some like audio tones playing in my ears and stuff while I was doing this, and it like sent me into another universe. I felt like I was on another planet. I had to stop working on it. I was like, I feel like this is hypnotizing me or something. I don't know what's going on.

16:11

Wes Bos

Kaleidoscope, color, colorama, rotate, modulate, rotate.

16:18

Wes Bos

And then usually what I do with these things, I just start changing values.

16:22

Scott Tolinski

Yeah, I'll show you the one I made just by changing values.

16:24

Wes Bos

They look cool.

16:26

Scott Tolinski

Into Riverside. Wait,

16:27

Wes Bos

you, you just made this while you were, we were talking?

16:31

Scott Tolinski

it was based on another one, but I've modified it enough, yes.

16:34

Wes Bos

Oh, I see.

16:36

Wes Bos

So I,

16:36

Scott Tolinski

I didn't, I don't know what I'm doing here, I'm just updating values, and now I'm just like, whoa.

16:43

Scott Tolinski

Whoa,

16:43

Wes Bos

that's so cool.

16:45

Scott Tolinski

Yeah.

16:46

Wes Bos

All right, last one, and this is something that I'm starting to get into. It's called X-Lights. X-Lights is a piece of desktop software where basically you cover your entire house in Christmas lights.

16:59

Wes Bos

And then X-Lights, you take all of the inputs for each of those lights. And in my case, I'm covering my house in addressable LEDs, so every single LED can be turned on or off, brightness, whatever color you want at any given time. And then what X-Lights does is you can map them in a 3D space, and then you can create these like wipes of your entire house. You can do it to music. You can do shows. You can buy shows. And it's just this wild, wild world. Like once I got into it, I joined a couple of Facebook groups where these guys are doing stuff. And it's just like all year long, they're just like working on their Christmas light show. There's music to it as well, hear me?

17:41

Scott Tolinski

Yes, oh yes.

17:47

Wes Bos

This is so obnoxious, but so cool. Look at the wipes. Like the whole house is being a wipe, wiped.

17:59

Scott Tolinski

Yeah, man, I don't even put lights up, which is shocking that I don't. I don't know why I don't put up lights. I think it's just so much of an effort for me.

18:06

Wes Bos

It's a pain in the butt. So I'm, I'm doing the permanent ones this year right now, where I'm installing them, like in the soffit, in like aluminum track. and then I'm working on, window frames for all the windows. I'm gonna put them around the garage. I'll see how far I get this year, cause it's, it's quite a bit of work. But then once you have them, you can do, like I, I went to a light show last year, and I like, I left that being like, I'm doing this. This is, probably not the music. I think the neighbors would hate me. Mostly just like nice warm white.

18:37

Scott Tolinski

Or you could do it for like a moment and then do it, take a video of it and then be like, all right.

18:45

Wes Bos

Oh, like some of these guys have like FM AM transmitters, so they'll be like, turn your radio to this, this station and it'll play the music over your car.

18:58

Wes Bos

That is cool. So that's X-Lights, you can check out this desktop software. Seems relatively easy. With a lot of the stuff, when I look into it, the X-Lights is mostly like, Like an enthusiast area and like a lot of people are not technical, you know, so they, they have a lot of trouble doing it. But then I jump into it and I'm like, man, I, I'm fairly technical. I understand this stuff. I bet I can make something sick. Hook it up to that. What's the one that you really like?

19:26

Scott Tolinski

Hydra.

19:27

Wes Bos

Hydra. Hydra to excellent. I'm going to hook up Hydra

19:29

Scott Tolinski

to strudel and I'm going to turn off all the lights in my office and then hook up my projector and then I'm just going to just veg out here. It's going to be great.

19:39

Wes Bos

Oh, that's one we didn't even do is like the people that do the laser light shows as well.

19:43

Scott Tolinski

Laser light shows. That's man.

19:46

Wes Bos

Yeah, they'll lose an eye.

19:48

Scott Tolinski

Yeah, freaking lasers. Yeah.

19:50

Wes Bos

But that is the world of cool, creative, and weird on the internet. Let us know down below in the comments if we missed anything because I would love to dip into a few more of these and poor Scott is going to have no more time this week after he starts building things.

20:06

Scott Tolinski

I actually, Wes, we're working on a fun little video here. I'm definitely going to hook Hydra up to my video now.

20:12

Wes Bos

It's going

20:13

Scott Tolinski

to work so well. Folks, I'm working on something that is very fun.

20:17

Scott Tolinski

So just a little teaser there. So yeah, let's go to the part of the show where we talk about sick picks and shameless plugs. Stuff that we pick is stuff that we like, stuff that we think is sick, stuff that we're just generally enjoying in life right now. I have a sick pick for you, Wes, and it's a podcast app called Newcast. And it's a minimal style podcast app. And I love the minimal UI for this. I think it's really nice. It is not as full featured as something like Pocket Cast, I will be honest. But it does most of the things that I want it to do. I've been noticing Pocket Cast has been like being very odd for me lately. Like it's downloading podcasts, but not putting them on my up next playlist and stuff. So I've just been getting a little annoyed with it. And this one is just minimally enough that it's It's not like unusable, but at the same time, I really do like this, this app. So Newcast is a really nice and minimal podcast app. I cannot get down with Apple Podcasts. I can't get down with any of these over bloated, overcast type of apps. And I, I certainly, as much as I do love Spotify and I use Spotify for music, I can't, I just can't commit to using it for podcasts. I just can't.

21:30

Wes Bos

Newcast. Cool. I'm gonna, I'm gonna check that out.

21:34

Scott Tolinski

Yeah, it's nice and pretty.

21:35

Wes Bos

I am going to sick pick a tiny little switch that I just added to my server rack. So I have like a whole UniFi setup and The, there's only one 10 gigabit out port that I can do, and I have, I've got 3 gigabit internet, so I've, I wanted to make use of that, so I piped it right to my desk, and that's the one thing in my house that can get, it actually only gives me 2.5 gig because that's what my, my dock does. But I recently added a USB to Ethernet to my NAS, my Synology NAS. Somebody told me on Twitter, they said, hey, you can, instead of having to fuss with the two Ethernet ports, which are one gig on your NAS, you can just, for like 20 bucks, you can get like a USB NIC for your Synology, and you can install the drivers, and now I have, I think I got a 10 gig one, or 5 gig, but basically I have that throughput from my desk to my NAS now. However, I needed I didn't have enough ports that did it. All the other ports on my routers are one gig. So I bought this little $30 switch called, it's called NIC Giga, which is a crazy name, but is. Oh, a little concerned

22:57

Scott Tolinski

for you, yes.

22:57

Wes Bos

Yeah, I had to very equally pronounce that. And it has two 10 gigabit SPF ports, and then four 2.5 gig just regular RJ45s.

23:08

Scott Tolinski

For 33 bucks too for US prices.

23:13

Scott Tolinski

for

23:14

Wes Bos

33 bucks US.

23:15

Scott Tolinski

Yeah.

23:16

Wes Bos

Unbelievable. And it, it worked great. I downloaded a Linux distribution yesterday, and it was like four gigs, and it downloaded in like, like 22 seconds or something like that. It was nuts how fast it went. And I was like, man, I am not used to having these speeds on my NAS. And then also just like transferring my video files over, it's, it's two and a half times faster. And for, between that little USB thing and the, the little switch, I was 50 bucks in, and it was well worth it.

23:46

Scott Tolinski

What is the USB thing you got again?

23:49

Wes Bos

All right, so there is, let me, let me find it right now. One second. Yes, cause I,

23:53

Scott Tolinski

I, when you told me I had to install like custom firmware for this thing, I got a little concerned, but I really, really should get on this. Now that I have a Wi-Fi 7 router and everything. For those who are wondering why I said that, my router has 10.

24:08

Wes Bos

You got 10 gigabit.

24:10

Wes Bos

Yeah, I've 10 gigabit out, but then the rest of my router is just, I don't have all of those ports, and mostly it doesn't matter because no devices in my house actually need that.

24:21

Scott Tolinski

Yes, but transferring between my...

24:23

Wes Bos

Your NAS does. My

24:24

Scott Tolinski

NAS, yeah.

24:25

Wes Bos

So here's the USB thing. This is a Ugreen, and it doesn't matter that it's Ugreen, it just, you need to make sure that it has a real tech chip in it, and then what you do is you, you go to the Synology store, and there's like a Git repo with the drivers, and you just install it via the GUI. Oh, via the GUI,

24:44

Scott Tolinski

okay. And then

24:46

Wes Bos

I did had a, I did had a SSH in and run one command once, and, and then it, it started working immediately.

24:52

Scott Tolinski

Okay. I, I, I don't mind that. I, I'm SSH-ing into my, now it's all the time. I was thinking I had to get like crazy with it. So, if I got to be crazy with it, oh yeah, baby.

25:03

Wes Bos

And then it just, it just shows up in the like ethernet devices, and then just like a Mac, you go into set source order, and then I set the 2.5 gig one to be the first, and then it, it uses that one from there on in. I also put some We should do a whole Synology show because like I I I recently upgraded the SSDs, the read and write caches, and man, did that make my apps faster.

25:30

Scott Tolinski

You know, all

25:31

Wes Bos

the stuff running on it got way faster. Not transferring didn't really get faster, but the actual apps, like the just like thumbnails, that were loading from the apps were way faster.

25:42

Scott Tolinski

My SSD, or my Synology has been dog slow lately, and I don't know why. I think it's, I don't know if it's because it's like full. I actually just filled it up completely. It's 20 terabytes and it's full now. so I'm like having to go into nuclear mode and deleting a bunch of old raw footage from my, like I have raw footage going back from 2012 on level up tutorials. So like, I gotta delete so much of that stuff, but still it's like.

26:08

Scott Tolinski

is that why it's so slow? I don't have enough open space available? I don't, I don't know why it's so slow. Probably

26:13

Wes Bos

not, but maybe. You gotta look at your, like, your, your resource monitor and see what's hogging everything. You know, for me it was, I was running Coolify on there as a VM, or no, I was running Coolify as a Docker image, and it was just too much for the, the poor little Synology NAS to, to handle. It was taking too much memory. You know, you're supposed to run those on proper servers.

26:37

Scott Tolinski

I ran, I moved all that stuff to Mac Mini. That's what I remember, yeah.

26:40

Wes Bos

Home server, that's, that, I, that's what I was doing. I was like, should I just build a home server? You know, I've got this, I have a Mac Pro here. I've got, like, a couple decent older MacBook Pros. Do I just run those instead?

26:54

Scott Tolinski

Yeah, mine's right here. I'm running Minecraft on there, running Plex, I'm running all my stuff, yeah.

27:00

Wes Bos

That's, that's not the, maybe that's the move. But I, mine, everything else is super fast right now, except that I'm not running The, I am running a lot of home server stuff, right? I mean, and then I'm running a Cloudflare tunnel on there all the time. We'll do a whole show. We'll do a whole show on home servers, cause there's some fun stuff to talk about.

27:17

Scott Tolinski

Yes, word.

27:18

Wes Bos

Cool.

27:19

Wes Bos

All right, thanks for tuning in. Catch you later. Peace.

Quote it with credit and a link. Quoting Syntax

Share