FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Software Bugs
(Moderator: fry)
   strokeWidth();
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: strokeWidth();  (Read 485 times)
gkoshra

WWW Email
strokeWidth();
« on: Aug 4th, 2003, 5:16pm »

Hey guys. I've been playing around making plane trails, and am trying to get the width of the trails right. Using strokeWidth(1), smooth() and alpha to fade my lines out I notice that as soon as the alpha comes in towards the end of the lines the stroke width gets thicker. It's thinner than 2 though.  
 
Anyway, it's better if I just post the applet, so here you are http://gomako.co.uk/p5/vapour/index.html
 
See what I mean?
 
It's not such a terrible thing, as i'm going to be changing from the use of lines to a quad strip with a texture on it or something so I can change the width of the trails more smoothly.
 
Ben.
 
PS. Excuse the code. I can't be bothered to clean it up yet.
 
fry


WWW
Re: strokeWidth();
« Reply #1 on: Aug 4th, 2003, 5:21pm »

we should have a fix on the way for 58, which contains new line code from carlos.
 
Pages: 1 

« Previous topic | Next topic »