I want to graph some data in real time using a UI interface and bezier curves.
First, is this even possible? I saw the Developer Wiki article, but is that gif taken within Studio? I have also seen bezier curves be used mainly for pathfinding (makes sense). To phrase the question a little more directly: Can bezier curves be used within UI?
Sure, but you’ll have to find your own way of drawing line segments. Shouldn’t be too hard, you can use a Frame with a sensible size, and play around with AnchorPoint to get it to behave in a way that’s easy to script.
just out of curiosity, what would performance be like for the first gif? surely creating that many UI elements would start to cause lag; especially on less-powerful devices?
The first gif is from Wikipedia. As for the second gif, it depends how many segments are used to approximate the Bezier curve. Lower segment counts would likely be no problem at all.
ah right. I thought the first one was in Roblox. I remember years ago (maybe a year or so after GUIs were released), I tested the limits of GUIs and after I inserted enough of them my screen just went white lol