Unless you do a lot of extra complicated things to build essentially multiple polygons out of the self-intersecting polygon, and then check against every one of those and see if you have an odd number. Or even, you know, like that type of crazy stuff. So yeah, if you go on to draw, and you kind of draw like a paper clip type of a shape, some of the hit testing might not work as good as you're used to. But most people don't. Got to take your losses somewhere. There's always going to be one. Watch the QA engineer bring that into the next process. We are hiring, by the way, if you like this type of thing. Nice.
Gotta say it. And you spoke about how this is TLDraw 2.0 or .whatever. Have you ever wished, and maybe if there's a 3, that you built on the canvas rather than the DOM? No, actually this was probably one of the better decisions that I made with TLDraw. The good news is if you don't want to use the DOM for rendering, you can actually just take that layer out completely and add your own. So people have brought in WebGL renders for TLDraw. However, most of the teams that work with TLDraw as an SDK, and most of the things that we do that are special, I suppose, about TLDraw, really leverage the fact that it's just made out of normal web stuff. So putting videos on the canvas is trivial. Putting iframes on the canvas is trivial. Putting iframes on the canvas and interleaving them with other shapes is trivial. And yeah, I think from an SDK perspective, like the customers that we work with, the businesses that we work with, most of their products are not graphics editing products where you really benefit from that tall ceiling or high ceiling of like, we control the whole renderer, which you get with Canvas and WebGL, et cetera. Most of them are like, I want to take my dashboard, like my AWS dashboard and put it on a canvas so I can zoom out and see them all. Or I want to, you know, I mean insert here, like I want to have this the same to-do lists, you know, if you're ClickUp, like from the rest of ClickUp. I want to have them on the canvas as well. So no, actually the web is like a pretty good technology for this type of application. You've got, this is the web on steroids to a certain degree. It is just a React app. It is a really complicated React app, but it is honestly React all the way down. Okay.
Speaking of that, do you use WebAssembly ever for web complex processes? I mean, the things that would use WebAssembly would be like that liquid simulation that I showed before. That's another case where, well, they haven't removed our renderer. They just kind of removed the background and put another renderer behind it, right? But that is running in, I believe WebAssembly and certainly the, if I had another five minutes, I'd show you the weird camera thing that you can do with the, with that one where you can, whatever, it uses in-browser ML to kind of like use your webcam and create geometries based on your, where your hands and face are and stuff like that.
Comments