# Processing

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

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

**Page:** 282

---

## [Image Processing for measuring](https://discourse.processing.org/t/image-processing-for-measuring/13058)

<div class="topic-metadata">

**Author:** [@eric](https://discourse.processing.org/u/eric)\
**Replies:** 6\
**Last updated:** [August 1, 2019, 10:26am UTC](https://discourse.processing.org/t/image-processing-for-measuring/13058 "2019-08-01T10:26:24Z")

</div>

Hello, very new to the coding world, started last week learning, and have been searching around for a simple solution to my problem but can’t find anything specific. Here is my situation: My end goal is to have an app …

---

## [How to use processing to send video to kinect](https://discourse.processing.org/t/how-to-use-processing-to-send-video-to-kinect/13084)

<div class="topic-metadata">

**Author:** [@sharon0](https://discourse.processing.org/u/sharon0)\
**Replies:** 2\
**Last updated:** [August 1, 2019, 6:31am UTC](https://discourse.processing.org/t/how-to-use-processing-to-send-video-to-kinect/13084 "2019-08-01T06:31:39Z")

</div>

Hello, I’m a beginner in processing. I am trying to send an image or video to Kinect by using processing. So I could interact with a screen, when I walk close to the screen, the Kinect sensor notices me, and then the ima…

---

## [Blob tracking and collision detection](https://discourse.processing.org/t/blob-tracking-and-collision-detection/12806)

<div class="topic-metadata">

**Author:** [@QueenBee](https://discourse.processing.org/u/QueenBee)\
**Replies:** 17\
**Last updated:** [August 1, 2019, 6:21am UTC](https://discourse.processing.org/t/blob-tracking-and-collision-detection/12806 "2019-08-01T06:21:50Z")

</div>

Hey! I’m having trouble with a collision detection program at the moment. Essentially I’m using blob tracking with colours (from a depth camera image), and I want to know when a blob collides or overlaps another blob, …

---

## [How to create a random convex polygon?](https://discourse.processing.org/t/how-to-create-a-random-convex-polygon/76)

<div class="topic-metadata">

**Author:** [@rioma7](https://discourse.processing.org/u/rioma7)\
**Replies:** 17\
**Last updated:** [June 5, 2018, 9:32am UTC](https://discourse.processing.org/t/how-to-create-a-random-convex-polygon/76 "2018-06-05T09:32:50Z")

</div>

Hello folks! I have a big question for you: I am creating a code which when you press keyboard then processing creates a random convex polygon but I am really struggling finding the right way. thanks

---

## [Translating music waves to form](https://discourse.processing.org/t/translating-music-waves-to-form/12915)

<div class="topic-metadata">

**Author:** [@shirkhanloo](https://discourse.processing.org/u/shirkhanloo)\
**Replies:** 5\
**Last updated:** [August 1, 2019, 3:34am UTC](https://discourse.processing.org/t/translating-music-waves-to-form/12915 "2019-08-01T03:34:34Z")

</div>

Hi everyone, I am trying to define a scripting that calculates the sound wave and then whenever it is more than an amount, it creates random points and then it connects the points with line. I developed the scripting an…

---

## [Arrow Keys and Death counter](https://discourse.processing.org/t/arrow-keys-and-death-counter/12825)

<div class="topic-metadata">

**Author:** [@Prantzz](https://discourse.processing.org/u/Prantzz)\
**Replies:** 11\
**Last updated:** [July 31, 2019, 9:19pm UTC](https://discourse.processing.org/t/arrow-keys-and-death-counter/12825 "2019-07-31T21:19:03Z")

</div>

Guys i need some help with player movement and death counter, here’s my code Main code: Player Player; enemy enemy; int score; int deaths; void setup() { size ( 640, 480); noStroke(); enemy = new enemy(); …

---

## [Processing & Streaming Audio](https://discourse.processing.org/t/processing-streaming-audio/13082)

<div class="topic-metadata">

**Author:** [@pacolux](https://discourse.processing.org/u/pacolux)\
**Replies:** 1\
**Last updated:** [July 31, 2019, 11:01am UTC](https://discourse.processing.org/t/processing-streaming-audio/13082 "2019-07-31T11:01:39Z")

</div>

I have just started messing around with Processing’s Sound library. I have spent the better part of a few hours reading just about every post on how to use the sound library but I can’t quite find what I am looking for. …

---

## [Using PGraphics convenience methods for drawing on PImage](https://discourse.processing.org/t/using-pgraphics-convenience-methods-for-drawing-on-pimage/13076)

<div class="topic-metadata">

**Author:** [@LoliProcessor](https://discourse.processing.org/u/LoliProcessor)\
**Replies:** 2\
**Last updated:** [July 31, 2019, 7:19am UTC](https://discourse.processing.org/t/using-pgraphics-convenience-methods-for-drawing-on-pimage/13076 "2019-07-31T07:19:40Z")

</div>

Is there any way to use the convenience methods of PGraphics ( rect, circle, line, etc ) on a PImage / to get a PGraphics from a PImage. Also, what is the easiest way to convert from PImage to a BufferedImage and the ot…

---

## [Circumcircle of Triangle](https://discourse.processing.org/t/circumcircle-of-triangle/13030)

<div class="topic-metadata">

**Author:** [@McTuble](https://discourse.processing.org/u/McTuble)\
**Replies:** 4\
**Last updated:** [July 30, 2019, 10:21pm UTC](https://discourse.processing.org/t/circumcircle-of-triangle/13030 "2019-07-30T22:21:07Z")

</div>

My ultimate goal in the use of this is to implement my own code to use for the Delaunay Triangulation algorithm. I hear all this talk about needing to find the circumcircle of a triangle and I am unsure about how to do t…

---

## [Processing + Eclipse + Arduino](https://discourse.processing.org/t/processing-eclipse-arduino/12946)

<div class="topic-metadata">

**Author:** [@rgthings](https://discourse.processing.org/u/rgthings)\
**Replies:** 2\
**Last updated:** [July 30, 2019, 9:14pm UTC](https://discourse.processing.org/t/processing-eclipse-arduino/12946 "2019-07-30T21:14:07Z")

</div>

After a day of trying, I am unable to get Eclipse to recognize any serial messages. Using jssc I get the exception, “Port busy”. With jSerialComm I am unable to open the port. With the Processing serial library, nothing …

---

## [Program that generates an image based of music / frequencies](https://discourse.processing.org/t/program-that-generates-an-image-based-of-music-frequencies/13063)

<div class="topic-metadata">

**Author:** [@Ephixi4](https://discourse.processing.org/u/Ephixi4)\
**Replies:** 4\
**Last updated:** [July 30, 2019, 9:04pm UTC](https://discourse.processing.org/t/program-that-generates-an-image-based-of-music-frequencies/13063 "2019-07-30T21:04:40Z")

</div>

Hey all, First of all I’m a real beginner in Processing and coding. I’ve had some basics at uni (New Arts Media faculty). Graphic design and so on. During the short time I had with processing I really fell in love sinc…

---

## [Downloading Processing stuck at 100 on chrome](https://discourse.processing.org/t/downloading-processing-stuck-at-100-on-chrome/13069)

<div class="topic-metadata">

**Author:** [@carmy](https://discourse.processing.org/u/carmy)\
**Replies:** 1\
**Last updated:** [July 30, 2019, 7:51pm UTC](https://discourse.processing.org/t/downloading-processing-stuck-at-100-on-chrome/13069 "2019-07-30T19:51:51Z")

</div>

every time i try to download processing on google chrome it gets stuck at a 100 percent and wont open or anything. Any ideas on how to fix that.

---

## [Save multiple PDFs during the sketch run](https://discourse.processing.org/t/save-multiple-pdfs-during-the-sketch-run/13015)

<div class="topic-metadata">

**Author:** [@Pvag](https://discourse.processing.org/u/Pvag)\
**Replies:** 3\
**Last updated:** [July 30, 2019, 1:30pm UTC](https://discourse.processing.org/t/save-multiple-pdfs-during-the-sketch-run/13015 "2019-07-30T13:30:55Z")

</div>

Hello, I would like to add this functionality to my sketch: save the drawing to a new pdf file, each time the key ‘s’ is pressed. In order to do this, I am using a PGraphics for the pdf, with a pdf renderer. When I disp…

---

## [How to apply two textures to the same PShape?](https://discourse.processing.org/t/how-to-apply-two-textures-to-the-same-pshape/5971)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 10\
**Last updated:** [July 30, 2019, 12:26pm UTC](https://discourse.processing.org/t/how-to-apply-two-textures-to-the-same-pshape/5971 "2019-07-30T12:26:42Z")

</div>

Hi, I have created some code that takes a polyline and creates a mesh surrounding the polyline (in the image there’s a bunch of them). Next I want to add a second texture to control the transparency. I want this mask …

---

## [\[Rest API\] Client and POST request with Processing .net libraries](https://discourse.processing.org/t/rest-api-client-and-post-request-with-processing-net-libraries/12759)

<div class="topic-metadata">

**Author:** [@Dupond](https://discourse.processing.org/u/Dupond)\
**Replies:** 6\
**Last updated:** [July 30, 2019, 8:00am UTC](https://discourse.processing.org/t/rest-api-client-and-post-request-with-processing-net-libraries/12759 "2019-07-30T08:00:34Z")

</div>

Hello, I was wondering what is the best librarie to use to do POST request. I have tried using net.libraries but I have some issue with an “client got end of stream error”. I have find that there is a http.requests.\*…

---

## [Ball movement is stuttery. How to achieve smooth movement?](https://discourse.processing.org/t/ball-movement-is-stuttery-how-to-achieve-smooth-movement/12094)

<div class="topic-metadata">

**Author:** [@rusagent](https://discourse.processing.org/u/rusagent)\
**Replies:** 21\
**Last updated:** [July 30, 2019, 7:37am UTC](https://discourse.processing.org/t/ball-movement-is-stuttery-how-to-achieve-smooth-movement/12094 "2019-07-30T07:37:19Z")

</div>

I opened a SO article here: Hope it’s ok to post it https://stackoverflow.com/questions/56496427/my-ball-doesnt-move-smoothly-but-with-stutters-how-can-i-achieve-smoother-move Basically, i want to achieve smooth movemen…

---

## [Network classes not recognised](https://discourse.processing.org/t/network-classes-not-recognised/13035)

<div class="topic-metadata">

**Author:** [@dgrogandesign](https://discourse.processing.org/u/dgrogandesign)\
**Replies:** 10\
**Last updated:** [July 29, 2019, 10:50am UTC](https://discourse.processing.org/t/network-classes-not-recognised/13035 "2019-07-29T10:50:18Z")

</div>

Hi there, i was testing oout the network library on my old computer (with an older version of processing) and the network library and associated classes (Server and Client) worked fine. I’ve just tried to run the same sk…

---

## [What difference can the amount of parameters have for stroke()?](https://discourse.processing.org/t/what-difference-can-the-amount-of-parameters-have-for-stroke/12921)

<div class="topic-metadata">

**Author:** [@Ludmuterol](https://discourse.processing.org/u/Ludmuterol)\
**Replies:** 1\
**Last updated:** [July 23, 2019, 9:22pm UTC](https://discourse.processing.org/t/what-difference-can-the-amount-of-parameters-have-for-stroke/12921 "2019-07-23T21:22:21Z")

</div>

I have a project, which draws lines along Lissajous-like paths. Every now and then i want the line to change from one path to a newly generated one. In that moment i let the currentline disappear and the new one appear.…

---

## [Data Visualization with svg maps](https://discourse.processing.org/t/data-visualization-with-svg-maps/12966)

<div class="topic-metadata">

**Author:** [@NamanSharma](https://discourse.processing.org/u/NamanSharma)\
**Replies:** 2\
**Last updated:** [July 29, 2019, 5:42am UTC](https://discourse.processing.org/t/data-visualization-with-svg-maps/12966 "2019-07-29T05:42:01Z")

</div>

Hi guys. There used to be really good example of code to visualize the US election results on a SVG map. Could someone please help with that same or some similar code, as I want to build a similar thing for depicting wa…

---

## [How to break line using loadspring()?](https://discourse.processing.org/t/how-to-break-line-using-loadspring/12668)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 20\
**Last updated:** [July 28, 2019, 10:06pm UTC](https://discourse.processing.org/t/how-to-break-line-using-loadspring/12668 "2019-07-28T22:06:48Z")

</div>

Hello, I’d like to split my text into Strings and to move the same Strings to new coordinates. First when I split the text I don’t manage to insert a line break, how should I proceed? Thanks a lot in advance for your h…

---

## [\[SOLVED\] Slicing arrayList](https://discourse.processing.org/t/solved-slicing-arraylist/12974)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 6:42pm UTC](https://discourse.processing.org/t/solved-slicing-arraylist/12974 "2019-07-28T18:42:53Z")

</div>

Coming from a p5.js background, and I understand the use of slicing to make a copy of an array. This is done as setting a variable to the array you wish to copy makes a link which will modify the original arrays values s…

---

## [Run a Processing sketch from Node-RED](https://discourse.processing.org/t/run-a-processing-sketch-from-node-red/12939)

<div class="topic-metadata">

**Author:** [@nallasiger](https://discourse.processing.org/u/nallasiger)\
**Replies:** 1\
**Last updated:** [July 28, 2019, 5:46pm UTC](https://discourse.processing.org/t/run-a-processing-sketch-from-node-red/12939 "2019-07-28T17:46:30Z")

</div>

Hello, I’d like to see if anyone can help me run a specific Processing sketch through a Node-RED user interface. I’m building a connected desk lamp and would like to be able to change its light patterns from my phone. …

---

## [Rotate circle around it´s own center](https://discourse.processing.org/t/rotate-circle-around-it-s-own-center/12937)

<div class="topic-metadata">

**Author:** [@Sweetiefraise](https://discourse.processing.org/u/Sweetiefraise)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 4:54pm UTC](https://discourse.processing.org/t/rotate-circle-around-it-s-own-center/12937 "2019-07-28T16:54:49Z")

</div>

I want to rotate the eyes of this bear inside de white circles, so I want to know what I shoould put there This part specifically: //left eye fill (#000000); strokeWeight(6); stroke (#050302); circle (320, 190, 50); fi…

---

## [Using another text renderer](https://discourse.processing.org/t/using-another-text-renderer/13016)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 4\
**Last updated:** [July 28, 2019, 2:05pm UTC](https://discourse.processing.org/t/using-another-text-renderer/13016 "2019-07-28T14:05:23Z")

</div>

I was looking if it was possible to render text a different way. For those who are interested: Not made user friendly yet. Unfortunately it needs PJOGL.profile = 1; so it’s kinda bad… import java.awt.Font; import c…

---

## [3D physics engine library](https://discourse.processing.org/t/3d-physics-engine-library/12722)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 11:36am UTC](https://discourse.processing.org/t/3d-physics-engine-library/12722 "2019-07-28T11:36:48Z")

</div>

Hello, I am looking for a java library with a 3D physics engine. I‘d like to do a marble track with a marble rolling on it Thanks a lot! Chrisir P.S. Here is an example of how a java library is implemented in proce…

---

## [Advice for making a visual novel game/otome](https://discourse.processing.org/t/advice-for-making-a-visual-novel-game-otome/12918)

<div class="topic-metadata">

**Author:** [@Sweetiefraise](https://discourse.processing.org/u/Sweetiefraise)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 2:11am UTC](https://discourse.processing.org/t/advice-for-making-a-visual-novel-game-otome/12918 "2019-07-28T02:11:56Z")

</div>

I´m really new in programming with processing so I´m searching for tutorials and advice to make a kind of visual novel thing, I´ll be greatful if you could send me some links to help me with this topic, sorry for any mis…

---

## [Correct practice line intersect](https://discourse.processing.org/t/correct-practice-line-intersect/13017)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 4\
**Last updated:** [July 27, 2019, 9:34pm UTC](https://discourse.processing.org/t/correct-practice-line-intersect/13017 "2019-07-27T21:34:31Z")

</div>

I’m trying to replicate a line line intersection algorithm whilst putting my own spin on it. Heres the code in Javascript from (Coding Math - youtube channel) ----- Amazing channel do check it out if you have time!!! N…

---

## [Java problem. Failed to write core dump. Core dumps have been disabled](https://discourse.processing.org/t/java-problem-failed-to-write-core-dump-core-dumps-have-been-disabled/12908)

<div class="topic-metadata">

**Author:** [@ernestbiosca](https://discourse.processing.org/u/ernestbiosca)\
**Replies:** 1\
**Last updated:** [July 27, 2019, 4:26pm UTC](https://discourse.processing.org/t/java-problem-failed-to-write-core-dump-core-dumps-have-been-disabled/12908 "2019-07-27T16:26:49Z")

</div>

Hey, It’s been a year without using processing and now I have a render crash and don’t know what’s happening. It just crash when I touch a knob, with this Java error. A fatal error has been detected by the Java Runtim…

---

## [How can I use Thread() with functions that has inputs](https://discourse.processing.org/t/how-can-i-use-thread-with-functions-that-has-inputs/12964)

<div class="topic-metadata">

**Author:** [@Majorminus](https://discourse.processing.org/u/Majorminus)\
**Replies:** 4\
**Last updated:** [July 27, 2019, 1:35pm UTC](https://discourse.processing.org/t/how-can-i-use-thread-with-functions-that-has-inputs/12964 "2019-07-27T13:35:16Z")

</div>

Hi, I had to run some functions asynchronously and I found a function called “Thread()”. I’ve been using it easily with functions that have no inputs like… void Something(){ } thread("Something"); But I got a probl…

---

## [All content in the Help menu has disappeared](https://discourse.processing.org/t/all-content-in-the-help-menu-has-disappeared/12956)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 3\
**Last updated:** [July 26, 2019, 3:44pm UTC](https://discourse.processing.org/t/all-content-in-the-help-menu-has-disappeared/12956 "2019-07-26T15:44:45Z")

</div>

\[UPDATE: it solved itself… and I’ve no idea why… :wink: \] I’m running Processing 3.5.3 on macOs Mohave 10.14.5 - and all the help stuff under the top level help menu is greyed out and not actionable. Everything else a…

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

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