We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › rounded rectangles
Page Index Toggle Pages: 1
rounded rectangles (Read 519 times)
rounded rectangles
Jan 25th, 2010, 9:24am
 
Hi,

I like rounded rectangles. So i wrote two functions to draw them easily. You can gaze at it here: http://www.openprocessing.org/visuals/?visualID=7177

There are still some open-ended questions.
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

Thanks in advance.
Re: rounded rectangles
Reply #1 - Jan 26th, 2010, 12:35am
 
Forget question three, I changed width or height …

Page Index Toggle Pages: 1