# Processing

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

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

**Page:** 363

---

## [SVG layers converted to shapes](https://discourse.processing.org/t/svg-layers-converted-to-shapes/3949)

<div class="topic-metadata">

**Author:** [@Geez](https://discourse.processing.org/u/Geez)\
**Replies:** 2\
**Last updated:** [September 29, 2018, 8:38pm UTC](https://discourse.processing.org/t/svg-layers-converted-to-shapes/3949 "2018-09-29T20:38:14Z")

</div>

Hello, Hope y’all doing good! I have an SVG geographic map with various islands on it. When opening the SVG in a vector graphics editor, each island is a layer that you can select. Is there is a way for processing to…

---

## [Curve that passes through three points](https://discourse.processing.org/t/curve-that-passes-through-three-points/3944)

<div class="topic-metadata">

**Author:** [@molo32](https://discourse.processing.org/u/molo32)\
**Replies:** 1\
**Last updated:** [September 29, 2018, 2:44am UTC](https://discourse.processing.org/t/curve-that-passes-through-three-points/3944 "2018-09-29T02:44:35Z")

</div>

how to draw a curve according to three given points? for example curve (10,10, 20,50, 80,75) this function would draw a curve that passes through those 3 coordinates

---

## [Set a item of a JList with path](https://discourse.processing.org/t/set-a-item-of-a-jlist-with-path/3939)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 2\
**Last updated:** [September 29, 2018, 4:55pm UTC](https://discourse.processing.org/t/set-a-item-of-a-jlist-with-path/3939 "2018-09-29T16:55:19Z")

</div>

hello! anybody knows how can i set a JList item (saving previosly in a JSON file) with the PATH and not with INDEX? this is becouse my list are dinamic, and maybe when i save a selection (index 2, e.x), next when i wan…

---

## [Rect corner radius issue. Squircles!?](https://discourse.processing.org/t/rect-corner-radius-issue-squircles/3924)

<div class="topic-metadata">

**Author:** [@EliTheIceMan](https://discourse.processing.org/u/EliTheIceMan)\
**Replies:** 8\
**Last updated:** [September 29, 2018, 4:20am UTC](https://discourse.processing.org/t/rect-corner-radius-issue-squircles/3924 "2018-09-29T04:20:08Z")

</div>

I’m trying to make some buttons based on Tesla’s UI which has round and rounded rectangle buttons and found a weird issue. If you run rect(x, y, n, n, n/2); (in CORNER or CENTER mode) I would think you should get a circ…

---

## [Drawing a flower](https://discourse.processing.org/t/drawing-a-flower/3919)

<div class="topic-metadata">

**Author:** [@James](https://discourse.processing.org/u/James)\
**Replies:** 3\
**Last updated:** [September 29, 2018, 3:55pm UTC](https://discourse.processing.org/t/drawing-a-flower/3919 "2018-09-29T15:55:59Z")

</div>

Hello! I’ve drawn a mathematical rose and I can’t think of a way of animating it so it will slowly draw the line out. It will just print out the whole rose at once. How can I make it so it will draw out the lines like …

---

## [Kinect v2 with processing error -12](https://discourse.processing.org/t/kinect-v2-with-processing-error-12/3732)

<div class="topic-metadata">

**Author:** [@leereset](https://discourse.processing.org/u/leereset)\
**Replies:** 2\
**Last updated:** [September 23, 2018, 6:59am UTC](https://discourse.processing.org/t/kinect-v2-with-processing-error-12/3732 "2018-09-23T06:59:25Z")

</div>

Hi I’m using kinect v2. 64 windows Init Kinect2 \[Freenect2Impl\] enumerating devices… \[Freenect2Impl\] 8 usb devices connected \[Freenect2Impl\] failed to open Kinect v2 @1:19! \[Freenect2Impl\] found valid Kinect v2 @1:…

---

## [How do I make it work? logic question](https://discourse.processing.org/t/how-do-i-make-it-work-logic-question/3938)

<div class="topic-metadata">

**Author:** [@leereset](https://discourse.processing.org/u/leereset)\
**Replies:** 3\
**Last updated:** [September 29, 2018, 6:46am UTC](https://discourse.processing.org/t/how-do-i-make-it-work-logic-question/3938 "2018-09-29T06:46:45Z")

</div>

Hi I’m making project that where footprint created when person pass by. check my progress. you can check here: Use your mouse pointer to create footprint. Issue: As you see my project, if I step forward any direc…

---

## [Use path of selected folder for next selection as default value](https://discourse.processing.org/t/use-path-of-selected-folder-for-next-selection-as-default-value/3914)

<div class="topic-metadata">

**Author:** [@El\_Paco](https://discourse.processing.org/u/El_Paco)\
**Replies:** 4\
**Last updated:** [September 28, 2018, 7:42am UTC](https://discourse.processing.org/t/use-path-of-selected-folder-for-next-selection-as-default-value/3914 "2018-09-28T07:42:48Z")

</div>

Hello , i’m totally new to processing - i had one huge but sure simple topic. I need to modify a processing program with many subfiles. It had a gui - for this is g4p\_controls used. in the gui i can open data files. …

---

## [Weird out of bounds issue with the sound library](https://discourse.processing.org/t/weird-out-of-bounds-issue-with-the-sound-library/2810)

<div class="topic-metadata">

**Author:** [@ducco](https://discourse.processing.org/u/ducco)\
**Replies:** 4\
**Last updated:** [September 29, 2018, 12:10am UTC](https://discourse.processing.org/t/weird-out-of-bounds-issue-with-the-sound-library/2810 "2018-09-29T00:10:25Z")

</div>

i’m working on a game and i want to add sound effects so i installed the sound library but every time i try to load a sound it returns “ArrayIndexOutOfBoundsExeption: -1” and i don’t understand why. the sound file is in …

---

## [Planning for publishing - best approach?](https://discourse.processing.org/t/planning-for-publishing-best-approach/3893)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 5\
**Last updated:** [September 28, 2018, 10:50pm UTC](https://discourse.processing.org/t/planning-for-publishing-best-approach/3893 "2018-09-28T22:50:33Z")

</div>

I am playing with Processing on my laptop and will be wanting to make my sketches more widely available. I get that Android is a separate thing which may require code mods and also also may have extra affordances, and…

---

## [Problem with Control P5 font](https://discourse.processing.org/t/problem-with-control-p5-font/3717)

<div class="topic-metadata">

**Author:** [@239ahmf](https://discourse.processing.org/u/239ahmf)\
**Replies:** 8\
**Last updated:** [September 28, 2018, 10:21pm UTC](https://discourse.processing.org/t/problem-with-control-p5-font/3717 "2018-09-28T22:21:31Z")

</div>

Hi there! Im new to processing and I have been trying to run a model however I seem to have run into this problem Is there any solution to this problem? When I first tried to run the model it gave the following errors…

---

## [Trouble with bluetooth BLE connection between Pi3 and Blueduino](https://discourse.processing.org/t/trouble-with-bluetooth-ble-connection-between-pi3-and-blueduino/3578)

<div class="topic-metadata">

**Author:** [@jb4x](https://discourse.processing.org/u/jb4x)\
**Replies:** 15\
**Last updated:** [September 28, 2018, 7:36pm UTC](https://discourse.processing.org/t/trouble-with-bluetooth-ble-connection-between-pi3-and-blueduino/3578 "2018-09-28T19:36:30Z")

</div>

Hi everyone, I have a processing sketch that gather some data every frames. Then I would need to send those data to a blueduino (basically an arduino with an integrated BLE module) that can then use them to light some L…

---

## [How do I make a line of code one variable?](https://discourse.processing.org/t/how-do-i-make-a-line-of-code-one-variable/3937)

<div class="topic-metadata">

**Author:** [@RienziDeal](https://discourse.processing.org/u/RienziDeal)\
**Replies:** 2\
**Last updated:** [September 28, 2018, 6:16pm UTC](https://discourse.processing.org/t/how-do-i-make-a-line-of-code-one-variable/3937 "2018-09-28T18:16:55Z")

</div>

Hi there, I don’t know if there’s a way to do this but I have a rect() function in my code and I want to know if it’s possible to group the line of code as a variable to make it all move at once. Read more at the bottom…

---

## [createShape() and lerp()](https://discourse.processing.org/t/createshape-and-lerp/3392)

<div class="topic-metadata">

**Author:** [@BrokenCode](https://discourse.processing.org/u/BrokenCode)\
**Replies:** 23\
**Last updated:** [September 28, 2018, 5:50pm UTC](https://discourse.processing.org/t/createshape-and-lerp/3392 "2018-09-28T17:50:46Z")

</div>

Hello everyone, from the last topic, I think it’s time to open a new one, because the argument of it it’s totally changed, so, here’s a over simplified code: int points = 3; ArrayList\<PVector\> olPosition; ArrayList\<PVe…

---

## [How to download the video library manually](https://discourse.processing.org/t/how-to-download-the-video-library-manually/3905)

<div class="topic-metadata">

**Author:** [@TomB](https://discourse.processing.org/u/TomB)\
**Replies:** 6\
**Last updated:** [September 27, 2018, 7:43pm UTC](https://discourse.processing.org/t/how-to-download-the-video-library-manually/3905 "2018-09-27T19:43:24Z")

</div>

I can’t install the processing-video library via the Contribution Manager. How would I go about installing manually? I can’t find an URL for download. The GitHub repository doesn’t seem to contain the install.

---

## [How to use for loop to plot the data into the graph?](https://discourse.processing.org/t/how-to-use-for-loop-to-plot-the-data-into-the-graph/3880)

<div class="topic-metadata">

**Author:** [@bread](https://discourse.processing.org/u/bread)\
**Replies:** 5\
**Last updated:** [September 27, 2018, 3:39pm UTC](https://discourse.processing.org/t/how-to-use-for-loop-to-plot-the-data-into-the-graph/3880 "2018-09-27T15:39:59Z")

</div>

This is the scatter plot graph that I need to plot the data in. How to use the for loop code to plot the data in? Also how to make different shapes to represent the shape under the for loop code?

---

## [Custom Patterned Pixelated image with custom palette of colors](https://discourse.processing.org/t/custom-patterned-pixelated-image-with-custom-palette-of-colors/3864)

<div class="topic-metadata">

**Author:** [@Ruchi](https://discourse.processing.org/u/Ruchi)\
**Replies:** 5\
**Last updated:** [September 27, 2018, 3:18pm UTC](https://discourse.processing.org/t/custom-patterned-pixelated-image-with-custom-palette-of-colors/3864 "2018-09-27T15:18:31Z")

</div>

Hello The above image shows concentric circle pixelated pattern and the link shows an image with strip pixelated pattern. My question is can I impose this type of patterns on an image but with my custom palette …

---

## [360 controller trigger axis](https://discourse.processing.org/t/360-controller-trigger-axis/3881)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 10:21pm UTC](https://discourse.processing.org/t/360-controller-trigger-axis/3881 "2018-09-26T22:21:16Z")

</div>

I’m trying to use an xbox 360 controller, and I need both analog triggers to work. Game Control Plus puts both of the triggers onto the same axis, in opposite directions. So pulling both analog triggers all the way in, …

---

## [Math with Colors](https://discourse.processing.org/t/math-with-colors/3847)

<div class="topic-metadata">

**Author:** [@Turbo012](https://discourse.processing.org/u/Turbo012)\
**Replies:** 14\
**Last updated:** [September 27, 2018, 11:07am UTC](https://discourse.processing.org/t/math-with-colors/3847 "2018-09-27T11:07:44Z")

</div>

I was wondering if there’s a way to use addition or subtraction on the hex values for color to go up or go down a value. I tested out a sketch but the colors are limited telling me there’s a loop around with only a spec…

---

## [Change in Java11 license](https://discourse.processing.org/t/change-in-java11-license/3859)

<div class="topic-metadata">

**Author:** [@xuv](https://discourse.processing.org/u/xuv)\
**Replies:** 2\
**Last updated:** [September 27, 2018, 7:22am UTC](https://discourse.processing.org/t/change-in-java11-license/3859 "2018-09-27T07:22:05Z")

</div>

I just read this article on the new Java11 license by Oracle and thought about the possible impact on Processing and its community. According to the author, the license now says: You may not: use the Programs for any …

---

## [Box2D library installation error](https://discourse.processing.org/t/box2d-library-installation-error/3886)

<div class="topic-metadata">

**Author:** [@apac](https://discourse.processing.org/u/apac)\
**Replies:** 6\
**Last updated:** [September 27, 2018, 6:56am UTC](https://discourse.processing.org/t/box2d-library-installation-error/3886 "2018-09-27T06:56:26Z")

</div>

I have used Box2D examples from Nature of Code before. However, when I tried to run an example today, I got these errors: No library found for shiffman.box2d No library found for org.jbox2d.collision.shapes No library…

---

## [Strange float behaviors (integer division)](https://discourse.processing.org/t/strange-float-behaviors-integer-division/3867)

<div class="topic-metadata">

**Author:** [@mloiz](https://discourse.processing.org/u/mloiz)\
**Replies:** 2\
**Last updated:** [September 27, 2018, 1:43am UTC](https://discourse.processing.org/t/strange-float-behaviors-integer-division/3867 "2018-09-27T01:43:09Z")

</div>

i dont get this : and if I said oi = PI/2 it does work … thank you

---

## [For Loop, populate array with data from the loop](https://discourse.processing.org/t/for-loop-populate-array-with-data-from-the-loop/3853)

<div class="topic-metadata">

**Author:** [@m3talsix66](https://discourse.processing.org/u/m3talsix66)\
**Replies:** 2\
**Last updated:** [September 27, 2018, 1:30am UTC](https://discourse.processing.org/t/for-loop-populate-array-with-data-from-the-loop/3853 "2018-09-27T01:30:25Z")

</div>

Hi I am using an example from Arduino - processing serial communication. I am sending variables from my arduino and want to set the variables in processing from these. import processing.serial.\*; // import the Proce…

---

## [Shift camera in live](https://discourse.processing.org/t/shift-camera-in-live/3876)

<div class="topic-metadata">

**Author:** [@Hoshi](https://discourse.processing.org/u/Hoshi)\
**Replies:** 2\
**Last updated:** [September 27, 2018, 12:50am UTC](https://discourse.processing.org/t/shift-camera-in-live/3876 "2018-09-27T00:50:26Z")

</div>

Hello ! I’m a french student in art, and i’m trying to program the shift diffusion of a video captured by a webcam in live. I don’t know how to do, how to program this. Thanks for your help!

---

## [Rotate / Pendulum swing array of letters](https://discourse.processing.org/t/rotate-pendulum-swing-array-of-letters/3759)

<div class="topic-metadata">

**Author:** [@Keks](https://discourse.processing.org/u/Keks)\
**Replies:** 6\
**Last updated:** [September 26, 2018, 5:24pm UTC](https://discourse.processing.org/t/rotate-pendulum-swing-array-of-letters/3759 "2018-09-26T17:24:24Z")

</div>

Hello I am working with superimposed text and trying to create an animate version of this image. . It is basically two superimposed blocks of letters rotated at their center in opposite directions. I want to get each b…

---

## [Processing for Production Deployment/Development](https://discourse.processing.org/t/processing-for-production-deployment-development/3828)

<div class="topic-metadata">

**Author:** [@dpnkrg](https://discourse.processing.org/u/dpnkrg)\
**Replies:** 3\
**Last updated:** [September 26, 2018, 5:15pm UTC](https://discourse.processing.org/t/processing-for-production-deployment-development/3828 "2018-09-26T17:15:48Z")

</div>

Hi, I am totally new to processing and right now just exploring about processing tool. Can i use this for Production Deployment/Development purpose. Or this tool is just for learning only.

---

## [\[SOLVED\] Can't put int i in if statement in for loop- Help!](https://discourse.processing.org/t/solved-cant-put-int-i-in-if-statement-in-for-loop-help/3848)

<div class="topic-metadata">

**Author:** [@Dinator14](https://discourse.processing.org/u/Dinator14)\
**Replies:** 2\
**Last updated:** [September 26, 2018, 12:24pm UTC](https://discourse.processing.org/t/solved-cant-put-int-i-in-if-statement-in-for-loop-help/3848 "2018-09-26T12:24:33Z")

</div>

I get the error variable i doesn’t exist and I’m not sure why. Without the if statement I don’t get errors. I’m pretty sure I’ve also seen the use of if statements and whatever int was in the for loop used in the if so I…

---

## [How to remove powerline noise from ecg signal](https://discourse.processing.org/t/how-to-remove-powerline-noise-from-ecg-signal/3815)

<div class="topic-metadata">

**Author:** [@siriusng](https://discourse.processing.org/u/siriusng)\
**Replies:** 3\
**Last updated:** [September 26, 2018, 7:29am UTC](https://discourse.processing.org/t/how-to-remove-powerline-noise-from-ecg-signal/3815 "2018-09-26T07:29:52Z")

</div>

Hello everyone! I’m new in processing. I would get ECG signal using ArduinoUno and AD3282 board. I get sketch from github and run my project. However, when I run processing programme, here appear power line noise (it w…

---

## [\[SOLVED\] How do you redraw over this pixel array?](https://discourse.processing.org/t/solved-how-do-you-redraw-over-this-pixel-array/3749)

<div class="topic-metadata">

**Author:** [@ProsExplorer](https://discourse.processing.org/u/ProsExplorer)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 6:04am UTC](https://discourse.processing.org/t/solved-how-do-you-redraw-over-this-pixel-array/3749 "2018-09-26T06:04:24Z")

</div>

Hello all, I’m trying to redraw over this 2D pixel array of this program. // main setup settings int dimy = 800; // screen width 1681 int dimx = 850; //screen height 1019 int bailout = 2000; …

---

## [What's possible with ellipse()?](https://discourse.processing.org/t/whats-possible-with-ellipse/3462)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 17\
**Last updated:** [September 26, 2018, 5:37am UTC](https://discourse.processing.org/t/whats-possible-with-ellipse/3462 "2018-09-26T05:37:48Z")

</div>

I play around with celestial navigation and processing to visualize things, some involve lots of trig. What I’ve used so far is shapes3d to build spheres, as in celestial sphere or earth sphere, then plot points for sta…

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

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