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 & HelpSyntax Questions › Smooth - problem with screen.width etc...
Page Index Toggle Pages: 1
Smooth - problem with screen.width etc... (Read 412 times)
Smooth - problem with screen.width etc...
Feb 11th, 2006, 7:33am
 
If I do this:

 size (800, 800);
 smooth();

I get well antialiased lines/shapes.

But if I do this:

 size(screen.width, screen.height);
 smooth();

I get the jaggies.

Any ideas why (or what to do)?
Re: Smooth - problem with screen.width etc...
Reply #1 - Feb 12th, 2006, 11:34am
 
Are you running the sketch within the IDE? eg just hitting run? try 'present' mode or better still export to application.  I have found that things such as anti-aliasing and window size tend to be buggy if run from the editor.
Page Index Toggle Pages: 1