# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=347

[Latest](https://discourse.processing.org/latest.md) · [Categories](https://discourse.processing.org/categories.md) · [Tags](https://discourse.processing.org/tags.md)

**Page:** 348

---

## [How to close a PShape with 2 arcs and two lines](https://discourse.processing.org/t/how-to-close-a-pshape-with-2-arcs-and-two-lines/5287)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 18\
**Last updated:** [November 14, 2018, 2:56am UTC](https://discourse.processing.org/t/how-to-close-a-pshape-with-2-arcs-and-two-lines/5287 "2018-11-14T02:56:59Z")

</div>

I’ve been trying to make a PShape like a segment of a color wheel, but I am not sure how to close it so I can use a stroke, and fills, and move them around on the screen easily. I don’t know whether I should try to find…

---

## [Removing unnecessary (?) jars from exported apps: ok if it still runs?](https://discourse.processing.org/t/removing-unnecessary-jars-from-exported-apps-ok-if-it-still-runs/5503)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 2:36am UTC](https://discourse.processing.org/t/removing-unnecessary-jars-from-exported-apps-ok-if-it-still-runs/5503 "2018-11-14T02:36:53Z")

</div>

Is it save to delete the jogl-\*.jar files (OpenGL?) from exported apps if the apps still start afterwards and appear to work normally across Windows/Linux/MacOS? In other words: Would there be a startup failure if these …

---

## [Rotate Sphere on its Axis](https://discourse.processing.org/t/rotate-sphere-on-its-axis/5505)

<div class="topic-metadata">

**Author:** [@ant](https://discourse.processing.org/u/ant)\
**Replies:** 3\
**Last updated:** [November 14, 2018, 1:36am UTC](https://discourse.processing.org/t/rotate-sphere-on-its-axis/5505 "2018-11-14T01:36:38Z")

</div>

Having trouble getting the bear to spin on its axis. Basically, I’m trying to get the bear to stand still but rotate around on its axis. float angle = PI/200; void setup() { size(1000,1000, P3D); frameRate(3); } vo…

---

## [How about the code when the ball is retracted and returned to its original position?](https://discourse.processing.org/t/how-about-the-code-when-the-ball-is-retracted-and-returned-to-its-original-position/5507)

<div class="topic-metadata">

**Author:** [@alk5603](https://discourse.processing.org/u/alk5603)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 1:21am UTC](https://discourse.processing.org/t/how-about-the-code-when-the-ball-is-retracted-and-returned-to-its-original-position/5507 "2018-11-14T01:21:34Z")

</div>

float rot = PI; float d\_rot = 0.05; float xoff = 0.0; float xincrement = 0.01; //float xoff\_xincrement = 0.05; void setup() { size(800, 800); noStroke(); fill(255); } void draw() { background(0); …

---

## [Tip for resize app window while executing?](https://discourse.processing.org/t/tip-for-resize-app-window-while-executing/5513)

<div class="topic-metadata">

**Author:** [@Xxssafirex](https://discourse.processing.org/u/Xxssafirex)\
**Replies:** 1\
**Last updated:** [November 13, 2018, 11:03pm UTC](https://discourse.processing.org/t/tip-for-resize-app-window-while-executing/5513 "2018-11-13T23:03:02Z")

</div>

i was just wondering if there was some functions enabling the modification of the size of the window once its executing (or some way to proceed)

---

## [Add images to particle system](https://discourse.processing.org/t/add-images-to-particle-system/5511)

<div class="topic-metadata">

**Author:** [@JimyiHendrix](https://discourse.processing.org/u/JimyiHendrix)\
**Replies:** 3\
**Last updated:** [November 13, 2018, 10:55pm UTC](https://discourse.processing.org/t/add-images-to-particle-system/5511 "2018-11-13T22:55:17Z")

</div>

Hello everyone. I would like tome convert those particles into an image. I mean every single particle in one image that i have from a picture, any. i leave here the code till i tried it. THANKS for your time!! //This is…

---

## [Can a Tool access Preferences?](https://discourse.processing.org/t/can-a-tool-access-preferences/5506)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 1\
**Last updated:** [November 13, 2018, 6:53pm UTC](https://discourse.processing.org/t/can-a-tool-access-preferences/5506 "2018-11-13T18:53:17Z")

</div>

This page about developing a tool mentions What Tools Can and Cannot Do The following classes have been sufficiently documented for use in Tool classes: processing.app.Base The base class for the main Processing ap…

---

## [Detect closing another sketch](https://discourse.processing.org/t/detect-closing-another-sketch/5500)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 1\
**Last updated:** [November 13, 2018, 5:44pm UTC](https://discourse.processing.org/t/detect-closing-another-sketch/5500 "2018-11-13T17:44:39Z")

</div>

Note that this is outside the PDE, you need vscode / intelliJ / eclipse. My goal is to start a sketch, run that, and when it is closed either by me or some timer or whatever, run another sketch. For a sketch to run I c…

---

## [Animated Dynamic Bar Chart - Time series](https://discourse.processing.org/t/animated-dynamic-bar-chart-time-series/5498)

<div class="topic-metadata">

**Author:** [@Gazbee](https://discourse.processing.org/u/Gazbee)\
**Replies:** 1\
**Last updated:** [November 13, 2018, 2:49pm UTC](https://discourse.processing.org/t/animated-dynamic-bar-chart-time-series/5498 "2018-11-13T14:49:37Z")

</div>

Hi, Can anyone give any guidance as to how the visualization of the dynamic bar graph can be created? (The video an animation of the top 10 country GDP in a horizontal bar graph format where the top 10 co…

---

## [Andrew's monotone chain algorithm](https://discourse.processing.org/t/andrews-monotone-chain-algorithm/5485)

<div class="topic-metadata">

**Author:** [@Joanna](https://discourse.processing.org/u/Joanna)\
**Replies:** 2\
**Last updated:** [November 13, 2018, 2:46pm UTC](https://discourse.processing.org/t/andrews-monotone-chain-algorithm/5485 "2018-11-13T14:46:09Z")

</div>

Hello, I have a project for university about creating NURBs curves. One part of the code is Andrew’s monotone chain algorithm. And I have the code that doesn’t work, could anyone help me with that? Thank you so much! i…

---

## [Order Of Capture devices, And Capture.list()](https://discourse.processing.org/t/order-of-capture-devices-and-capture-list/5475)

<div class="topic-metadata">

**Author:** [@redfieldp](https://discourse.processing.org/u/redfieldp)\
**Replies:** 5\
**Last updated:** [November 13, 2018, 2:43pm UTC](https://discourse.processing.org/t/order-of-capture-devices-and-capture-list/5475 "2018-11-13T14:43:39Z")

</div>

I am currently trying to distinguish between 4 Capture devices (cameras) that are all identical, and so have the same readable name as far as OSX is concerned. If you use the system\_profiler command, they all have identi…

---

## [Change the hue or saturation of an image](https://discourse.processing.org/t/change-the-hue-or-saturation-of-an-image/5202)

<div class="topic-metadata">

**Author:** [@ultratape](https://discourse.processing.org/u/ultratape)\
**Replies:** 9\
**Last updated:** [November 13, 2018, 12:06pm UTC](https://discourse.processing.org/t/change-the-hue-or-saturation-of-an-image/5202 "2018-11-13T12:06:24Z")

</div>

With this code, I want to change the hue of the image and not the background but I’m not sure what I need to change? This is pretty much my first processing project so I’m not of any of the terms or jargon. Using an ard…

---

## [G4P Builder - Not Running in Windows 10](https://discourse.processing.org/t/g4p-builder-not-running-in-windows-10/5479)

<div class="topic-metadata">

**Author:** [@tcontrada](https://discourse.processing.org/u/tcontrada)\
**Replies:** 2\
**Last updated:** [November 13, 2018, 11:45am UTC](https://discourse.processing.org/t/g4p-builder-not-running-in-windows-10/5479 "2018-11-13T11:45:40Z")

</div>

I am trying to run the G4P Builder program G4PTool.jar in W10, but it does not launch correctly. I tried to run in from the CMD window but I am getting the following error message "G4PTool’ is not recognized as an inte…

---

## [Drawings within setup() after surface.setSize()](https://discourse.processing.org/t/drawings-within-setup-after-surface-setsize/5374)

<div class="topic-metadata">

**Author:** [@gyula](https://discourse.processing.org/u/gyula)\
**Replies:** 4\
**Last updated:** [November 12, 2018, 9:59am UTC](https://discourse.processing.org/t/drawings-within-setup-after-surface-setsize/5374 "2018-11-12T09:59:42Z")

</div>

I like to write simple pieces of code without a draw() block. In this way, it often doesn’t even have to be surrounded by the setup() function, since Processing will do that behind the scenes. When I brought over an old…

---

## [Connectingrods and crankshaft.... for flapping bird](https://discourse.processing.org/t/connectingrods-and-crankshaft-for-flapping-bird/5186)

<div class="topic-metadata">

**Author:** [@jfs](https://discourse.processing.org/u/jfs)\
**Replies:** 14\
**Last updated:** [November 13, 2018, 8:03am UTC](https://discourse.processing.org/t/connectingrods-and-crankshaft-for-flapping-bird/5186 "2018-11-13T08:03:59Z")

</div>

Hello everyone I try to code a little sketch that allows me to visualize the linkage between the wings and the crankshaft of a plane with flapping wings. For now I have “done” this allows me according to some configura…

---

## [Draw lines that go from bottom to top?](https://discourse.processing.org/t/draw-lines-that-go-from-bottom-to-top/5466)

<div class="topic-metadata">

**Author:** [@josie](https://discourse.processing.org/u/josie)\
**Replies:** 5\
**Last updated:** [November 13, 2018, 6:31am UTC](https://discourse.processing.org/t/draw-lines-that-go-from-bottom-to-top/5466 "2018-11-13T06:31:06Z")

</div>

Hi, I’m very new to processing, so I’m sorry if I make mistakes or have trouble understanding something. I wanted to design a code that drew x amount of lines starting at 0 and went up to the height of my setup then sto…

---

## [These functions doesn't exist, why?](https://discourse.processing.org/t/these-functions-doesnt-exist-why/5489)

<div class="topic-metadata">

**Author:** [@lyndsee](https://discourse.processing.org/u/lyndsee)\
**Replies:** 1\
**Last updated:** [November 13, 2018, 5:11am UTC](https://discourse.processing.org/t/these-functions-doesnt-exist-why/5489 "2018-11-13T05:11:00Z")

</div>

Hi all! I am new here, specifically signed up to resolve this problem. I have Processing 3. I am trying to make two “walkers”. I have all this code here but I keep getting the error message that the functions step(), re…

---

## [Mac OS X: How to view exceptions thrown by exported app?](https://discourse.processing.org/t/mac-os-x-how-to-view-exceptions-thrown-by-exported-app/5460)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 2\
**Last updated:** [November 12, 2018, 11:43pm UTC](https://discourse.processing.org/t/mac-os-x-how-to-view-exceptions-thrown-by-exported-app/5460 "2018-11-12T23:43:27Z")

</div>

Is there a way for Mac OS X users of an exported Processing 3 app to view the text of non-fatal exceptions (those messages that normally appear in red in the Processing editor)? I’ve tried to enable logging/console in …

---

## [Increase the length of object array](https://discourse.processing.org/t/increase-the-length-of-object-array/5390)

<div class="topic-metadata">

**Author:** [@dragon\_hatcher](https://discourse.processing.org/u/dragon_hatcher)\
**Replies:** 14\
**Last updated:** [November 12, 2018, 10:47pm UTC](https://discourse.processing.org/t/increase-the-length-of-object-array/5390 "2018-11-12T22:47:08Z")

</div>

Hello Everyone, I’m just learning to use classes and I wanted to use an array to create the objects. I have it set up so that when I click it creates a new object at the mouses position. What I am wondering is how I can…

---

## [I want to know how this is expressed. 03](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-03/5430)

<div class="topic-metadata">

**Author:** [@alk5603](https://discourse.processing.org/u/alk5603)\
**Replies:** 6\
**Last updated:** [November 12, 2018, 10:05pm UTC](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-03/5430 "2018-11-12T22:05:23Z")

</div>

---

## [I want to know how this is expressed. 02](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-02/5429)

<div class="topic-metadata">

**Author:** [@alk5603](https://discourse.processing.org/u/alk5603)\
**Replies:** 2\
**Last updated:** [November 12, 2018, 10:04pm UTC](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-02/5429 "2018-11-12T22:04:29Z")

</div>

---

## [I want to know how this is expressed. 01](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-01/5428)

<div class="topic-metadata">

**Author:** [@alk5603](https://discourse.processing.org/u/alk5603)\
**Replies:** 2\
**Last updated:** [November 12, 2018, 10:03pm UTC](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-01/5428 "2018-11-12T22:03:26Z")

</div>

---

## [I want to know how this is expressed](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed/5427)

<div class="topic-metadata">

**Author:** [@alk5603](https://discourse.processing.org/u/alk5603)\
**Replies:** 2\
**Last updated:** [November 12, 2018, 10:02pm UTC](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed/5427 "2018-11-12T22:02:41Z")

</div>

---

## [How to Access Source Code?](https://discourse.processing.org/t/how-to-access-source-code/5434)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 1\
**Last updated:** [November 12, 2018, 9:59pm UTC](https://discourse.processing.org/t/how-to-access-source-code/5434 "2018-11-12T21:59:49Z")

</div>

What i Need it to Access the Source Code, But only the ‚Blocks‘ from specific classes/methods, for a Tool i‘m trying to write. I already looked at how autosuggestion gets it‘s information and came to eclipses Block or m…

---

## [Airfoil has holes in it](https://discourse.processing.org/t/airfoil-has-holes-in-it/5420)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 10\
**Last updated:** [November 12, 2018, 9:39pm UTC](https://discourse.processing.org/t/airfoil-has-holes-in-it/5420 "2018-11-12T21:39:34Z")

</div>

I’m playing around with PixelFlow and the Wind Tunnel LIC example. I went to UUIC airfoil database and grabbed the coordinates for the Eppler 193 airfoil which is a good one for model airplanes. I wrote a little sketch…

---

## [Inverting graphics and code](https://discourse.processing.org/t/inverting-graphics-and-code/5116)

<div class="topic-metadata">

**Author:** [@IdoPlumes](https://discourse.processing.org/u/IdoPlumes)\
**Replies:** 8\
**Last updated:** [November 12, 2018, 7:31pm UTC](https://discourse.processing.org/t/inverting-graphics-and-code/5116 "2018-11-12T19:31:47Z")

</div>

Hello, I am new to processing, but not so much coding as i have done a 2 years of audio process design and implementation at my current university, using c and c++ languages. However i am getting into the graphics worl…

---

## [Reversing the draw()/code?](https://discourse.processing.org/t/reversing-the-draw-code/5172)

<div class="topic-metadata">

**Author:** [@ReDeagle](https://discourse.processing.org/u/ReDeagle)\
**Replies:** 3\
**Last updated:** [November 12, 2018, 7:22pm UTC](https://discourse.processing.org/t/reversing-the-draw-code/5172 "2018-11-12T19:22:02Z")

</div>

Hey everyone, I have a project for school where parts of an object come flying in from different parts of a screen into the center to form a car. We aren’t allowed to use if statements either. I know how to code it so t…

---

## [Drawing the path of Mover under the influence of Attractor](https://discourse.processing.org/t/drawing-the-path-of-mover-under-the-influence-of-attractor/5463)

<div class="topic-metadata">

**Author:** [@ahariri72](https://discourse.processing.org/u/ahariri72)\
**Replies:** 3\
**Last updated:** [November 12, 2018, 4:56pm UTC](https://discourse.processing.org/t/drawing-the-path-of-mover-under-the-influence-of-attractor/5463 "2018-11-12T16:56:40Z")

</div>

Hi all, I am trying to track the movement of a mover class that is moving based on the gravity of a couple of attractors. I need to show the trajectory of this movement using lines/points. Currently the ellipse movement…

---

## [GameControlPlus Joystick polling issue](https://discourse.processing.org/t/gamecontrolplus-joystick-polling-issue/5386)

<div class="topic-metadata">

**Author:** [@metype](https://discourse.processing.org/u/metype)\
**Replies:** 2\
**Last updated:** [November 12, 2018, 4:44pm UTC](https://discourse.processing.org/t/gamecontrolplus-joystick-polling-issue/5386 "2018-11-12T16:44:00Z")

</div>

So this isn’t an issue for most, but I’m trying to add support for both a joystick and a keyboard, I want a way to test if there is a joystick without showing the box if there isn’t one that matches the config file.

---

## [Width (0) and height (0) cannot be \<= 0](https://discourse.processing.org/t/width-0-and-height-0-cannot-be-0/5459)

<div class="topic-metadata">

**Author:** [@ProcessingSuzanne](https://discourse.processing.org/u/ProcessingSuzanne)\
**Replies:** 9\
**Last updated:** [November 12, 2018, 11:48am UTC](https://discourse.processing.org/t/width-0-and-height-0-cannot-be-0/5459 "2018-11-12T11:48:34Z")

</div>

I am working on a very simple BackgroundSubtraction code on processing. In the beginning everything was woking fine but now I get the “Width (0) and height (0) cannot be \<= 0” error every time I try to play the code. Her…

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=346)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=348)
