# Latest

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

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

**Page:** 48

---

## [Reducing points in polygon](https://discourse.processing.org/t/reducing-points-in-polygon/13590)

<div class="topic-metadata">

**Author:** [@jeffthompson](https://discourse.processing.org/u/jeffthompson)\
**Replies:** 6\
**Last updated:** [February 19, 2024, 4:07am UTC](https://discourse.processing.org/t/reducing-points-in-polygon/13590 "2024-02-19T04:07:53Z")

</div>

I’ve been working with this example code over on the old forum, which reduces the number of points in a polygon using the Ramer-Douglas-Peucker algorithm. It works great for my purposes, but for one weird thing: it creat…

---

## [Images failing to fetch in p5.js web editor, but only on specific browsers](https://discourse.processing.org/t/images-failing-to-fetch-in-p5-js-web-editor-but-only-on-specific-browsers/43227)

<div class="topic-metadata">

**Author:** [@pstephan4](https://discourse.processing.org/u/pstephan4)\
**Replies:** 5\
**Last updated:** [February 19, 2024, 12:02am UTC](https://discourse.processing.org/t/images-failing-to-fetch-in-p5-js-web-editor-but-only-on-specific-browsers/43227 "2024-02-19T00:02:16Z")

</div>

I am a teacher and have noticed this issue repeatedly: several students will run a project with images and only one will get an error that says “couldn’t fetch”. The students are all working from a duplicated starter fil…

---

## [Lerp flow field and attractor](https://discourse.processing.org/t/lerp-flow-field-and-attractor/43934)

<div class="topic-metadata">

**Author:** [@Leo\_Aguiar](https://discourse.processing.org/u/Leo_Aguiar)\
**Replies:** 1\
**Last updated:** [February 18, 2024, 4:44pm UTC](https://discourse.processing.org/t/lerp-flow-field-and-attractor/43934 "2024-02-18T16:44:47Z")

</div>

Hello forum, I am looking for help on an issue where only one object is being affected by an attractor. I am building on top of different tutorials I have found on YouTube. The sketch basically has a noise field that is …

---

## [Gl\_clamp\_to\_border](https://discourse.processing.org/t/gl-clamp-to-border/43933)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 0\
**Last updated:** [February 17, 2024, 10:22pm UTC](https://discourse.processing.org/t/gl-clamp-to-border/43933 "2024-02-17T22:22:51Z")

</div>

I needed GL\_CLAMP\_TO\_BORDER to work and I thought I share it since it might help someone (me?) in the future. package glsl\_blobscanner; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer…

---

## [Failed To Fetch Error](https://discourse.processing.org/t/failed-to-fetch-error/43027)

<div class="topic-metadata">

**Author:** [@eharkins](https://discourse.processing.org/u/eharkins)\
**Replies:** 11\
**Last updated:** [February 17, 2024, 6:43pm UTC](https://discourse.processing.org/t/failed-to-fetch-error/43027 "2024-02-17T18:43:22Z")

</div>

I am a teacher of a beginning coding class in P5 and our class project is to create a themed Maze Game with all the typical features of a maze. Since the students need to pick a theme, I’ve asked them to upload and displ…

---

## [Unable to export signed apk due to default app name](https://discourse.processing.org/t/unable-to-export-signed-apk-due-to-default-app-name/43911)

<div class="topic-metadata">

**Author:** [@bugrope](https://discourse.processing.org/u/bugrope)\
**Replies:** 17\
**Last updated:** [February 17, 2024, 1:04am UTC](https://discourse.processing.org/t/unable-to-export-signed-apk-due-to-default-app-name/43911 "2024-02-17T01:04:36Z")

</div>

Hi all, A few years ago I launched an app on the Google Play store using Processing. I wasn’t worried about the name so it ended up with the name processing.test.bugrope. This doesn’t worry me, the issue is that in an u…

---

## [How to export from Word to Processing](https://discourse.processing.org/t/how-to-export-from-word-to-processing/43831)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 4\
**Last updated:** [February 16, 2024, 9:16pm UTC](https://discourse.processing.org/t/how-to-export-from-word-to-processing/43831 "2024-02-16T21:16:51Z")

</div>

Hello all, I exported a Word Document to a text document. When I load the text document in processing though, special signs such as äöü are destroyed. Since my question: How to export from word to processing? I use A…

---

## [P5.js Using Shaders with FrameBuffers](https://discourse.processing.org/t/p5-js-using-shaders-with-framebuffers/43874)

<div class="topic-metadata">

**Author:** [@prontopablo](https://discourse.processing.org/u/prontopablo)\
**Replies:** 3\
**Last updated:** [February 16, 2024, 10:58am UTC](https://discourse.processing.org/t/p5-js-using-shaders-with-framebuffers/43874 "2024-02-16T10:58:56Z")

</div>

Hi all! I’m trying to use p5.js framebuffers with shaders. I have had success with other shaders but this threshold shader and a few other similar ones I have only work for a moment and then the screen fades to black. I…

---

## [Numpad keycodes are acting weird?](https://discourse.processing.org/t/numpad-keycodes-are-acting-weird/43917)

<div class="topic-metadata">

**Author:** [@Edenstudent](https://discourse.processing.org/u/Edenstudent)\
**Replies:** 5\
**Last updated:** [February 16, 2024, 7:28am UTC](https://discourse.processing.org/t/numpad-keycodes-are-acting-weird/43917 "2024-02-16T07:28:48Z")

</div>

So, I know that the keyCodes are different for the numpad and that they actually if you have NumLock on or off. I have a little program that gets the numbers for me: void setup() { } void draw() { } void keyPressed() …

---

## [Getting the window position in P2D](https://discourse.processing.org/t/getting-the-window-position-in-p2d/43543)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 3\
**Last updated:** [February 15, 2024, 6:59am UTC](https://discourse.processing.org/t/getting-the-window-position-in-p2d/43543 "2024-02-15T06:59:14Z")

</div>

Hello :slight\_smile: I want to get the window position of a window to if the window is offscreen correct it & correctly implement 3d movement (rotation with mouse). However, the versions i saw don’t work on P2D, P3D or …

---

## [How to make bitmap editor (plot a family tree)](https://discourse.processing.org/t/how-to-make-bitmap-editor-plot-a-family-tree/43769)

<div class="topic-metadata">

**Author:** [@lennartd](https://discourse.processing.org/u/lennartd)\
**Replies:** 22\
**Last updated:** [February 14, 2024, 1:12am UTC](https://discourse.processing.org/t/how-to-make-bitmap-editor-plot-a-family-tree/43769 "2024-02-14T01:12:22Z")

</div>

… to show as dots ancestors found in family tree, that is a 2D rendering of the entire tree using a dot for each ancestor. Black dots on white canvas. →

---

## [How to move an image (without redrawing it)](https://discourse.processing.org/t/how-to-move-an-image-without-redrawing-it/43875)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 19\
**Last updated:** [February 14, 2024, 3:23am UTC](https://discourse.processing.org/t/how-to-move-an-image-without-redrawing-it/43875 "2024-02-14T03:23:12Z")

</div>

I want to load a large image (PImage img;), change some of the pixels, move the image horizontally or vertically, change some more pixels, move the image again, and so on… This should be easy, but I can’t find a way to …

---

## [Mipmaps in OpenGL](https://discourse.processing.org/t/mipmaps-in-opengl/42315)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 2\
**Last updated:** [February 13, 2024, 8:18pm UTC](https://discourse.processing.org/t/mipmaps-in-opengl/42315 "2024-02-13T20:18:52Z")

</div>

I have the following image: And the following sketch: PImage img; PGraphics big; PGraphics small; boolean from\_big\_pg = true; void setup() { size(320, 180, P2D); img = loadImage("big.png"); big = createGraph…

---

## [Reaction Diffusion Shader Implementation (problems)](https://discourse.processing.org/t/reaction-diffusion-shader-implementation-problems/43879)

<div class="topic-metadata">

**Author:** [@JorgeRando](https://discourse.processing.org/u/JorgeRando)\
**Replies:** 7\
**Last updated:** [February 12, 2024, 9:38pm UTC](https://discourse.processing.org/t/reaction-diffusion-shader-implementation-problems/43879 "2024-02-12T21:38:44Z")

</div>

Hi there! I’m working on an implementation of the well-known reaction-diffusion model with p5 shaders. However, I’m experiencing issues because the model seems to work, but after a few iterations, it gets stuck and stops…

---

## [ASCII special characters \[Solved\]](https://discourse.processing.org/t/ascii-special-characters-solved/43887)

<div class="topic-metadata">

**Author:** [@salvalnx](https://discourse.processing.org/u/salvalnx)\
**Replies:** 3\
**Last updated:** [February 12, 2024, 8:54am UTC](https://discourse.processing.org/t/ascii-special-characters-solved/43887 "2024-02-12T08:54:56Z")

</div>

Hello everyone I’m trying to make a graph in which I want to include text. I want that text to have the character PI (π) and some of a plot like these: ▒ The problem is that when I run it it does not recognize those ch…

---

## [String art in Processing. What I've got so far. SOLVED](https://discourse.processing.org/t/string-art-in-processing-what-ive-got-so-far-solved/43886)

<div class="topic-metadata">

**Author:** [@Matty27](https://discourse.processing.org/u/Matty27)\
**Replies:** 2\
**Last updated:** [February 11, 2024, 5:54pm UTC](https://discourse.processing.org/t/string-art-in-processing-what-ive-got-so-far-solved/43886 "2024-02-11T17:54:14Z")

</div>

Good afternoon all. I’m trying to use processing to create some “string art”, which is overlapping lines that form curves. The code I’ve got is below. I’ve tried to make it so that I don’t have hard-coded values, meanin…

---

## [Sharing my App Session Shed](https://discourse.processing.org/t/sharing-my-app-session-shed/43878)

<div class="topic-metadata">

**Author:** [@shedMusic](https://discourse.processing.org/u/shedMusic)\
**Replies:** 0\
**Last updated:** [February 10, 2024, 1:25pm UTC](https://discourse.processing.org/t/sharing-my-app-session-shed/43878 "2024-02-10T13:25:49Z")

</div>

It’s taken 8 years, but I have finally put an update to Session Shed onto Google Play. Back in 2015 when I first started a few users here may have given it a go … maybe … ? Anyhow… work and earning a living had to take…

---

## [Question on quirks of loop() and noLoop() and control of draw() iterations](https://discourse.processing.org/t/question-on-quirks-of-loop-and-noloop-and-control-of-draw-iterations/43872)

<div class="topic-metadata">

**Author:** [@grege2](https://discourse.processing.org/u/grege2)\
**Replies:** 2\
**Last updated:** [February 10, 2024, 10:11am UTC](https://discourse.processing.org/t/question-on-quirks-of-loop-and-noloop-and-control-of-draw-iterations/43872 "2024-02-10T10:11:18Z")

</div>

Hi all, An elementary question but it has me puzzled, after all this time using p5.js. There seem to some odd quirks of loop() and noLoop(). Please see p5.js Web Editor It seems that loop() can force one, or two, runs…

---

## [Webcam view is tiny](https://discourse.processing.org/t/webcam-view-is-tiny/43870)

<div class="topic-metadata">

**Author:** [@Infi](https://discourse.processing.org/u/Infi)\
**Replies:** 0\
**Last updated:** [February 9, 2024, 9:33pm UTC](https://discourse.processing.org/t/webcam-view-is-tiny/43870 "2024-02-09T21:33:10Z")

</div>

Hello! I am in a desperate need of simple app that can be used as a camera color filter, e.g. shows only red values while rest is 0. I have been doing this with shaders. The effect itself works but the problem is that t…

---

## [Navigation bar issue](https://discourse.processing.org/t/navigation-bar-issue/43802)

<div class="topic-metadata">

**Author:** [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Replies:** 3\
**Last updated:** [February 9, 2024, 3:03pm UTC](https://discourse.processing.org/t/navigation-bar-issue/43802 "2024-02-09T15:03:36Z")

</div>

I came across a bug because of which the navigation bar is not hidden after you open and close the keyboard or if a notification about phone discharge arrives. if there is a way to fix it or if not how to make th…

---

## [Can't make a selected text a code](https://discourse.processing.org/t/cant-make-a-selected-text-a-code/43846)

<div class="topic-metadata">

**Author:** [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Replies:** 8\
**Last updated:** [February 9, 2024, 12:21pm UTC](https://discourse.processing.org/t/cant-make-a-selected-text-a-code/43846 "2024-02-09T12:21:07Z")

</div>

why can’t i make it a code?

---

## [I raised a pull request four days ago, and it is currently displaying two workflows awaiting approval](https://discourse.processing.org/t/i-raised-a-pull-request-four-days-ago-and-it-is-currently-displaying-two-workflows-awaiting-approval/43820)

<div class="topic-metadata">

**Author:** [@yashgupta\_1221](https://discourse.processing.org/u/yashgupta_1221)\
**Replies:** 2\
**Last updated:** [February 9, 2024, 11:02am UTC](https://discourse.processing.org/t/i-raised-a-pull-request-four-days-ago-and-it-is-currently-displaying-two-workflows-awaiting-approval/43820 "2024-02-09T11:02:13Z")

</div>

I submitted a pull request four days ago, and I’ve noticed that there are currently two workflows awaiting approval and @nikhilkalburgi is not accepting my pull request . can anyone help me how to resolve this?

---

## [Failed to load image](https://discourse.processing.org/t/failed-to-load-image/43864)

<div class="topic-metadata">

**Author:** [@the](https://discourse.processing.org/u/the)\
**Replies:** 9\
**Last updated:** [February 9, 2024, 1:19am UTC](https://discourse.processing.org/t/failed-to-load-image/43864 "2024-02-09T01:19:53Z")

</div>

Hello, I am teaching a coding class and trying to load and display images on the p5js website as a part of an assignment. I keep running into an error: failed to load error. p5.js says: It looks like there was a proble…

---

## [Py5 loves 3D (P3D, hints, shaders)](https://discourse.processing.org/t/py5-loves-3d-p3d-hints-shaders/43821)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 9\
**Last updated:** [February 8, 2024, 11:09pm UTC](https://discourse.processing.org/t/py5-loves-3d-p3d-hints-shaders/43821 "2024-02-08T23:09:45Z")

</div>

I think one can do almost anything that can done in Processing P3D with py5 (because it also uses P3D). Yesterday I was having a look at an example inspired by a conversation started by @hamoid, with additions from @GoT…

---

## [Numpy 2.0 release](https://discourse.processing.org/t/numpy-2-0-release/43855)

<div class="topic-metadata">

**Author:** [@hx2A](https://discourse.processing.org/u/hx2A)\
**Replies:** 0\
**Last updated:** [February 8, 2024, 2:14am UTC](https://discourse.processing.org/t/numpy-2-0-release/43855 "2024-02-08T02:14:34Z")

</div>

The 2.0 release candidate of the Python library Numpy will be out soon (if not available already) and Python libraries that depend on it will need to make some small adjustments because version 2.0 will have some breakin…

---

## [🌸 Your Chance to Shape the Future of p5.js](https://discourse.processing.org/t/your-chance-to-shape-the-future-of-p5-js/43749)

<div class="topic-metadata">

**Author:** [@ProcessingOrg](https://discourse.processing.org/u/ProcessingOrg)\
**Replies:** 8\
**Last updated:** [February 7, 2024, 8:48pm UTC](https://discourse.processing.org/t/your-chance-to-shape-the-future-of-p5-js/43749 "2024-02-07T20:48:39Z")

</div>

Hi everyone! Major announcement incoming… :mega: The p5.js community is now inviting proposals for p5.js 2.0… and it’s a big deal! A major release allows us to make changes that are usually difficult or impossible: sys…

---

## [Serial buffer contains old data on new connection?](https://discourse.processing.org/t/serial-buffer-contains-old-data-on-new-connection/43826)

<div class="topic-metadata">

**Author:** [@YoSteve](https://discourse.processing.org/u/YoSteve)\
**Replies:** 2\
**Last updated:** [February 6, 2024, 7:21am UTC](https://discourse.processing.org/t/serial-buffer-contains-old-data-on-new-connection/43826 "2024-02-06T07:21:10Z")

</div>

I am using arduino to send data to processing sketch. Arduino code: // arduino void setup() { Serial.begin(38400); Serial.write('P'); Serial.write('P'); Serial.write('P'); } void loop() { Serial.write(analogRead(0…

---

## [Cannot save() images in exported app (Mac) when downloaded from Internet](https://discourse.processing.org/t/cannot-save-images-in-exported-app-mac-when-downloaded-from-internet/43834)

<div class="topic-metadata">

**Author:** [@Akz](https://discourse.processing.org/u/Akz)\
**Replies:** 2\
**Last updated:** [February 6, 2024, 2:26pm UTC](https://discourse.processing.org/t/cannot-save-images-in-exported-app-mac-when-downloaded-from-internet/43834 "2024-02-06T14:26:56Z")

</div>

I exported a macOS application that uses save() to export png files to the application’s base directory (parallel to the app file). It works fine while running in processing. It works fine as an application running on …

---

## [Program stopping after executing certain lines when handling key presses](https://discourse.processing.org/t/program-stopping-after-executing-certain-lines-when-handling-key-presses/43838)

<div class="topic-metadata">

**Author:** [@Eb3yr](https://discourse.processing.org/u/Eb3yr)\
**Replies:** 1\
**Last updated:** [February 6, 2024, 2:06am UTC](https://discourse.processing.org/t/program-stopping-after-executing-certain-lines-when-handling-key-presses/43838 "2024-02-06T02:06:44Z")

</div>

I’m having a problem where the program stops executing whenever I run certain lines of code when handling key presses and mouse clicks. I’m trying to accept certain inputs to create an object of certain mass, radius and …

---

## [Using p5js and p5.sounds with Nextjs for dataset sonification in 2024](https://discourse.processing.org/t/using-p5js-and-p5-sounds-with-nextjs-for-dataset-sonification-in-2024/43836)

<div class="topic-metadata">

**Author:** [@aleksati](https://discourse.processing.org/u/aleksati)\
**Replies:** 0\
**Last updated:** [February 5, 2024, 6:14pm UTC](https://discourse.processing.org/t/using-p5js-and-p5-sounds-with-nextjs-for-dataset-sonification-in-2024/43836 "2024-02-05T18:14:54Z")

</div>

Greetings all, I have recently written about my new adventures with integrating p5 and p5.sounds with the Nextjs web-development framework and using it for dataset sonification, and more. Check it out on my homepage: …

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

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