How do i make an art program?

i tried doing this, and therrs big gaps in the pixels if you go too fast. I tried searching on google and it just came up with how to make art, not art programs.

Make it fire every heartbeat with

game:GetService("RunService").Hearbeat:Connect(function)

Or make the pencil stroke bigger

or if the distance between the two strokes are big then make a line between them.

1 Like

Every single frame, check the pixel change for the mouse position (example 4 pixels to the right and 2 pixels down). Then using a for loop based on a certain modifier (easiest to do one pixel) in all directions that fills in extra pixels to make it smoother.