# Latest

**URL:** https://discourse.processing.org/latest.md?page=460

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

**Page:** 461

---

## [Put Questions with 0 answers on top](https://discourse.processing.org/t/put-questions-with-0-answers-on-top/4802)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 18\
**Last updated:** [August 1, 2019, 4:22am UTC](https://discourse.processing.org/t/put-questions-with-0-answers-on-top/4802 "2019-08-01T04:22:34Z")

</div>

I think it Would be better to have unanswered questions always be at the top, so that questions don‘t just die away unanswered. And if a question is unanswered for more than a week, Even though it was at the top, then ju…

---

## [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(); …

---

## [Youtube Channel Which Makes Beginner Friendly Videos](https://discourse.processing.org/t/youtube-channel-which-makes-beginner-friendly-videos/12958)

<div class="topic-metadata">

**Author:** [@InferNova](https://discourse.processing.org/u/InferNova)\
**Replies:** 13\
**Last updated:** [July 31, 2019, 1:37pm UTC](https://discourse.processing.org/t/youtube-channel-which-makes-beginner-friendly-videos/12958 "2019-07-31T13:37:40Z")

</div>

Hey There! Good people of the forum. For a while now I have had a idea lurking around of starting up a Processing youtube channel. I am thinking about beginner friendly videos. All things evolved around graphical things…

---

## [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…

---

## [Tank Controls Help](https://discourse.processing.org/t/tank-controls-help/13043)

<div class="topic-metadata">

**Author:** [@Samira](https://discourse.processing.org/u/Samira)\
**Replies:** 4\
**Last updated:** [July 29, 2019, 9:17pm UTC](https://discourse.processing.org/t/tank-controls-help/13043 "2019-07-29T21:17:47Z")

</div>

I’m creating a tank for a game I am making. I want the tank to move in the direction it is facing. How can I do that?

---

## [How to get preview in a separate window](https://discourse.processing.org/t/how-to-get-preview-in-a-separate-window/12924)

<div class="topic-metadata">

**Author:** [@Kris1](https://discourse.processing.org/u/Kris1)\
**Replies:** 13\
**Last updated:** [July 29, 2019, 7:52pm UTC](https://discourse.processing.org/t/how-to-get-preview-in-a-separate-window/12924 "2019-07-29T19:52:55Z")

</div>

Hi- Very new user with a basic question- I would like the preview window to open in a separate window from the sketch editor. How do I do this?

---

## [Translation from Processing to p5 not working](https://discourse.processing.org/t/translation-from-processing-to-p5-not-working/13051)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 2\
**Last updated:** [July 29, 2019, 7:22pm UTC](https://discourse.processing.org/t/translation-from-processing-to-p5-not-working/13051 "2019-07-29T19:22:14Z")

</div>

Hi all, I can’t figure out why this isn’t spinning. Any tips? (It works in Processing). var spin; function setup() { createCanvas(400, 400); background(255); } function draw() { } function mouseDragged() { push…

---

## [3D mode creating an offset](https://discourse.processing.org/t/3d-mode-creating-an-offset/13042)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 2\
**Last updated:** [July 29, 2019, 5:24pm UTC](https://discourse.processing.org/t/3d-mode-creating-an-offset/13042 "2019-07-29T17:24:00Z")

</div>

Hello, I’m wondering if anyone can let me know why the rectangle is offset from the mouse by about 300px in the x and y direction? here’s the code: var angle = 0; function setup() { createCanvas(700, 700, WEBGL); …

---

## [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.…

---

## [How to pass non-static variable values?](https://discourse.processing.org/t/how-to-pass-non-static-variable-values/12999)

<div class="topic-metadata">

**Author:** [@Waboqueox](https://discourse.processing.org/u/Waboqueox)\
**Replies:** 2\
**Last updated:** [July 29, 2019, 7:41am UTC](https://discourse.processing.org/t/how-to-pass-non-static-variable-values/12999 "2019-07-29T07:41:04Z")

</div>

Hi there; I’m trying to communicate between an activity and mi sketch, but my sketch always expect static values, ¿is there any trick or mode to pass variable values? Here you have an example: I can do this in the act…

---

## [How to deduce p5.js version?](https://discourse.processing.org/t/how-to-deduce-p5-js-version/12993)

<div class="topic-metadata">

**Author:** [@grege2](https://discourse.processing.org/u/grege2)\
**Replies:** 4\
**Last updated:** [July 29, 2019, 5:54am UTC](https://discourse.processing.org/t/how-to-deduce-p5-js-version/12993 "2019-07-29T05:54:41Z")

</div>

This is a rhetorical question, I have already solved it. I thought I’d publish my method. I’ve proposed to p5.js on more than one occasion that an accessible release number would be useful, but they seem very reluctant …

---

## [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…

---

## [Prevent p5.dom.js input widget generating keyPressed() events](https://discourse.processing.org/t/prevent-p5-dom-js-input-widget-generating-keypressed-events/13019)

<div class="topic-metadata">

**Author:** [@grege2](https://discourse.processing.org/u/grege2)\
**Replies:** 3\
**Last updated:** [July 28, 2019, 11:44pm UTC](https://discourse.processing.org/t/prevent-p5-dom-js-input-widget-generating-keypressed-events/13019 "2019-07-28T23:44:35Z")

</div>

Ciao tutti. I’m using a p5.dom.js “input” widget to get some text input, but each character entered generates a call to keyPressed(). I only want to action the input when CR is typed at the end. Example at: https://edito…

---

## [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…

---

## [Web Editor says there's an error. I think it fibs!](https://discourse.processing.org/t/web-editor-says-theres-an-error-i-think-it-fibs/13025)

<div class="topic-metadata">

**Author:** [@mbrasseau](https://discourse.processing.org/u/mbrasseau)\
**Replies:** 8\
**Last updated:** [July 28, 2019, 8:49pm UTC](https://discourse.processing.org/t/web-editor-says-theres-an-error-i-think-it-fibs/13025 "2019-07-28T20:49:48Z")

</div>

I’m using the p5.js Web Editor. I wrote this function that draws a star. function star(paintBrush.x, paintBrush.y) { stroke(69, 33, 5); fill(255, 255, 0); ellipse(paintBrush.x, paintBrush.y, 15, 15); line(paint…

---

## [\[SOLVED\] Command Line Arguments Width and Height](https://discourse.processing.org/t/solved-command-line-arguments-width-and-height/12985)

<div class="topic-metadata">

**Author:** [@figraham](https://discourse.processing.org/u/figraham)\
**Replies:** 1\
**Last updated:** [July 28, 2019, 6:53pm UTC](https://discourse.processing.org/t/solved-command-line-arguments-width-and-height/12985 "2019-07-28T18:53:02Z")

</div>

It took me a while to figure out how to run a processing sketch with a size defined by the command line arguments so I thought I’d share the solution I came up with. If someone has suggestions to make this more streamlin…

---

## [\[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. …

[Previous page](https://discourse.processing.org/latest.md?page=459)

[Next page](https://discourse.processing.org/latest.md?page=461)
