So for context, I am using a Scaled Vector Drawing System based on UI Frames.
I take the mouse input and turn it into Relative Coordinates (from 0 to 1) so the drawing looks the same on all screen sizes.
For rendering I connect two points by instancing a Frame and I rotate it with math.atan2 and set its length using the .Magnitude of the distance.
I also place a square Frame at every point and use a UICorner (CornerRadius 1,0 so its a circle).
Every stroke is a table containing the color, size, and a list of Vector2 points. I store this because I have to save the drawings in some way and show it to other players. But the drawings turn out snappy and shorta sharp when other players see it? Like the ends of strokes are square-like.
But thing is, after too many strokes the drawing gets reallyyy laggy and it's frustrating me so much. My question is: what other way should I set up this system?? The game I'm working on is similar to other Roblox drawing games like Draw me and Speed draw.
I'm trying to optimize this system for the possibility of using layers/eyedropping later, but right now I'm just tryna get the basics to work.
** You are now Level 63! **
yeah you need id for it