browse OpenProcessing

CA color texture
rounded rectangles helper
flourish rectangle
browse all>

browse the portfolio of kaypel

spiraluality
flourish rectangle
rounded rectangles helper
Hittt
see more>
rounded rectangles helper

rounded rectangles helper

uploaded by
kaypel
Today I wrote two functions for displaying rounded rectangles. After getting tired of trying different values I decided to write this little helper. Maybe some of you will need or use it and the presented functions.
Furthermore, there are still some open-ended questions: Read the comments, please!
Embed Code
Fave'd by 1 users
Sketch added to your favorites in your portfolio.
You must login/register to add this sketch to your favorites.

comments

source code

Comments

kaypel
25 Jan 2010, 08:31
1. Sometimes sharp edges appear at the right object. Just decrease curve tightnes by pressing 'j' and you will see it. Where does it come from?
2. How are these curves described, is there a formula anywhere. I do not understand how these things are drawn.
3. There is a difference between Mac and PC version, why? By modifying the tightness of the right object, the whole thing gets distorted (Mac).
4. Are there better ways to display rounded rectangles?
5. Is it possible to read rectMode?
kaypel
25 Jan 2010, 10:34
Forget question three: width and height were different. ;)

Concerning question one: These edges appear on my win-machine only.
You need to login/register to comment.