Dynamically draw irregular shapes

is there a way to dynamically draw irregular shapes and apply smoothing to them