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
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   LINE_LOOP fades to closing vertex
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: LINE_LOOP fades to closing vertex  (Read 1962 times)
kevinP

Email
LINE_LOOP fades to closing vertex
« on: Feb 16th, 2004, 7:11am »

andrew_r posted about this in syntax, but thought I'd confirm here...
Code:

// closing line fades...
int cx = width/2;
int cy = height/2;
 
beginShape(LINE_LOOP);
    vertex(cx - 30, 10);
    vertex(cx + 30, 10);
    vertex(cx - 30, 80);
    vertex(cx + 30, 80);
endShape();

 
[getting lazy about adding this...]
0068 alpha, Linux, KDE
 
-K
« Last Edit: Feb 16th, 2004, 7:14am by kevinP »  

Kevin Pfeiffer
fry


WWW
Re: LINE_LOOP fades to closing vertex
« Reply #1 on: Feb 18th, 2004, 3:19pm »

ah, intristin. i've made a note, it should be an easy fix.
 
fry


WWW
Re: LINE_LOOP fades to closing vertex
« Reply #2 on: Jul 13th, 2004, 6:04am »

found and squashed for megabucket.
 
for the geeky: the alpha value for the final vertex wasn't getting copied, so it was set to zero, causing the weak fade-out effect.
 
Pages: 1 

« Previous topic | Next topic »