# Processing

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

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

**Page:** 122

---

## [Report Number of Key Clicks During Timer](https://discourse.processing.org/t/report-number-of-key-clicks-during-timer/31364)

<div class="topic-metadata">

**Author:** [@BruceTheWayneJohnson](https://discourse.processing.org/u/BruceTheWayneJohnson)\
**Replies:** 3\
**Last updated:** [July 21, 2021, 8:37pm UTC](https://discourse.processing.org/t/report-number-of-key-clicks-during-timer/31364 "2021-07-21T20:37:03Z")

</div>

I am currently trying to get my program to print how many times ‘a’ is pressed while the timer counts to 2000ms. So far, all I can get printed is some wildly larger number than how many times I pressed ‘a’. It says anyw…

---

## [How to hide the sketch window and the task bar icon?](https://discourse.processing.org/t/how-to-hide-the-sketch-window-and-the-task-bar-icon/4901)

<div class="topic-metadata">

**Author:** [@YSL](https://discourse.processing.org/u/YSL)\
**Replies:** 4\
**Last updated:** [September 15, 2020, 10:01am UTC](https://discourse.processing.org/t/how-to-hide-the-sketch-window-and-the-task-bar-icon/4901 "2020-09-15T10:01:49Z")

</div>

How can I hide the sketch window entirely, including the taskbar icon? Currently, I can create a TrayIcon and call surface.setVisible(false) to hide the window when I need to, but the taskbar icon is still there. How can…

---

## [How can I calculate audio Decibels?](https://discourse.processing.org/t/how-can-i-calculate-audio-decibels/31248)

<div class="topic-metadata">

**Author:** [@ankur](https://discourse.processing.org/u/ankur)\
**Replies:** 2\
**Last updated:** [July 21, 2021, 2:48pm UTC](https://discourse.processing.org/t/how-can-i-calculate-audio-decibels/31248 "2021-07-21T14:48:41Z")

</div>

How can I calculate audio in Decibels using Processing on Java Mode.?

---

## [How to share my sketches in Processing publicly or to save the gifs produced by it using Processing Desktop IDE?](https://discourse.processing.org/t/how-to-share-my-sketches-in-processing-publicly-or-to-save-the-gifs-produced-by-it-using-processing-desktop-ide/31350)

<div class="topic-metadata">

**Author:** [@ShenpaiSharma](https://discourse.processing.org/u/ShenpaiSharma)\
**Replies:** 5\
**Last updated:** [July 21, 2021, 1:55pm UTC](https://discourse.processing.org/t/how-to-share-my-sketches-in-processing-publicly-or-to-save-the-gifs-produced-by-it-using-processing-desktop-ide/31350 "2021-07-21T13:55:38Z")

</div>

I want to share my sketches with other people or create a link to the sketch to be accessible to anyone. Is it possible to do it?

---

## [Comparing sound](https://discourse.processing.org/t/comparing-sound/31355)

<div class="topic-metadata">

**Author:** [@ctremblay](https://discourse.processing.org/u/ctremblay)\
**Replies:** 0\
**Last updated:** [July 21, 2021, 3:40am UTC](https://discourse.processing.org/t/comparing-sound/31355 "2021-07-21T03:40:50Z")

</div>

I’m trying to make my own translator. I know I know there probably hundreds of thousands out there, so can we skip all that. OK now that we got that outta the way I need to know how do i compare sounds in processing is t…

---

## [Processing 4.0 alpha 6 available!](https://discourse.processing.org/t/processing-4-0-alpha-6-available/31172)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 7\
**Last updated:** [July 20, 2021, 7:01pm UTC](https://discourse.processing.org/t/processing-4-0-alpha-6-available/31172 "2021-07-20T19:01:37Z")

</div>

Looking good @ProcessingOrg ! :)

---

## [Letting the User Set String (Save As... Dialog)](https://discourse.processing.org/t/letting-the-user-set-string-save-as-dialog/31321)

<div class="topic-metadata">

**Author:** [@dtools22](https://discourse.processing.org/u/dtools22)\
**Replies:** 8\
**Last updated:** [July 20, 2021, 3:26pm UTC](https://discourse.processing.org/t/letting-the-user-set-string-save-as-dialog/31321 "2021-07-20T15:26:58Z")

</div>

Hello, I am writing a program that contains a “save file” mechanic to it. What I want to do is offer the user of the program a chance to name the save file to whatever they wish. I believe I understand the gist of the …

---

## [Can't understand why noLoop() is acting strange](https://discourse.processing.org/t/cant-understand-why-noloop-is-acting-strange/31322)

<div class="topic-metadata">

**Author:** [@acagastya](https://discourse.processing.org/u/acagastya)\
**Replies:** 6\
**Last updated:** [July 20, 2021, 10:45am UTC](https://discourse.processing.org/t/cant-understand-why-noloop-is-acting-strange/31322 "2021-07-20T10:45:33Z")

</div>

Hi, please consider this code https://dpaste.com/4NTYQ8UP7. I cannot seem to understand why line 57-59 is causing the render to stop completely. I want the draw() to stop right when the sound is over, but can’t seem to…

---

## [How to non linear iterator](https://discourse.processing.org/t/how-to-non-linear-iterator/31235)

<div class="topic-metadata">

**Author:** [@goldorak](https://discourse.processing.org/u/goldorak)\
**Replies:** 8\
**Last updated:** [July 20, 2021, 9:22am UTC](https://discourse.processing.org/t/how-to-non-linear-iterator/31235 "2021-07-20T09:22:28Z")

</div>

Hi, Instead of iterating through my loop with a classic iterator (when I say classic I mean iterating the loop using a fixed value with something like += 20). I would like to iterate with a value which is increasing or…

---

## [PShape vertice are not actually joined](https://discourse.processing.org/t/pshape-vertice-are-not-actually-joined/31201)

<div class="topic-metadata">

**Author:** [@Eamoex](https://discourse.processing.org/u/Eamoex)\
**Replies:** 2\
**Last updated:** [July 19, 2021, 8:52am UTC](https://discourse.processing.org/t/pshape-vertice-are-not-actually-joined/31201 "2021-07-19T08:52:16Z")

</div>

Hi, I’m using PShape to draw an open path called pth. I add a certain number of vertex(int x, int y), then shape(pth) into a PDF to edit in Illustrator for path simplification and appearance rework. My problem: the resul…

---

## [Writing a script to setup dylibs](https://discourse.processing.org/t/writing-a-script-to-setup-dylibs/31314)

<div class="topic-metadata">

**Author:** [@bananana](https://discourse.processing.org/u/bananana)\
**Replies:** 1\
**Last updated:** [July 18, 2021, 11:43pm UTC](https://discourse.processing.org/t/writing-a-script-to-setup-dylibs/31314 "2021-07-18T23:43:30Z")

</div>

I have a library that i’m using which needs a specific dylib and a some symlinks installed /usr/local/lib/ I want to make an easy to use script that people can run to make sure they have the correct settings without hav…

---

## [No data sent or shown via OSC to Processing from Muse 2](https://discourse.processing.org/t/no-data-sent-or-shown-via-osc-to-processing-from-muse-2/31283)

<div class="topic-metadata">

**Author:** [@teemee](https://discourse.processing.org/u/teemee)\
**Replies:** 1\
**Last updated:** [July 18, 2021, 7:21pm UTC](https://discourse.processing.org/t/no-data-sent-or-shown-via-osc-to-processing-from-muse-2/31283 "2021-07-18T19:21:42Z")

</div>

I am working with the Muse 2, the brain wave detector, which can send the EEG via OSC. And I am using the Mind-Monitor app to monitor data and send it via OSC. So I’m testing the data from this example Example Code I’m …

---

## [Can’t output gcode properly](https://discourse.processing.org/t/can-t-output-gcode-properly/31273)

<div class="topic-metadata">

**Author:** [@kevin123](https://discourse.processing.org/u/kevin123)\
**Replies:** 3\
**Last updated:** [July 18, 2021, 2:03pm UTC](https://discourse.processing.org/t/can-t-output-gcode-properly/31273 "2021-07-18T14:03:21Z")

</div>

I have problem that my g code execution too fast,it should read the next line until the current line completes but it didn’t. I had add some pause function but it seems not work well. It still skip the line. I use ardu…

---

## [Random position subordinated to random positions](https://discourse.processing.org/t/random-position-subordinated-to-random-positions/31302)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 7\
**Last updated:** [July 18, 2021, 2:09pm UTC](https://discourse.processing.org/t/random-position-subordinated-to-random-positions/31302 "2021-07-18T14:09:26Z")

</div>

hi there! I want to use random function to give this blocks random positions in that canvas, but I really don’t know how to do it. I can make the pink one has y valor between 0 and 500: rect(0,random(0,500),900,400); but…

---

## [Processing Onscreen D-Pad to Move Character (buttons)](https://discourse.processing.org/t/processing-onscreen-d-pad-to-move-character-buttons/31306)

<div class="topic-metadata">

**Author:** [@NerdyBoy](https://discourse.processing.org/u/NerdyBoy)\
**Replies:** 5\
**Last updated:** [July 18, 2021, 12:59pm UTC](https://discourse.processing.org/t/processing-onscreen-d-pad-to-move-character-buttons/31306 "2021-07-18T12:59:00Z")

</div>

Good Afternoon! Everyone, Im currently working on a game and I have been all over the internet looking for footage on how to program a Onscreen ( Directional-Pad Button(s) ) using the Processing Library! And when l tel…

---

## [Privacy - Misleading text in preferences](https://discourse.processing.org/t/privacy-misleading-text-in-preferences/31303)

<div class="topic-metadata">

**Author:** [@soegaard](https://discourse.processing.org/u/soegaard)\
**Replies:** 3\
**Last updated:** [July 17, 2021, 11:50pm UTC](https://discourse.processing.org/t/privacy-misleading-text-in-preferences/31303 "2021-07-17T23:50:23Z")

</div>

The Processing preferences allows the user to allow/disallow update checking. However, ticking the box allows not only allows update checking, but also sends information on installed libraries, modes, and tools. Alt…

---

## [This simple sketch runs much faster on p5.js (60fps) than Processing/Java (5fps)](https://discourse.processing.org/t/this-simple-sketch-runs-much-faster-on-p5-js-60fps-than-processing-java-5fps/31300)

<div class="topic-metadata">

**Author:** [@mojinovi](https://discourse.processing.org/u/mojinovi)\
**Replies:** 6\
**Last updated:** [July 17, 2021, 7:42pm UTC](https://discourse.processing.org/t/this-simple-sketch-runs-much-faster-on-p5-js-60fps-than-processing-java-5fps/31300 "2021-07-17T19:42:12Z")

</div>

Hello all, I’m a total beginner in Processing and casual developper, so sorry if this obvious… I’m working on a simple sketch that I initially coded on p5.js and I want now to play it in processing. I expected to have…

---

## [Avoiding self intersection for 3d spline-tube](https://discourse.processing.org/t/avoiding-self-intersection-for-3d-spline-tube/31285)

<div class="topic-metadata">

**Author:** [@dehyde](https://discourse.processing.org/u/dehyde)\
**Replies:** 2\
**Last updated:** [July 17, 2021, 3:53pm UTC](https://discourse.processing.org/t/avoiding-self-intersection-for-3d-spline-tube/31285 "2021-07-17T15:53:48Z")

</div>

Hi I’m trying to create a curved 3d tube using Shapes3d library. The shape of the spline is done randomly using PVectors: for (int i=0; i\<complexity; i++){ knots\[i\] = new PVector(random(-2,2)\*300,random(-2,2)\*3…

---

## [Save() to export pictures](https://discourse.processing.org/t/save-to-export-pictures/31301)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 0\
**Last updated:** [July 17, 2021, 1:45pm UTC](https://discourse.processing.org/t/save-to-export-pictures/31301 "2021-07-17T13:45:51Z")

</div>

Hi there! I am trying to save the picture that my sketch has done but I can not do it. I use save() but when I go to the folder of my sketch in my android phone I don’t find it. Can you please help me? void setup() { …

---

## [Issue with image() and beginRecord(SVG)](https://discourse.processing.org/t/issue-with-image-and-beginrecord-svg/31118)

<div class="topic-metadata">

**Author:** [@TomD](https://discourse.processing.org/u/TomD)\
**Replies:** 2\
**Last updated:** [July 17, 2021, 12:38pm UTC](https://discourse.processing.org/t/issue-with-image-and-beginrecord-svg/31118 "2021-07-17T12:38:42Z")

</div>

Hi there :wave: I am having an issue with image() loading a PGraphics object and SVG beginRecord(). I am running windows Processing 3.5.4 If beginRecord() is commented out in setup() my code runs without issue. If be…

---

## [How to go from Functions to Objects?](https://discourse.processing.org/t/how-to-go-from-functions-to-objects/31275)

<div class="topic-metadata">

**Author:** [@CosmicCrowMC](https://discourse.processing.org/u/CosmicCrowMC)\
**Replies:** 6\
**Last updated:** [July 17, 2021, 7:39am UTC](https://discourse.processing.org/t/how-to-go-from-functions-to-objects/31275 "2021-07-17T07:39:11Z")

</div>

I’ve read the PShape tutorial article, specifically about Retained Mode with a Custom PShape Class, and looked at the accompanying examples, but I can’t wrap my head around any of it. I’ve avoided Object-Oriented Program…

---

## [Need Game Idea help (ground mechanics already there)](https://discourse.processing.org/t/need-game-idea-help-ground-mechanics-already-there/31168)

<div class="topic-metadata">

**Author:** [@Flolo](https://discourse.processing.org/u/Flolo)\
**Replies:** 4\
**Last updated:** [July 16, 2021, 10:20pm UTC](https://discourse.processing.org/t/need-game-idea-help-ground-mechanics-already-there/31168 "2021-07-16T22:20:47Z")

</div>

Hey I want to build a little game for a pc. I already have the ground mechanics and now I dont have any Idea what the target of the game should be. So have you some Ideas? Thank you in andvance :smiley: Here is the c…

---

## [Updating processing and how to do it properly (removing old version while keeping projects)](https://discourse.processing.org/t/updating-processing-and-how-to-do-it-properly-removing-old-version-while-keeping-projects/31195)

<div class="topic-metadata">

**Author:** [@whhyyy123](https://discourse.processing.org/u/whhyyy123)\
**Replies:** 6\
**Last updated:** [July 16, 2021, 6:23pm UTC](https://discourse.processing.org/t/updating-processing-and-how-to-do-it-properly-removing-old-version-while-keeping-projects/31195 "2021-07-16T18:23:02Z")

</div>

Hi! I have a super simple question… I saw this post from the old forum but had more questions. I am kinda new to processing (but not coding). I currently have java processing 3.4 (revision 0265) but have not opened it…

---

## [Object Following A Moving Bezier Graph](https://discourse.processing.org/t/object-following-a-moving-bezier-graph/30598)

<div class="topic-metadata">

**Author:** [@Nick76](https://discourse.processing.org/u/Nick76)\
**Replies:** 22\
**Last updated:** [July 16, 2021, 1:24pm UTC](https://discourse.processing.org/t/object-following-a-moving-bezier-graph/30598 "2021-07-16T13:24:05Z")

</div>

Hi everybody, I am trying to make an object follow a curved path (representing a breathing ratio). The object is centred on the x-axis, however, should dynamically adjust its y-position to match/stay on the path, which …

---

## [PShader/PeasyCam texture not rotating](https://discourse.processing.org/t/pshader-peasycam-texture-not-rotating/31224)

<div class="topic-metadata">

**Author:** [@mnse](https://discourse.processing.org/u/mnse)\
**Replies:** 3\
**Last updated:** [July 16, 2021, 10:29am UTC](https://discourse.processing.org/t/pshader-peasycam-texture-not-rotating/31224 "2021-07-16T10:29:01Z")

</div>

Hi, I’ve a simple processing sketch which should use a shader to texture a sphere and use peasycam for rotation. if running the sketch the texture is applied quite well, but it doesn’t apply the rotation. Has anyone an …

---

## [JBox2d. Step function crashes when destroying a body](https://discourse.processing.org/t/jbox2d-step-function-crashes-when-destroying-a-body/31255)

<div class="topic-metadata">

**Author:** [@Pipo](https://discourse.processing.org/u/Pipo)\
**Replies:** 1\
**Last updated:** [July 16, 2021, 8:27am UTC](https://discourse.processing.org/t/jbox2d-step-function-crashes-when-destroying-a-body/31255 "2021-07-16T08:27:42Z")

</div>

Hi every one! I’m starting with JBox2d, with the help of the book Nature of Code, by Daniel Shiffman. Currently I´m making a sketch where boxes appear on the screen when you click the mouse an they just fall. The thing…

---

## [Formatting processing in VS Code with Red Hat](https://discourse.processing.org/t/formatting-processing-in-vs-code-with-red-hat/31276)

<div class="topic-metadata">

**Author:** [@DonaldZhu](https://discourse.processing.org/u/DonaldZhu)\
**Replies:** 0\
**Last updated:** [July 16, 2021, 2:20am UTC](https://discourse.processing.org/t/formatting-processing-in-vs-code-with-red-hat/31276 "2021-07-16T02:20:36Z")

</div>

Hi, I have recently tried using VS Code for processing, but realized there’s no proper formatter for the language. In this issue in TobiahZ’s processing extension, he mentioned that one could use the Red Hat Java extensi…

---

## [How can I stretch letters individually?](https://discourse.processing.org/t/how-can-i-stretch-letters-individually/31247)

<div class="topic-metadata">

**Author:** [@tommyba](https://discourse.processing.org/u/tommyba)\
**Replies:** 1\
**Last updated:** [July 16, 2021, 12:14am UTC](https://discourse.processing.org/t/how-can-i-stretch-letters-individually/31247 "2021-07-16T00:14:59Z")

</div>

PGraphics letters; PGraphics letters2; PGraphics letters3; PGraphics letters4; PGraphics letters5; PGraphics letters6; void setup() { size(5000, 5000); letters = createGraphics(width, height); letters2 = createG…

---

## [Help on a console project](https://discourse.processing.org/t/help-on-a-console-project/31257)

<div class="topic-metadata">

**Author:** [@Ironbatman1](https://discourse.processing.org/u/Ironbatman1)\
**Replies:** 10\
**Last updated:** [July 15, 2021, 6:03pm UTC](https://discourse.processing.org/t/help-on-a-console-project/31257 "2021-07-15T18:03:28Z")

</div>

Hello!!! so I’ve been working on making a console using processing, I’m making it similar to windows terminal or Linux bash command line. but I’m having a bit of an issue with getting what you previously typed to slowly …

---

## [Data from Muse 2 Headband into Processing](https://discourse.processing.org/t/data-from-muse-2-headband-into-processing/31240)

<div class="topic-metadata">

**Author:** [@marianne91](https://discourse.processing.org/u/marianne91)\
**Replies:** 1\
**Last updated:** [July 15, 2021, 2:52pm UTC](https://discourse.processing.org/t/data-from-muse-2-headband-into-processing/31240 "2021-07-15T14:52:49Z")

</div>

Hi there! Just looking for anyone with advice/info from anyone who may have used a Muse 2 Headband to send data into Processing - and best advice on how to do this? (Muse 2: Brain Sensing Headband - Technology Enhanced …

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

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