<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
      <title>Tagged with strokejoin() - Processing 2.x and 3.x Forum</title>
      <link>https://forum.processing.org/two/discussions/tagged/feed.rss?Tag=strokejoin%28%29</link>
      <pubDate>Sun, 08 Aug 2021 17:43:23 +0000</pubDate>
         <description>Tagged with strokejoin() - Processing 2.x and 3.x Forum</description>
   <language>en-CA</language>
   <atom:link href="/two/discussions/taggedstrokejoin%28%29/feed.rss" rel="self" type="application/rss+xml" />
   <item>
      <title>can anyone help with pushmatrix?</title>
      <link>https://forum.processing.org/two/discussion/28131/can-anyone-help-with-pushmatrix</link>
      <pubDate>Tue, 02 Oct 2018 21:50:25 +0000</pubDate>
      <dc:creator>laptophead</dc:creator>
      <guid isPermaLink="false">28131@/two/discussions</guid>
      <description><![CDATA[<p>I am modeling this robotic arm and it looks great.</p>

<p>I am also trying to display each angle next to each point of inflexion. 
In the case of the elbow, I am trying to move the text with the elbow position along with the inflexion point. 
That works, but I cant find a method to keep the writing horisontal.
It rotates with the first segment angle...</p>

<p>here is my function</p>

<p>thanks</p>

<p>void ArmDepiction()</p>

<p>{  ///////////////////////////Base orientation</p>

<p>fill(201, 0, 211); // magenta
  //text("Y:", LS, spaceDown*3 ); 
  text( (nf(degrees(BaseAngRad), 0, 1)), 630, 1050);
  //text( "0", 85, 0);</p>

<p>strokeWeight(10);
stroke(238,242, 0);
noFill ();</p>

<p>// Form: arc(x, y, width, height, start, stop, type);
arc(550, 1000, 100, 100, (PI/2), (BaseAngRad+(PI/2)), PIE);
//stroke(#71B28F);
//arc(100, 1000, 175, 175, 0, 2*PI, 0);</p>

<p>//drawArrow(100,160,50,130);</p>

<p>///////////////////////Arm Depiction
  strokeWeight(40);
  stroke(255, 160);
  strokeCap(ROUND);</p>

<p>float x, y;</p>

<p>x = 550;
  y = 800;</p>

<p>pushMatrix();
  strokeWeight(40);
  segment(x, y, PI+ShoAngRad); 
  strokeWeight(30);
  segment1(segLength, 0, PI+ElbowAngRad); // 120 is the starting point
  segment3(segLength, 0, (2*PI)+ElbowAngRad-0.58); // 100 is the segment length
  popMatrix();</p>

<p>translate(x, y);
strokeWeight(10);
strokeJoin(ROUND);
   beginShape();
  vertex(-40, 0);</p>

<p>vertex(-65, segLength);
  vertex(65, segLength);</p>

<p>vertex(40, 0);
  endShape(CLOSE);</p>

<p>DisplayElAngle(x, y);</p>

<p>}</p>

<p>void segment(float x, float y, float a) {
  translate(x, y);
  fill(201, 0, 211); // magenta
  //text("Y:", LS, spaceDown*3 ); 
  text( (nf(degrees(ShoAngRad), 0, 1)), 30, 0);
  //text( "0", 85, 0);
  noFill ();</p>

<p>rotate(a);
  line(0, 0, segLength, 0); // 100 is the segment length</p>

<p>}</p>

<p>void DisplayElAngle(float x, float y) {
  translate(x, y);
  rotate(2<em>PI);
    fill(201, 0, 211); // magenta
  //text("Y:", LS, spaceDown</em>3 ); 
 text( (nf(degrees(ElbowAngRad), 0, 1)), 20, -10);
  noFill ();
 //</p>

<p>}
void segment1(float x, float y, float a) {
  translate(x, y);
    fill(201, 0, 211); // magenta
  //text("Y:", LS, spaceDown*3 ); 
 text( (nf(degrees(ElbowAngRad), 0, 1)), 20, -10);
  noFill ();
  rotate(a);
  line(0, 0, segLength, 0); // 100 is the segment length
   // rotate(a);</p>

<p>}</p>

<p>void segment3(float x, float y, float a) {
  translate(x, y);
  rotate(a);
  line(0, 0, (segLength/5), 0); // 100 is the segment length</p>

<p>}</p>
]]></description>
   </item>
   <item>
      <title>Mouse clicked + fade in and fade out</title>
      <link>https://forum.processing.org/two/discussion/25283/mouse-clicked-fade-in-and-fade-out</link>
      <pubDate>Wed, 29 Nov 2017 20:12:36 +0000</pubDate>
      <dc:creator>HANkae1346</dc:creator>
      <guid isPermaLink="false">25283@/two/discussions</guid>
      <description><![CDATA[<p>I have 4 lines of text that I want to fade in and fade out when the mouse is clicked. I want each line to display consecutively(by clicking, the first line fades in. if i click again, it fades out, and then if i click again, the next line displays). How would I go about doing this? Would really appreciate any advice as Im a beginner</p>
]]></description>
   </item>
   <item>
      <title>Why does stokeWeight not erase after mousePressed event?</title>
      <link>https://forum.processing.org/two/discussion/24066/why-does-stokeweight-not-erase-after-mousepressed-event</link>
      <pubDate>Fri, 08 Sep 2017 15:49:51 +0000</pubDate>
      <dc:creator>And_orrr</dc:creator>
      <guid isPermaLink="false">24066@/two/discussions</guid>
      <description><![CDATA[<p>When I specify a mousePressed-event over an area, I want the default stroke weight of 1 to go up to 4 and have a colour change of the stroke to pink. This works.</p>

<p>When I press the button again though, the code draws a default stroke weight over the thick pink stoke, without 'erasing' this thick pink stroke, whereas I would like the line to simply go back to: 'white' and 'default thickness of 1'.</p>

<p>Why doesn't the previous colored strokeWeight erase after the mousePressed-event? I'm very thankful for any advice!</p>

<p>Here's the code:</p>

<pre><code>    boolean button = false; 
    int x = 50;
    int y = 50;
    int w = 100;
    int h = 75;

    void setup() {
      size(500,500);

    }

    void draw() {
      if (button) {
        stroke(#E55AD5);        
        strokeWeight(4);
        strokeJoin(ROUND);

    } else {
       stroke(255);
       strokeWeight(1); 

      }

      noFill();               
      rect(x,y,w,h);
    }

    void mousePressed() {
      if (mouseX &gt; x &amp;&amp; mouseX &lt; x+w &amp;&amp; mouseY &gt; y &amp;&amp; mouseY &lt; y+h) {
        button = !button;
      }
    }
</code></pre>
]]></description>
   </item>
   <item>
      <title>Looking for drawing solutions for overlapping shapes</title>
      <link>https://forum.processing.org/two/discussion/22446/looking-for-drawing-solutions-for-overlapping-shapes</link>
      <pubDate>Sun, 07 May 2017 18:38:12 +0000</pubDate>
      <dc:creator>soundofthesound</dc:creator>
      <guid isPermaLink="false">22446@/two/discussions</guid>
      <description><![CDATA[<p>I've made a patch that changes the angles of 4 right-angled triangles within a square. The thing I don't like is that drawing a side of the triangle at the same coordinates as side of the square can result in some not so aesthetically pleasing results. The corner of the triangles stick out from the corners of the square. You can see what I mean in the patch:</p>

<p><a href="https://www.openprocessing.org/sketch/426460" target="_blank" rel="nofollow">https://www.openprocessing.org/sketch/426460</a></p>

<p>Is there any way to stop this from happening? I'm not sure if I'm doing something wrong in my calculations or  if using the rect() and triangle() objects are sufficient. Would making my own vector-based shape be a way of rectifying this?</p>
]]></description>
   </item>
   <item>
      <title>Reading text files</title>
      <link>https://forum.processing.org/two/discussion/20584/reading-text-files</link>
      <pubDate>Tue, 31 Jan 2017 22:51:38 +0000</pubDate>
      <dc:creator>Nekios</dc:creator>
      <guid isPermaLink="false">20584@/two/discussions</guid>
      <description><![CDATA[<p>So I have a text file with 2 numbers on every line, which is the x coordinate and y coordinate of a point. I have trouble reading the text file and using all the coordinates to draw my shape. help plz!!!</p>

<pre><code>Here is how the text file looks like:
320.859 283.133
313.715 287.457
310.332 295.332
302.996 300.285
296.805 307.137
292.359 297.824
286.586 304.398
.........(with 700 more lines)
</code></pre>

<p>And my code:</p>

<pre><code>void setup() {
  size(400, 400);
  background(0);
  stroke(255);
  strokeJoin(ROUND);
  strokeWeight(2);
  String[] dots = loadStrings("design.txt");

  beginShape();
  for (int i = 0; i &lt; dots.length; i+= 1) {
    vertex(float(dots[i]), float(dots[i]));
  }
  endShape(CLOSE);
}
</code></pre>
]]></description>
   </item>
   <item>
      <title>What are point() and line() doing on the pixel level?</title>
      <link>https://forum.processing.org/two/discussion/17797/what-are-point-and-line-doing-on-the-pixel-level</link>
      <pubDate>Tue, 09 Aug 2016 05:54:49 +0000</pubDate>
      <dc:creator>mscottveach</dc:creator>
      <guid isPermaLink="false">17797@/two/discussions</guid>
      <description><![CDATA[<p>Looking at the result of point and line under a magnifying glass, I realized that my assumption that there
was a 1 to 1 correspondence between processing pixels and my monitor's pixels was naive.</p>

<p>I was surprised by a few things:</p>

<p>When I try to draw a line using a series of point calls, it looks very different than when I use line and neither
one always does what I expected. (For example, drawing a simple line segment will look one way in isolation
and then the entire line will look different if its drawn so that one of it's ends is adjacent to a different line.)</p>

<p>Can anyone point me to a source where I can learn what's happening on the pixel level with these functions.</p>
]]></description>
   </item>
   <item>
      <title>Void Draw messes my code up how to fix</title>
      <link>https://forum.processing.org/two/discussion/16499/void-draw-messes-my-code-up-how-to-fix</link>
      <pubDate>Sun, 08 May 2016 20:55:14 +0000</pubDate>
      <dc:creator>Epicness35</dc:creator>
      <guid isPermaLink="false">16499@/two/discussions</guid>
      <description><![CDATA[<p>Hi,
I am a middle schooler and I need to use the void draw function. When I use it, it messes things up. My sketch is a very simple one, the illuminati creature from gravity falls, and when I use void draw, it adds thickness (strokeWeight) to things that are not supposed to be. But when I remove the void, the sketch is perfectly fine. Could you guys help me figure out what the problem is and how you fix it?</p>

<p>Here is my code:
void setup ()  {<br />
  size (200,200);
}</p>

<p>void draw ()  {
  fill(250,249,83);
  stroke(254,247,244);
  triangle(100,50,40,120,160,120);
  stroke(206,172,11,255);
  line(47,113,153,113);
  line(54,106,147,106);
  line(60,99,140,99);
  line(70,120,70,113);
  line(145,120,145,113);
  line(67,113,67,106);
  line(120,113,120,106);
  line(63,106,63,99);
  line(130,106,130,99);
  line(100,106,100,99);
  fill(255);
  stroke(0);
  ellipse(100,80,35,25);
  fill(0);
  ellipse(100,80,5,15);
  strokeWeight(5);
  strokeCap(SQUARE);
  strokeJoin(ROUND);
  line(65,122,65,150);
  strokeCap(ROUND);
  line(65,150,50,150);
  strokeCap(SQUARE);
  line(135,122,135,150);
  strokeCap(ROUND);
  line(135,150,150,150);
  strokeCap(SQUARE);
  line(145,102,180,90);
  line(55,102,29,90);
  rect(80,35,40,10);
  rect(95,10,10,30);
  triangle(80,101,80,111,100,107);
  triangle(100,107,120,101,120,111);</p>

<p>}</p>
]]></description>
   </item>
   <item>
      <title>strokeJoin() doesn't work in P3D render mode</title>
      <link>https://forum.processing.org/two/discussion/15799/strokejoin-doesn-t-work-in-p3d-render-mode</link>
      <pubDate>Fri, 01 Apr 2016 09:00:32 +0000</pubDate>
      <dc:creator>estevancarlos</dc:creator>
      <guid isPermaLink="false">15799@/two/discussions</guid>
      <description><![CDATA[<p>Maybe there's a reason for that I'm not understanding but I thought I'd mention it. Not sure what the issue may be.</p>
]]></description>
   </item>
   <item>
      <title>Moving scenes</title>
      <link>https://forum.processing.org/two/discussion/15634/moving-scenes</link>
      <pubDate>Tue, 22 Mar 2016 21:36:00 +0000</pubDate>
      <dc:creator>c_vzqz</dc:creator>
      <guid isPermaLink="false">15634@/two/discussions</guid>
      <description><![CDATA[<p>This is a homework assignment that I have. I have to create 4 different scenes, in all, they must have 2 animal objects and 4 other objects. I have to have the animals move in every scene and one object move in one scene. I am trying to get the seagull to fly straight across. Is there any way to group all the parts of the seagull to only have to code once or do i have to code every single part i've made?</p>

<pre><code>    PImage img;                    // Declare variable "img" of type PImage

    float xPosition = 100;                    
    float xSpeed = 2.9;             
    float object = 30;
    float top, bottom, left, right; 

    void setup() {
      fullScreen();                          // use fullScreen() instead of size()
      background( 0 );
      img = loadImage("http:" + "//eskipaper.com/images/beach-background-4.jpg");     // Load the image into the program
      imageMode( CENTER );                   // position the center, not upper right, of the image
      colorMode(HSB, 100);                        // hue, sat, brightness color system
    }

    void draw() {

      background( 0 );
      tint(0, 0, 360, 255);                             // Display full opacity no color tint
      image(img, width/2, height/2);                    // Display at full opacity
      xPosition = xPosition + xSpeed;

        if ( xPosition &lt; left ) {             
        xSpeed = xSpeed * -1;
      } else if ( xPosition &gt; right ) {
        xSpeed = xSpeed * -1;
      }

      //Turtle  
      noFill();
      stroke(33, 86, 32);
      strokeWeight(8);
      strokeCap(ROUND);
      strokeJoin(ROUND);
      line(300, 800, 350, 770 );                          //Create right top fin
      noFill();
      stroke(33, 86, 32);
      strokeWeight(8);
      strokeCap(ROUND);
      strokeJoin(ROUND);
      line(300, 800, 350, 830 );                          //Create right bottom fin
      noFill();
      stroke(33, 86, 32);
      strokeWeight(8);
      strokeCap(ROUND);
      strokeJoin(ROUND);
      line(300, 800, 250, 770 );                          //Create left top fin
      noFill();
      stroke(33, 86, 32);
      strokeWeight(8);
      strokeCap(ROUND);
      strokeJoin(ROUND);
      line(300, 800, 250, 830 );                          //Create left bottom fin
      fill(10, 86, 32);
      noStroke();
      ellipse(300, 800, 80, 60);                          //Create brown shell
      fill(33, 86, 32);
      noStroke();
      ellipse(350, 800, 40, 30);                          //Create head
      ellipseMode(RADIUS);
      noStroke();
      fill(100);
      ellipse(350, 807, 3, 3);
      ellipseMode(CENTER);
      stroke(0);
      strokeWeight(2);
      fill(100);
      ellipse(350, 807, 2, 2);                              //Create bottom eye
      ellipseMode(RADIUS);
      noStroke();
      fill(100);                                 
      ellipse(350, 793, 3, 3);
      ellipseMode(CENTER);  
      stroke(0);
      strokeWeight(2);
      fill(100);
      ellipse(350, 793, 2, 2);                              //Create top eye

     //Boat 1
     noStroke();
     fill(70, 50, 80);
     bezier(300, 630, 380, 675, 410, 675, 490, 630);        //Hull
     stroke(0);
     strokeWeight(2);
     fill(100);
     ellipse(370, 645, 8, 8);                               //Create left window
     stroke(0);
     strokeWeight(2);
     fill(100);
     ellipse(395, 645, 8, 8);                               //Create center window
     stroke(0);
     strokeWeight(2);
     fill(100);
     ellipse(420, 645, 8, 8);                               //Create right window
     stroke(0);
     strokeWeight(6);
     line(395, 630, 395, 500);                              //Pole
     noStroke();
     fill(100);
     triangle(400, 540, 400, 500, 455, 520);                //Flag

     //Crab
      stroke(0);
      strokeWeight(3);
      strokeCap(ROUND);
      strokeJoin(ROUND);
      line(460, 800, 450, 830 );                          //Create outter left leg
      stroke(0);
      strokeWeight(3);
      strokeCap(ROUND);
      strokeJoin(ROUND);
      line(470, 800, 460, 830 );                          //Create middle left leg
      stroke(0);
      strokeWeight(3);
      strokeCap(ROUND);
      strokeJoin(ROUND);
      line(480, 800, 470, 830 );                          //Create inner left  leg
      stroke(0);
      strokeWeight(3);
      strokeCap(ROUND);
      strokeJoin(ROUND);
      line(540, 800, 550, 830 );                          //Create outter right  leg
      stroke(0);
      strokeWeight(3);
      strokeCap(ROUND);
      strokeJoin(ROUND);
      line(530, 800, 540, 830 );                          //Create middle right leg
      stroke(0);
      strokeWeight(3);
      strokeCap(ROUND);
      strokeJoin(ROUND);
      line(520, 800, 530, 830 );                          //Create inner right  leg
      fill(0, 100 , 100);
      noStroke();
      ellipse(500, 800, 100, 60);                          //Create red body
      noFill();
      stroke(359, 100, 0);
      strokeWeight(6);
      strokeCap(SQUARE);
      strokeJoin(ROUND);
      bezier(470, 800,  440, 785,  440, 770, 470, 755);      //Create left arm
      fill(0, 100 , 100);
      noStroke();
      ellipse(470, 755, 20, 20);                               //Create left claw
      noFill();
      stroke(359, 100, 0);
      strokeWeight(6);
      strokeCap(SQUARE);
      strokeJoin(ROUND);
      bezier(530, 800,  560, 785,  560, 770, 530, 755);      //Create right arm
      fill(0, 100 , 100);
      noStroke();
      ellipse(530, 755, 20, 20);                               //Create left claw
      ellipseMode(RADIUS);
      noStroke();
      fill(100);
      ellipse(480, 800, 3, 3);
      ellipseMode(CENTER);
      stroke(0);
      strokeWeight(2);
      fill(100);
      ellipse(480, 800, 1, 1);                              //Create left eye
      ellipseMode(RADIUS);
      noStroke();
      fill(100);                                 
      ellipse(520, 800, 3, 3);
      ellipseMode(CENTER); 
      stroke(0);
      fill(100);
      ellipse(520, 800, 1, 1);                              //Create right eye

     //Boat 2
     noStroke();
     fill(90, 30, 30);
     bezier(800, 630, 880, 675, 910, 675, 990, 630);        //Hull
     stroke(0);
     strokeWeight(2);
     fill(100);
     ellipse(870, 645, 8, 8);                               //Create left window
     stroke(0);
     strokeWeight(2);
     fill(100);
     ellipse(895, 645, 8, 8);                               //Create center window
     stroke(0);
     strokeWeight(2);
     fill(100);
     ellipse(920, 645, 8, 8);                               //Create right window
     stroke(0);
     strokeWeight(6);
     line(895, 630, 895, 500);                              //Pole
     noStroke();
     fill(100);
     triangle(900, 540, 900, 500, 955, 520);                //Flag

     //Seagull
     noFill();
     strokeCap(ROUND);
     stroke(0);
     strokeWeight(8);
     line(300, 90, 280, 80);                            //Create top wing
     noStroke();
     fill(100);
     ellipse(300, 100, 50, 30);                            //Create body
     noStroke();
     fill(100);
     ellipse(330, 100, 25, 25);                            //Create head
     noFill();
     strokeCap(ROUND);
     stroke(10, 80, 100);
     line(338, 103, 355, 103);                             //Create beak
     noFill();
     strokeCap(ROUND);
     stroke(0);
     strokeWeight(8);
     line(300, 110, 280, 120);                            //Create bottom wing
     stroke(0);
     strokeWeight(2);
     fill(100);
     ellipse(330, 100, 1, 1);                              //Create eye

     //Dog
     fill(10, 86, 50);
     noStroke();
     ellipse(1000, 800, 175, 225);                          //Create brown head
     fill(0);
     stroke(0);
     strokeWeight(8);
     strokeJoin(ROUND);
     triangle(1000, 875, 970, 835, 1030, 835);              //Create nose
     ellipseMode(RADIUS);
     noStroke();
     fill(100);
     ellipse(975, 775, 15, 20);
     ellipseMode(CENTER);
     stroke(0);
     strokeWeight(2);
     fill(0);
     ellipse(975, 775, 10, 20);                              //Create left eye
     ellipseMode(RADIUS);
     noStroke();
     fill(100);
     ellipse(1025, 775, 15, 20);
     ellipseMode(CENTER);
     stroke(0);
     strokeWeight(2);
     fill(0);
     ellipse(1025, 775, 10, 20);                              //Create right eye
     fill(10, 86, 70);
     stroke(10, 86, 70);
     strokeWeight(8);
     strokeJoin(ROUND);
     triangle(1040, 695, 1092, 830, 1100, 768);              //Create right ear
     fill(10, 86, 70);
     stroke(10, 86, 70);
     strokeWeight(8);
     strokeJoin(ROUND);
     triangle(960, 695, 908, 830, 900, 768);              //Create left ear
    }
</code></pre>
]]></description>
   </item>
   <item>
      <title>Stroke Outside, Or Inside - Not Both?</title>
      <link>https://forum.processing.org/two/discussion/13401/stroke-outside-or-inside-not-both</link>
      <pubDate>Wed, 04 Nov 2015 09:42:14 +0000</pubDate>
      <dc:creator>Casey_Scalf</dc:creator>
      <guid isPermaLink="false">13401@/two/discussions</guid>
      <description><![CDATA[<p>I have been working with some strokes around shapes I made using a vertex.</p>

<p>Lets use the popular star shape as an example code. Any irregular shape is of interest.</p>

<p>How can I use stroke() so that the stroke is only applied to the inner edge? Or only the outer edge? See picture.</p>

<p>This is a popular tool when using vectors in Illustrator or Photoshop so I thought I might have a chance at communicating this and illustrating the desired outcome.</p>

<p>Thanks for any tips!</p>

<p>// How to make it so stroke is only drawn on one side of edge?</p>

<pre><code>void draw() {
  background(51);
  translate(mouseX, mouseY);
  fill(102);
  stroke(255);
  strokeWeight(2);
  beginShape();
  vertex(0, -50);
  vertex(14, -20);
  vertex(47, -15);
  vertex(23, 7);
  vertex(29, 40);
  vertex(0, 25);
  vertex(-29, 40);
  vertex(-23, 7);
  vertex(-47, -15);
  vertex(-14, -20);
  endShape(CLOSE);
}
</code></pre>

<p><a rel="nofollow" href="http://payload294.cargocollective.com/1/3/103095/8182873/Processing-Stroke-VertexII.jpg">Photo Link</a></p>

<p><img src="http://payload294.cargocollective.com/1/3/103095/8182873/Processing-Stroke-VertexII.jpg" alt="" /></p>
]]></description>
   </item>
   <item>
      <title>How can i create a triangle with round vertexes?</title>
      <link>https://forum.processing.org/two/discussion/13493/how-can-i-create-a-triangle-with-round-vertexes</link>
      <pubDate>Thu, 12 Nov 2015 01:54:37 +0000</pubDate>
      <dc:creator>acoolmind13</dc:creator>
      <guid isPermaLink="false">13493@/two/discussions</guid>
      <description><![CDATA[<p>I know i can use strokeJoin(ROUND) to change the stroke ends to be round, but how do i get the vertexes of the actual  triangle (without stoke) to be round?</p>
]]></description>
   </item>
   <item>
      <title>Lines in P3D only in rectangular mode</title>
      <link>https://forum.processing.org/two/discussion/8967/lines-in-p3d-only-in-rectangular-mode</link>
      <pubDate>Sat, 10 Jan 2015 12:51:46 +0000</pubDate>
      <dc:creator>wit221</dc:creator>
      <guid isPermaLink="false">8967@/two/discussions</guid>
      <description><![CDATA[<p>Hi,</p>

<p>In the app that I am writing, I draw numerous curves, each composed of numerous lines. When the number of lines reahes a certain level, the sketch starts lagging terribly. Hence, I decided to swith the renderer and started using P3D. Problem solved - no lags at all. However, new problem:</p>

<p>Lines in P3D only appear in rectangular mode. This means that, at places where the curve turns a lot, which is the case almost evrywhere, you can see holes between the lines, revealing that the curve is actually a set of lines, not a curve on its own, and making the sketch look considerably ugly.</p>

<p>I have trid using beginShape(), vertex() and endShape(), whith no success. The strokeJoin() and strokeCap(), according to the documentation and, as evidenced from this example, do not work with P3D.</p>

<p>Can you think of a way to get around this problem? It seems pretty easy in nature but I cannot solve it and it destroys my entire sketch.</p>

<p>Thanks in advance!</p>
]]></description>
   </item>
   </channel>
</rss>