You can round corners by adding a blur to the shape and then adding a histogram scan after the blur to regain hard edges. The blur amount will control the rounding.

Courtesy Matt Smudz

Courtesy Matt Smudz