# Latest

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

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

**Page:** 207

---

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

---

## [How to simulate overlapping/blocking of objects](https://discourse.processing.org/t/how-to-simulate-overlapping-blocking-of-objects/31204)

<div class="topic-metadata">

**Author:** [@slashwreck](https://discourse.processing.org/u/slashwreck)\
**Replies:** 5\
**Last updated:** [July 18, 2021, 7:51pm UTC](https://discourse.processing.org/t/how-to-simulate-overlapping-blocking-of-objects/31204 "2021-07-18T19:51:45Z")

</div>

Have a simple script that draws some overlapping noisy polygons. When you fill the polygons, the resulting shape looks like a rough cylinder, because the ‘behind’ parts of the polygons are obscured. But when I sen…

---

## [P5.js logo collage](https://discourse.processing.org/t/p5-js-logo-collage/31258)

<div class="topic-metadata">

**Author:** [@javagar](https://discourse.processing.org/u/javagar)\
**Replies:** 2\
**Last updated:** [July 18, 2021, 7:44pm UTC](https://discourse.processing.org/t/p5-js-logo-collage/31258 "2021-07-18T19:44:25Z")

</div>

This is a collage of images of the p5.js logo. It is a fractal, rendered recursively by p5.js code. The recursive case consists of a Collage object composed of a rectangle and four smaller Collage objects, each of w…

---

## [P5js AudioIn function not working on instance mode](https://discourse.processing.org/t/p5js-audioin-function-not-working-on-instance-mode/31179)

<div class="topic-metadata">

**Author:** [@Seriously](https://discourse.processing.org/u/Seriously)\
**Replies:** 1\
**Last updated:** [July 18, 2021, 7:41pm UTC](https://discourse.processing.org/t/p5js-audioin-function-not-working-on-instance-mode/31179 "2021-07-18T19:41:16Z")

</div>

I was converting my p5js code to instance mode to run 2 canvases in the same DOM but my p5.AudioIn() function is not working. The error I get is referencing Failed to construct 'AudioWorkletNode' . I have uploaded a scre…

---

## [How to hire hourly P5.js help?](https://discourse.processing.org/t/how-to-hire-hourly-p5-js-help/31253)

<div class="topic-metadata">

**Author:** [@sethpkendall](https://discourse.processing.org/u/sethpkendall)\
**Replies:** 1\
**Last updated:** [July 18, 2021, 7:29pm UTC](https://discourse.processing.org/t/how-to-hire-hourly-p5-js-help/31253 "2021-07-18T19:29:12Z")

</div>

Hi, I have integrated P5.js into my React.js web application project in a small way right now and I love it. I want to use it in a couple more ways in the project and to really shine up the interfaces that use P5.js. The…

---

## [\[p5.js Sound\] Setting time between which amp.getLevel returns values](https://discourse.processing.org/t/p5-js-sound-setting-time-between-which-amp-getlevel-returns-values/31297)

<div class="topic-metadata">

**Author:** [@acagastya](https://discourse.processing.org/u/acagastya)\
**Replies:** 1\
**Last updated:** [July 18, 2021, 7:24pm UTC](https://discourse.processing.org/t/p5-js-sound-setting-time-between-which-amp-getlevel-returns-values/31297 "2021-07-18T19:24:14Z")

</div>

Hi, I am trying to get the amplitude of an audio file, to render something similar to the attached screenshot. I want to show the amp every 100ms only. If I understand correctly, amp.getLevel is called every time a n…

---

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

---

## [Problem with Stroke Transparency in Plotting Points](https://discourse.processing.org/t/problem-with-stroke-transparency-in-plotting-points/31313)

<div class="topic-metadata">

**Author:** [@javagar](https://discourse.processing.org/u/javagar)\
**Replies:** 4\
**Last updated:** [July 18, 2021, 11:05am UTC](https://discourse.processing.org/t/problem-with-stroke-transparency-in-plotting-points/31313 "2021-07-18T11:05:30Z")

</div>

I have encountered a problem with the alpha color component when experimenting with plotting points to represent Collatz orbits. See Wikipedia: Collatz conjecture. This code does what is expected: # plots Collatz orbit…

---

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

---

## [Display Issue - Same sketch displays diff on diff computers](https://discourse.processing.org/t/display-issue-same-sketch-displays-diff-on-diff-computers/31305)

<div class="topic-metadata">

**Author:** [@BigBigRed](https://discourse.processing.org/u/BigBigRed)\
**Replies:** 6\
**Last updated:** [July 17, 2021, 10:10pm UTC](https://discourse.processing.org/t/display-issue-same-sketch-displays-diff-on-diff-computers/31305 "2021-07-17T22:10:58Z")

</div>

I have a p5js sketch that displays differently on my desktop computer than on my laptop computer. The problem apparently comes from from the graphic(s) named Mandlebrot. On the laptop computer, the image for mandleb…

---

## [Exporting picture with Android App](https://discourse.processing.org/t/exporting-picture-with-android-app/31277)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 7\
**Last updated:** [July 17, 2021, 8:14pm UTC](https://discourse.processing.org/t/exporting-picture-with-android-app/31277 "2021-07-17T20:14:55Z")

</div>

Hi there! I am using processing android app, can you please tell me how to export a the images that I create with the code? Thanks!

---

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

---

## [Is it possible to make something like this in Processing? Are there any better alternatives? (Painting in AR)](https://discourse.processing.org/t/is-it-possible-to-make-something-like-this-in-processing-are-there-any-better-alternatives-painting-in-ar/31291)

<div class="topic-metadata">

**Author:** [@waldo1](https://discourse.processing.org/u/waldo1)\
**Replies:** 1\
**Last updated:** [July 17, 2021, 2:38pm UTC](https://discourse.processing.org/t/is-it-possible-to-make-something-like-this-in-processing-are-there-any-better-alternatives-painting-in-ar/31291 "2021-07-17T14:38:45Z")

</div>

My idea is to make an app that lets you paint in AR on a virtual 2D canvas. Kind of like this app, but on a single plane and 2D: https://play.google.com/store/apps/details?id=com.vaytricks.PaintDrawAR I also want the br…

---

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

---

## [Breathing Data (how to determine & calculate inhale/exhale duration)](https://discourse.processing.org/t/breathing-data-how-to-determine-calculate-inhale-exhale-duration/31278)

<div class="topic-metadata">

**Author:** [@Nick76](https://discourse.processing.org/u/Nick76)\
**Replies:** 2\
**Last updated:** [July 17, 2021, 11:38am UTC](https://discourse.processing.org/t/breathing-data-how-to-determine-calculate-inhale-exhale-duration/31278 "2021-07-17T11:38:17Z")

</div>

Hi everybody, I’m currently working on a project in which I use a breath-belt (arduino+stretch sensor attached around the chest) to capture the breathing patterns of a user. The data is transferred and integrated into t…

---

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

---

## [Drawing images with the image function seems to be very slow](https://discourse.processing.org/t/drawing-images-with-the-image-function-seems-to-be-very-slow/31031)

<div class="topic-metadata">

**Author:** [@modusponens](https://discourse.processing.org/u/modusponens)\
**Replies:** 7\
**Last updated:** [July 15, 2021, 8:26pm UTC](https://discourse.processing.org/t/drawing-images-with-the-image-function-seems-to-be-very-slow/31031 "2021-07-15T20:26:18Z")

</div>

I’m trying to write a game engine using p5, but I’ve hit a huge snag: unless I’m doing something wrong (which is definitely possible), the image function seems really slow. If I call it even just about 40 or 50 times per…

---

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

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

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