Another approach to a round cornered rectangle button class. This time I am building the shape out of ONE rectangle using strokeJoin(ROUND) to give me my round corners
Keyboard Controls are:
r + mouse x = radius
s + mouse x,y = size
p + mouse x,y = position
To tweak this sketch, first download it.
Make your updates, then upload your tweak!