# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=26

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

**Page:** 27

---

## [Perlin Noise Implementation?](https://discourse.processing.org/t/perlin-noise-implementation/45773)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 1\
**Last updated:** [February 18, 2025, 12:28pm UTC](https://discourse.processing.org/t/perlin-noise-implementation/45773 "2025-02-18T12:28:52Z")

</div>

I am not able to locate the file where the Perlin noise function noise() has been implemented. Please let me have the precise url, thanks. There it is, at core/src/processing/core/PApplet.java, line 4814 ps. I see p…

---

## [USB Serial Library for Processing for Android?](https://discourse.processing.org/t/usb-serial-library-for-processing-for-android/45750)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 22\
**Last updated:** [February 15, 2025, 9:41pm UTC](https://discourse.processing.org/t/usb-serial-library-for-processing-for-android/45750 "2025-02-15T21:41:51Z")

</div>

I have been trying to find a USB Serial Library for Processing for Android that actually works but I am not having much luck. The only one I found that I managed to make more or less work is the one found at At least…

---

## [Eclipse IDE with Processing - Can't play video](https://discourse.processing.org/t/eclipse-ide-with-processing-cant-play-video/45772)

<div class="topic-metadata">

**Author:** [@Ojey](https://discourse.processing.org/u/Ojey)\
**Replies:** 0\
**Last updated:** [February 15, 2025, 10:38pm UTC](https://discourse.processing.org/t/eclipse-ide-with-processing-cant-play-video/45772 "2025-02-15T22:38:29Z")

</div>

Hi I want to play just a video, it work great in processing IDE with the librairy processing.video.\*; But with Eclipse i can’t play anything, it seems that there is a problem with gstreamer. I have this error. Can yo…

---

## [Spreadsheet - how to store data on the Hard Drive?](https://discourse.processing.org/t/spreadsheet-how-to-store-data-on-the-hard-drive/45733)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 5\
**Last updated:** [February 17, 2025, 1:04pm UTC](https://discourse.processing.org/t/spreadsheet-how-to-store-data-on-the-hard-drive/45733 "2025-02-17T13:04:19Z")

</div>

Hello all! I wrote a Spreadsheet like Excel. Data is stored as a Table on the Hard Drive and for displaying it on the screen and to use the mouse in the cells, I use a grid of a class Cell. There are text, numbers or …

---

## [Probleme GL Video library](https://discourse.processing.org/t/probleme-gl-video-library/45770)

<div class="topic-metadata">

**Author:** [@Ojey](https://discourse.processing.org/u/Ojey)\
**Replies:** 10\
**Last updated:** [February 15, 2025, 9:31pm UTC](https://discourse.processing.org/t/probleme-gl-video-library/45770 "2025-02-15T21:31:21Z")

</div>

Hi i want to use the librairie GLvideo, i downloaded it, and when i want to try a example Processing\\libraries\\glvideo\\examples\\SingleVideo (this one) It should just play a vidéo with a simple code but i have this erro…

---

## [For Linux, is Video Library 2.2. broken?](https://discourse.processing.org/t/for-linux-is-video-library-2-2-broken/44456)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 1\
**Last updated:** [February 16, 2025, 4:27pm UTC](https://discourse.processing.org/t/for-linux-is-video-library-2-2-broken/44456 "2025-02-16T16:27:51Z")

</div>

Please check https://github.com/processing/processing-video/issues/221. For Linux, Is Video Library 2.2 broken? (I use it on Win and Mac without any problem).

---

## [Tint function not working on image](https://discourse.processing.org/t/tint-function-not-working-on-image/45763)

<div class="topic-metadata">

**Author:** [@crendon](https://discourse.processing.org/u/crendon)\
**Replies:** 7\
**Last updated:** [February 15, 2025, 10:08pm UTC](https://discourse.processing.org/t/tint-function-not-working-on-image/45763 "2025-02-15T22:08:14Z")

</div>

Hello everyone! Brand new here. :slight\_smile: I am doing the DVD Logo bounce on screen. Everything works except the changing of the color of the image. The image is a PNG. No matter what I try it just stays black. T…

---

## [Creating 2D overlay with orbitControl](https://discourse.processing.org/t/creating-2d-overlay-with-orbitcontrol/45761)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 6\
**Last updated:** [February 15, 2025, 5:18pm UTC](https://discourse.processing.org/t/creating-2d-overlay-with-orbitcontrol/45761 "2025-02-15T17:18:40Z")

</div>

I have created a sketch to display the Utah Teapot and I am using orbitControl() to view it from any angle. My problem is that I am trying to create a static 2D overlay. As a demo I have simplified one of the p5js examp…

---

## [Turtle Graphics library (official release)](https://discourse.processing.org/t/turtle-graphics-library-official-release/45768)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 0\
**Last updated:** [February 15, 2025, 4:50pm UTC](https://discourse.processing.org/t/turtle-graphics-library-official-release/45768 "2025-02-15T16:50:15Z")

</div>

Turtle Graphics 0.9.1 is now officially released and has been submitted to Processing for inclusion on their website. Where to find out more github This is the primary source for information about using the library…

---

## [Rotating a Block of Points About Another Point Magnifies and Diminishes the Block Size](https://discourse.processing.org/t/rotating-a-block-of-points-about-another-point-magnifies-and-diminishes-the-block-size/45757)

<div class="topic-metadata">

**Author:** [@Ermi](https://discourse.processing.org/u/Ermi)\
**Replies:** 1\
**Last updated:** [February 15, 2025, 8:54am UTC](https://discourse.processing.org/t/rotating-a-block-of-points-about-another-point-magnifies-and-diminishes-the-block-size/45757 "2025-02-15T08:54:59Z")

</div>

I am trying to rotate points about another point, but the rotated points are either further away from each other or they are closer to each other than their original separation. I want to rotate them so that when they ar…

---

## [Mask function with external SVG shape](https://discourse.processing.org/t/mask-function-with-external-svg-shape/45746)

<div class="topic-metadata">

**Author:** [@Katsankat](https://discourse.processing.org/u/Katsankat)\
**Replies:** 1\
**Last updated:** [February 13, 2025, 2:47pm UTC](https://discourse.processing.org/t/mask-function-with-external-svg-shape/45746 "2025-02-13T14:47:30Z")

</div>

Hi, I’m using using P5.js with a node.js server. I’m trying to fill a SVG shape (external .svg file), with some drawing functions. To test it I’ve took some dots filling functions I’ve found, but it’s not the importan…

---

## [Why does .getConstructor fail with a NoSuchMethodException despite zero-arg constructors existing for the class?](https://discourse.processing.org/t/why-does-getconstructor-fail-with-a-nosuchmethodexception-despite-zero-arg-constructors-existing-for-the-class/45748)

<div class="topic-metadata">

**Author:** [@PeterAmbos](https://discourse.processing.org/u/PeterAmbos)\
**Replies:** 10\
**Last updated:** [February 12, 2025, 7:43pm UTC](https://discourse.processing.org/t/why-does-getconstructor-fail-with-a-nosuchmethodexception-despite-zero-arg-constructors-existing-for-the-class/45748 "2025-02-12T19:43:33Z")

</div>

I’m programming a game for a programming course in college, and I’ve run into some trouble with the .getConstructor method. What I’m trying to do is pass a class that has to be a subclass of another class as an argument …

---

## [Standalone app does not work after downloading from a website or sent by e-mail](https://discourse.processing.org/t/standalone-app-does-not-work-after-downloading-from-a-website-or-sent-by-e-mail/45743)

<div class="topic-metadata">

**Author:** [@gomiza](https://discourse.processing.org/u/gomiza)\
**Replies:** 3\
**Last updated:** [February 11, 2025, 8:59pm UTC](https://discourse.processing.org/t/standalone-app-does-not-work-after-downloading-from-a-website-or-sent-by-e-mail/45743 "2025-02-11T20:59:26Z")

</div>

I wrote a Processing app that I want to share, so far only for Mac. When I export as an app Mac OS Intel64 everything is ok, a standalone app that uses a .png image file works great after putting the image in the same fo…

---

## [How to change the brace/indentation style for auto-format?](https://discourse.processing.org/t/how-to-change-the-brace-indentation-style-for-auto-format/45723)

<div class="topic-metadata">

**Author:** [@kryt](https://discourse.processing.org/u/kryt)\
**Replies:** 3\
**Last updated:** [February 10, 2025, 11:56am UTC](https://discourse.processing.org/t/how-to-change-the-brace-indentation-style-for-auto-format/45723 "2025-02-10T11:56:22Z")

</div>

Apologies if this is the wrong place for this. Ever since Processing changed to 2, the indentations and curly braces have not worked very well to cover different styles, when using auto-format to fix the code. https://…

---

## [Processing on NixOS: "core does not run on this architecture: linux-amd64"](https://discourse.processing.org/t/processing-on-nixos-core-does-not-run-on-this-architecture-linux-amd64/45736)

<div class="topic-metadata">

**Author:** [@pcarr](https://discourse.processing.org/u/pcarr)\
**Replies:** 0\
**Last updated:** [February 9, 2025, 8:54pm UTC](https://discourse.processing.org/t/processing-on-nixos-core-does-not-run-on-this-architecture-linux-amd64/45736 "2025-02-09T20:54:07Z")

</div>

Hello! I’m just starting out with Processing. I am using Processing 4 v1293, which is what’s packaged for NixOS. My code runs fine, however in the console at runtime I get this message: core does not run on this archite…

---

## [ESP32 Bluetooth transmission problem](https://discourse.processing.org/t/esp32-bluetooth-transmission-problem/45730)

<div class="topic-metadata">

**Author:** [@cola](https://discourse.processing.org/u/cola)\
**Replies:** 5\
**Last updated:** [February 9, 2025, 2:33pm UTC](https://discourse.processing.org/t/esp32-bluetooth-transmission-problem/45730 "2025-02-09T14:33:11Z")

</div>

Part of the Arduino function is as follows： void sendDataThroughUART(void){ DataPacket\[0\] = ecgFilterout; DataPacket\[1\] = ecgFilterout \>\> 8; DataPacket\[2\] = resWaveBuff; DataPacket\[3\] = resWaveBuff \>\> 8; Dat…

---

## [3D scene without any shading](https://discourse.processing.org/t/3d-scene-without-any-shading/45716)

<div class="topic-metadata">

**Author:** [@qualidat](https://discourse.processing.org/u/qualidat)\
**Replies:** 2\
**Last updated:** [February 9, 2025, 1:58pm UTC](https://discourse.processing.org/t/3d-scene-without-any-shading/45716 "2025-02-09T13:58:43Z")

</div>

Hello, I need the objects in a rotating 3d scene without light and shadow, only with solid “smooth” colors. The idea is to use the touchscreen to select individual objects in the rotating scene, even if they cover each o…

---

## [Failing constructor intentionally to stop the instantiation of an object](https://discourse.processing.org/t/failing-constructor-intentionally-to-stop-the-instantiation-of-an-object/45719)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 4\
**Last updated:** [February 9, 2025, 9:29am UTC](https://discourse.processing.org/t/failing-constructor-intentionally-to-stop-the-instantiation-of-an-object/45719 "2025-02-09T09:29:48Z")

</div>

I had a function outside a class that performs some checks before making the object from the class. If the incoming parameter was faulty, it would return null instead of the object. Then it occured to me that it would b…

---

## [Compass Rose made using turtle graphics](https://discourse.processing.org/t/compass-rose-made-using-turtle-graphics/45731)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 0\
**Last updated:** [February 8, 2025, 3:48pm UTC](https://discourse.processing.org/t/compass-rose-made-using-turtle-graphics/45731 "2025-02-08T15:48:51Z")

</div>

When creating a new library I always create lots of examples because it helps me find issues that a library user might come across, for instance illogical or inconsistent API missing functionality I hadn’t considered. …

---

## [Dropdown Scrollable List needs two taps to open or select an item](https://discourse.processing.org/t/dropdown-scrollable-list-needs-two-taps-to-open-or-select-an-item/45700)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 26\
**Last updated:** [February 8, 2025, 3:45pm UTC](https://discourse.processing.org/t/dropdown-scrollable-list-needs-two-taps-to-open-or-select-an-item/45700 "2025-02-08T15:45:16Z")

</div>

Hi guys, beginner here. This test code aims at opening a list with 3 items and when one of them is selected, the list should close. also when tapping outside the list, it should close. but what I am seeing is that the l…

---

## [How Can I Create Two Mediums with Different Drag Properties Inside VerletPhysics2D World?](https://discourse.processing.org/t/how-can-i-create-two-mediums-with-different-drag-properties-inside-verletphysics2d-world/45728)

<div class="topic-metadata">

**Author:** [@Ermi](https://discourse.processing.org/u/Ermi)\
**Replies:** 1\
**Last updated:** [February 8, 2025, 1:12pm UTC](https://discourse.processing.org/t/how-can-i-create-two-mediums-with-different-drag-properties-inside-verletphysics2d-world/45728 "2025-02-08T13:12:06Z")

</div>

I am trying to modify the example Attraction2D so that the drag increases from half of the screen(world), making the particles appear to be falling into water. Is it possible to create two different mediums whose drag va…

---

## [How can I check if a line is touching a specific point?](https://discourse.processing.org/t/how-can-i-check-if-a-line-is-touching-a-specific-point/45725)

<div class="topic-metadata">

**Author:** [@Sel](https://discourse.processing.org/u/Sel)\
**Replies:** 1\
**Last updated:** [February 7, 2025, 11:49pm UTC](https://discourse.processing.org/t/how-can-i-check-if-a-line-is-touching-a-specific-point/45725 "2025-02-07T23:49:33Z")

</div>

How can i check if a line is touching a specific point?

---

## [Perlin noise range does not go all the way from 0.0 - 1.0](https://discourse.processing.org/t/perlin-noise-range-does-not-go-all-the-way-from-0-0-1-0/45722)

<div class="topic-metadata">

**Author:** [@TomToad](https://discourse.processing.org/u/TomToad)\
**Replies:** 1\
**Last updated:** [February 7, 2025, 11:08am UTC](https://discourse.processing.org/t/perlin-noise-range-does-not-go-all-the-way-from-0-0-1-0/45722 "2025-02-07T11:08:22Z")

</div>

I realize that the noise() function won’t go all the way to 1.0, but I’d think that it would at least get as high as 0.999, but it only reaches around 0.846, and it only goes down to about 0.0735. That means when I’m pl…

---

## [Generative collage error](https://discourse.processing.org/t/generative-collage-error/45714)

<div class="topic-metadata">

**Author:** [@jbanales](https://discourse.processing.org/u/jbanales)\
**Replies:** 9\
**Last updated:** [February 7, 2025, 9:41am UTC](https://discourse.processing.org/t/generative-collage-error/45714 "2025-02-07T09:41:42Z")

</div>

Hello, when I run this code I get this message. There are only 16 images in the sketch and they are in the data/images folder. loading… 32images loaded! The file data/images/.\_04.jpg contains bad image data, or may not …

---

## [Harriss Spiral with Turtle Graphics](https://discourse.processing.org/t/harriss-spiral-with-turtle-graphics/45699)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 5\
**Last updated:** [February 6, 2025, 1:51pm UTC](https://discourse.processing.org/t/harriss-spiral-with-turtle-graphics/45699 "2025-02-06T13:51:09Z")

</div>

I have been working on a Turtle Graphics library (see this discussion). I was asked if the library could draw a Harriss Spiral and I was not sure but after some effort I managed it. Hope you like it :sunglasses:

---

## [MysteryShape with PShape](https://discourse.processing.org/t/mysteryshape-with-pshape/45612)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 5\
**Last updated:** [February 6, 2025, 12:22pm UTC](https://discourse.processing.org/t/mysteryshape-with-pshape/45612 "2025-02-06T12:22:30Z")

</div>

The following source code was an attempt at creating a torus by drawing the center band of a cylinder repetitvely to create a torus; instead what I got is shown below and I’m not sure whether it has a name or not: PSha…

---

## [Connector : STL file connection for 3D printing](https://discourse.processing.org/t/connector-stl-file-connection-for-3d-printing/45711)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 0\
**Last updated:** [February 5, 2025, 2:50pm UTC](https://discourse.processing.org/t/connector-stl-file-connection-for-3d-printing/45711 "2025-02-05T14:50:10Z")

</div>

Hi, here’s a project to create connection between tubes like a plumber. I used it to create basic shapes like this : For other movement go here The interface looks like this There is plenty of other possible us…

---

## [saveGif() delay doesn't work](https://discourse.processing.org/t/savegif-delay-doesnt-work/45706)

<div class="topic-metadata">

**Author:** [@Chloros](https://discourse.processing.org/u/Chloros)\
**Replies:** 4\
**Last updated:** [February 5, 2025, 9:44am UTC](https://discourse.processing.org/t/savegif-delay-doesnt-work/45706 "2025-02-05T09:44:33Z")

</div>

Hi, I’m trying to export some gifs with the function saveGif() ( https://p5js.org/reference/p5/saveGif/ ) but it seems taht the delay before recording the images doesn’t work. It records the gif but doesn’t apply any de…

---

## [Turtle Graphics](https://discourse.processing.org/t/turtle-graphics/45672)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 34\
**Last updated:** [February 2, 2025, 8:40pm UTC](https://discourse.processing.org/t/turtle-graphics/45672 "2025-02-02T20:40:58Z")

</div>

I have been working on a library to perform Turtle Graphics with animation so the user can see the image being ‘developed’ rather than just the final result. Here are a few examples. These sketches have been embedded…

---

## [G4P multiple windows and noSmooth()](https://discourse.processing.org/t/g4p-multiple-windows-and-nosmooth/45690)

<div class="topic-metadata">

**Author:** [@joejoe](https://discourse.processing.org/u/joejoe)\
**Replies:** 8\
**Last updated:** [February 2, 2025, 5:38pm UTC](https://discourse.processing.org/t/g4p-multiple-windows-and-nosmooth/45690 "2025-02-02T17:38:17Z")

</div>

I’m trying to display different images in different G4P windows without smoothing the image as I need sharp edges. I have set the noSmooth() in the setup() just after the size() instruction for the main window. This wor…

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=25)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=27)
