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_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   Strokewidth
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Strokewidth  (Read 522 times)
preetha


Strokewidth
« on: Jan 6th, 2004, 10:06pm »

Hi ,
When I try to draw a line with strokweight more than 3 the lines are no longer visible.. Can anyone help me out ? Is this some kind of bug ?
 
TomC

WWW
Re: Strokewidth
« Reply #1 on: Jan 6th, 2004, 11:15pm »

Probably, but Strokeweight() works for me...  Can you post some sample code that reproduces the bug?
 
preetha


Re: Strokewidth
« Reply #2 on: Jan 8th, 2004, 9:26am »

Hi  
Heres the code I have. Im trying to draw a set of curves whose width should increase after every iteration of loop().  
 
This code is inside loop(). Ive set sw to 2 first. then after each curve is drawn , I increment sw by 0.5.  
 
if I remove the strokeweight line I can see a set of curves (with a delay) . but with the strokeWeight() line included , the curves dont appear at all.  
 
 
if (!((xprev == ((Float) lxy.elementAt(0)).floatValue())&& (yprev == ((Float) lxy.elementAt(1)).floatValue())))
 {
     
 stroke(0);  
 strokeWeight(sw);  
 bezier(xprev,yprev,xprev + 50,yprev + 50,xprev + 75,yprev + 50,((Float) lxy.elementAt(0)).floatValue(),((Float) lxy.elementAt(1)).floatValue());
  }
  sw+=0.5;
     delay(2000);
 
 
Thanks .. any help is greatly appreciated  
 
mflux

fluxhavoc WWW
Re: Strokewidth
« Reply #3 on: Jan 9th, 2004, 9:39pm »

I think Fry said strokeweight is still bugged.
 
For example if you use strokeweight and then translate by Z, the lines will vanish...
 
Pages: 1 

« Previous topic | Next topic »