# Latest

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

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

**Page:** 33

---

## [Libp5x - Processing 4 and LWJGL library with examples](https://discourse.processing.org/t/libp5x-processing-4-and-lwjgl-library-with-examples/45217)

<div class="topic-metadata">

**Author:** [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Replies:** 0\
**Last updated:** [October 22, 2024, 4:24pm UTC](https://discourse.processing.org/t/libp5x-processing-4-and-lwjgl-library-with-examples/45217 "2024-10-22T16:24:34Z")

</div>

libp5x is the modularized Processing 4 and LWJGL renderer library that we use in PraxisLIVE. It’s also available via Maven Central and is fairly easy to use with full Java Processing sketches. I’ve just updated the exam…

---

## [Discourse & Forum archive](https://discourse.processing.org/t/discourse-forum-archive/45184)

<div class="topic-metadata">

**Author:** [@eightohnine](https://discourse.processing.org/u/eightohnine)\
**Replies:** 10\
**Last updated:** [October 22, 2024, 4:10pm UTC](https://discourse.processing.org/t/discourse-forum-archive/45184 "2024-10-22T16:10:25Z")

</div>

A fun little heads-up. Some long-dormant muscle-memory just kicked in as I was entering this forum’s URL. So I falsely entered https://forum.processing.org. To my surprise, that page is live and points to ALL past forum…

---

## [Get Vertex Count](https://discourse.processing.org/t/get-vertex-count/45200)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 3\
**Last updated:** [October 19, 2024, 2:19pm UTC](https://discourse.processing.org/t/get-vertex-count/45200 "2024-10-19T14:19:19Z")

</div>

I am trying to use the ‘ShapeVertices’ example in Processing 4.3 (Java mode). The example works fine for the given “uk.svg”. When I try to use my own \*.svg instead of “uk.svg”, I get the error: ‘getVertexCount() only wo…

---

## [SVG width and height](https://discourse.processing.org/t/svg-width-and-height/45199)

<div class="topic-metadata">

**Author:** [@mrbbp](https://discourse.processing.org/u/mrbbp)\
**Replies:** 3\
**Last updated:** [October 19, 2024, 10:05am UTC](https://discourse.processing.org/t/svg-width-and-height/45199 "2024-10-19T10:05:04Z")

</div>

Hello i’m currently playing with few svg loading in a an array. The svgs have different height but when i use it, they have all the same size! the bigger are scaled to have the same height as the smaller! is it a bug? …

---

## [Polygon packing](https://discourse.processing.org/t/polygon-packing/45182)

<div class="topic-metadata">

**Author:** [@eightohnine](https://discourse.processing.org/u/eightohnine)\
**Replies:** 9\
**Last updated:** [October 18, 2024, 5:33pm UTC](https://discourse.processing.org/t/polygon-packing/45182 "2024-10-18T17:33:14Z")

</div>

Hi all, I’m messing around with polygon arrangements and was hoping someone might give me some pointers on how I can pack polygons neatly together. The attached screen is the polygons I’m working with, arranged on a gr…

---

## [Adding date and time stamp to create writer](https://discourse.processing.org/t/adding-date-and-time-stamp-to-create-writer/45192)

<div class="topic-metadata">

**Author:** [@SteveH](https://discourse.processing.org/u/SteveH)\
**Replies:** 2\
**Last updated:** [October 16, 2024, 2:25pm UTC](https://discourse.processing.org/t/adding-date-and-time-stamp-to-create-writer/45192 "2024-10-16T14:25:26Z")

</div>

Hi All, I am new to processing 4.3, so please forgive me if what I am asking is very basic. I have been programming using Adruino IDE for some time now and have come across and interesting project in the link below: W…

---

## [Auto run sketch on raspberry pi 5 on reboot](https://discourse.processing.org/t/auto-run-sketch-on-raspberry-pi-5-on-reboot/45164)

<div class="topic-metadata">

**Author:** [@enki](https://discourse.processing.org/u/enki)\
**Replies:** 3\
**Last updated:** [October 16, 2024, 10:25am UTC](https://discourse.processing.org/t/auto-run-sketch-on-raspberry-pi-5-on-reboot/45164 "2024-10-16T10:25:23Z")

</div>

I’m trying to get 6 pi5s to, on startup, run their sketches. I’ve got six different projectors high up with a pi generating visuals for each projector and I need the pi’s -on power up to run the sketch.pde (which are fu…

---

## [Can anybody help me with parameters for ortho view?](https://discourse.processing.org/t/can-anybody-help-me-with-parameters-for-ortho-view/45166)

<div class="topic-metadata">

**Author:** [@masoudhyudani](https://discourse.processing.org/u/masoudhyudani)\
**Replies:** 6\
**Last updated:** [October 14, 2024, 12:46pm UTC](https://discourse.processing.org/t/can-anybody-help-me-with-parameters-for-ortho-view/45166 "2024-10-14T12:46:27Z")

</div>

Hello, can anybody help me with the parameters so that I can see something like the below: import processing.serial.\*; Serial myPort; // The serial port int cols = 2; int rows = 2; int\[\]\[\] intensityGrid = new int\[…

---

## [Error on parameter or method declaration near 'float'?](https://discourse.processing.org/t/error-on-parameter-or-method-declaration-near-float/45154)

<div class="topic-metadata">

**Author:** [@naoko](https://discourse.processing.org/u/naoko)\
**Replies:** 6\
**Last updated:** [October 10, 2024, 2:18pm UTC](https://discourse.processing.org/t/error-on-parameter-or-method-declaration-near-float/45154 "2024-10-10T14:18:16Z")

</div>

void setup(){ size(200,200); background(255); } void draw(){ stroke(0); strokeWeight(float) float mouseSpeed = abs(mouseX - pmouseX); line(pmouseX,pmouseY,mouseX,mouseY); }

---

## [A Sneak Peek into the Tiling Fractal Processing 4.3 App (Preview)](https://discourse.processing.org/t/a-sneak-peek-into-the-tiling-fractal-processing-4-3-app-preview/45178)

<div class="topic-metadata">

**Author:** [@winterchan](https://discourse.processing.org/u/winterchan)\
**Replies:** 0\
**Last updated:** [October 14, 2024, 12:20pm UTC](https://discourse.processing.org/t/a-sneak-peek-into-the-tiling-fractal-processing-4-3-app-preview/45178 "2024-10-14T12:20:52Z")

</div>

There is the full album: The full app will be available as a part of another large app im making for creating different types of fractals and controlling them in real time smoothly …

---

## [Minim AudioPlayer.length() outputs wrong value](https://discourse.processing.org/t/minim-audioplayer-length-outputs-wrong-value/45176)

<div class="topic-metadata">

**Author:** [@SmallSnail](https://discourse.processing.org/u/SmallSnail)\
**Replies:** 0\
**Last updated:** [October 13, 2024, 11:03pm UTC](https://discourse.processing.org/t/minim-audioplayer-length-outputs-wrong-value/45176 "2024-10-13T23:03:32Z")

</div>

Hey all, I was working on a little audio visualizer project today using the Minim library, and I ran into a small issue with the AudioPlayer class. The project requires a class that can load, play, and analyze an audio …

---

## [Launch() exec() command on linux](https://discourse.processing.org/t/launch-exec-command-on-linux/45174)

<div class="topic-metadata">

**Author:** [@Seamiki](https://discourse.processing.org/u/Seamiki)\
**Replies:** 1\
**Last updated:** [October 13, 2024, 10:26am UTC](https://discourse.processing.org/t/launch-exec-command-on-linux/45174 "2024-10-13T10:26:59Z")

</div>

I want to send a terminal command from my sketch using launch() or exec() but i am facing issues in both cases: when i use launch("echo \\"Hai\\" \>\> /dev/usb/lp0"); looks like it tries to open a folder instead of execut…

---

## [Need help in exporting SVG from animation](https://discourse.processing.org/t/need-help-in-exporting-svg-from-animation/45144)

<div class="topic-metadata">

**Author:** [@Heliasz](https://discourse.processing.org/u/Heliasz)\
**Replies:** 2\
**Last updated:** [October 11, 2024, 5:49pm UTC](https://discourse.processing.org/t/need-help-in-exporting-svg-from-animation/45144 "2024-10-11T17:49:10Z")

</div>

Dear All, I have the code pasted below and I am trying to export SVG file from animation. Here’s Simplex Noise code I am using: opensimplexnoise.pde · GitHub I am trying to paste code dedicated by Processing: SVG Expo…

---

## [Looking for a React dev for 2D graphic editor](https://discourse.processing.org/t/looking-for-a-react-dev-for-2d-graphic-editor/45159)

<div class="topic-metadata">

**Author:** [@Creadea](https://discourse.processing.org/u/Creadea)\
**Replies:** 0\
**Last updated:** [October 10, 2024, 9:22am UTC](https://discourse.processing.org/t/looking-for-a-react-dev-for-2d-graphic-editor/45159 "2024-10-10T09:22:06Z")

</div>

Creazilla.com is looking for a React developer to back up the tech team (2 front + 1 back devs) on Graphic’s editor tasks. The main stack: HTML, CSS, Styled Components, React, TypeScript, MobX (MST), Object-Oriented P…

---

## [Multi-Game Generator](https://discourse.processing.org/t/multi-game-generator/45139)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 2\
**Last updated:** [October 8, 2024, 9:55pm UTC](https://discourse.processing.org/t/multi-game-generator/45139 "2024-10-08T21:55:26Z")

</div>

This example demo is meant to simulate a multi-game generator; each ‘game’ is represented by a simple class placed under its own tab. There is a home screen with instructions and each game is assigned a unique key. It…

---

## [Creating patterns: How can I create a geometric shape that looks like a rectangle with inward-curved circular arcs replacing the corners?](https://discourse.processing.org/t/creating-patterns-how-can-i-create-a-geometric-shape-that-looks-like-a-rectangle-with-inward-curved-circular-arcs-replacing-the-corners/45111)

<div class="topic-metadata">

**Author:** [@zwiesabel](https://discourse.processing.org/u/zwiesabel)\
**Replies:** 6\
**Last updated:** [October 8, 2024, 6:23pm UTC](https://discourse.processing.org/t/creating-patterns-how-can-i-create-a-geometric-shape-that-looks-like-a-rectangle-with-inward-curved-circular-arcs-replacing-the-corners/45111 "2024-10-08T18:23:44Z")

</div>

My goal is to create random patterns like you see it at the top of the image. I want to build this by using separated shapes like it’s shown in the graphic with the red lines. So there will be circles, rectangles with …

---

## [Boolean operation in polygons](https://discourse.processing.org/t/boolean-operation-in-polygons/23439)

<div class="topic-metadata">

**Author:** [@mmatty](https://discourse.processing.org/u/mmatty)\
**Replies:** 15\
**Last updated:** [October 6, 2024, 7:05pm UTC](https://discourse.processing.org/t/boolean-operation-in-polygons/23439 "2024-10-06T19:05:26Z")

</div>

Hi, wondering if anyone came across a solution to merge/union/intersect polygons? Not just drawing them with the same fill color, but actually creating a new shape which is a fusion of other arbitrary shapes. I can do …

---

## [How to detect if 2 instances of one function are the same (aka how to detect a twin)?](https://discourse.processing.org/t/how-to-detect-if-2-instances-of-one-function-are-the-same-aka-how-to-detect-a-twin/45128)

<div class="topic-metadata">

**Author:** [@willemr](https://discourse.processing.org/u/willemr)\
**Replies:** 10\
**Last updated:** [October 5, 2024, 5:24pm UTC](https://discourse.processing.org/t/how-to-detect-if-2-instances-of-one-function-are-the-same-aka-how-to-detect-a-twin/45128 "2024-10-05T17:24:20Z")

</div>

First of all, sorry for the confusing title. My sketch will make it clearer. I have written a function that makes faces that are composed of seperate but overlayed facial elements (which are png’s): -head shape -nose …

---

## [Random Image Compression](https://discourse.processing.org/t/random-image-compression/44235)

<div class="topic-metadata">

**Author:** [@seanc4s](https://discourse.processing.org/u/seanc4s)\
**Replies:** 3\
**Last updated:** [October 4, 2024, 12:41pm UTC](https://discourse.processing.org/t/random-image-compression/44235 "2024-10-04T12:41:15Z")

</div>

Well, it’s not jpeg, however you could use it to reduce the size of neural networks for image generation or whatever.

---

## [The library is not installed](https://discourse.processing.org/t/the-library-is-not-installed/45135)

<div class="topic-metadata">

**Author:** [@masoudhyudani](https://discourse.processing.org/u/masoudhyudani)\
**Replies:** 1\
**Last updated:** [October 4, 2024, 12:08pm UTC](https://discourse.processing.org/t/the-library-is-not-installed/45135 "2024-10-04T12:08:33Z")

</div>

Hello, I would like to install the below library for Processing. I extract the .zip file in the below address: …\\Documents\\Processing\\libraries However, it does not recognize the library and shows me the below erro…

---

## [P5js - Why can't I apply this specific invert clip to a shape?](https://discourse.processing.org/t/p5js-why-cant-i-apply-this-specific-invert-clip-to-a-shape/45132)

<div class="topic-metadata">

**Author:** [@pedromgoncalves](https://discourse.processing.org/u/pedromgoncalves)\
**Replies:** 2\
**Last updated:** [October 4, 2024, 9:16am UTC](https://discourse.processing.org/t/p5js-why-cant-i-apply-this-specific-invert-clip-to-a-shape/45132 "2024-10-04T09:16:30Z")

</div>

Hi :slight\_smile: I’m trying to apply an invert clip to a shape, but, for this specific clip shape, the clip is not being applied to the shape. It works if the clip is not inverted, and it works with other clips, such a…

---

## [I want to control 'scroll' through 'p5' 'mouseWheel' function](https://discourse.processing.org/t/i-want-to-control-scroll-through-p5-mousewheel-function/45127)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 10\
**Last updated:** [October 3, 2024, 10:33pm UTC](https://discourse.processing.org/t/i-want-to-control-scroll-through-p5-mousewheel-function/45127 "2024-10-03T22:33:40Z")

</div>

I want to control ‘scroll’ through ‘p5’ ‘mouseWheel’ function. Hello. Nice to meet you. Please refer to the picture. I want to control up and down through ‘function mouseWheel(event)’. Can I control scroll through…

---

## [Triggering multiple videos using OSC](https://discourse.processing.org/t/triggering-multiple-videos-using-osc/45121)

<div class="topic-metadata">

**Author:** [@dom](https://discourse.processing.org/u/dom)\
**Replies:** 2\
**Last updated:** [October 2, 2024, 9:32pm UTC](https://discourse.processing.org/t/triggering-multiple-videos-using-osc/45121 "2024-10-02T21:32:15Z")

</div>

I am trying to build a patch in which multiple videos are overlayed and triggered from Supercollider using OSC. There are four things I am seeking to do which I have not yet achieved. Have multiple videos play at the s…

---

## [Can you type text on the displayed screen and make Processing use the date to change a variable](https://discourse.processing.org/t/can-you-type-text-on-the-displayed-screen-and-make-processing-use-the-date-to-change-a-variable/45126)

<div class="topic-metadata">

**Author:** [@Istimereal](https://discourse.processing.org/u/Istimereal)\
**Replies:** 2\
**Last updated:** [October 2, 2024, 9:14pm UTC](https://discourse.processing.org/t/can-you-type-text-on-the-displayed-screen-and-make-processing-use-the-date-to-change-a-variable/45126 "2024-10-02T21:14:57Z")

</div>

Hi Is it possible to to make a input box on the screen that run the sketch where I can type text or numbers that will influence a variable from the initial run. So the new input is read by processing. One variable is in…

---

## [Using asm to reduce overhead with registerMethods as well as improve performance](https://discourse.processing.org/t/using-asm-to-reduce-overhead-with-registermethods-as-well-as-improve-performance/45090)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 5\
**Last updated:** [October 2, 2024, 1:57pm UTC](https://discourse.processing.org/t/using-asm-to-reduce-overhead-with-registermethods-as-well-as-improve-performance/45090 "2024-10-02T13:57:00Z")

</div>

A problem when using registerMethod often is that it is rather slow. The main reason is the heavy use of reflection. Using the asm library one can however create a much faster implementation of the same functionality tha…

---

## [Is it possible to pause functions?](https://discourse.processing.org/t/is-it-possible-to-pause-functions/45120)

<div class="topic-metadata">

**Author:** [@dom](https://discourse.processing.org/u/dom)\
**Replies:** 2\
**Last updated:** [October 2, 2024, 7:16am UTC](https://discourse.processing.org/t/is-it-possible-to-pause-functions/45120 "2024-10-02T07:16:02Z")

</div>

I want to create a series of overlapping videos using P5JS, each one slightly more delayed than the previous and with delays that change their values. The issue I am finding is that there does not appear to be an easy wa…

---

## [Plot, p5-inspired procedural 2D drawing in Unity](https://discourse.processing.org/t/plot-p5-inspired-procedural-2d-drawing-in-unity/45119)

<div class="topic-metadata">

**Author:** [@cecarlsen](https://discourse.processing.org/u/cecarlsen)\
**Replies:** 0\
**Last updated:** [October 1, 2024, 3:14pm UTC](https://discourse.processing.org/t/plot-p5-inspired-procedural-2d-drawing-in-unity/45119 "2024-10-01T15:14:48Z")

</div>

DISCLAIMER - Plot is in no way meant as a replacement for p5. It’s posted here because it may be relevant for p5 users who need to make a project in Unity, for whatever reason. It has a familiar but not identical API,…

---

## [Map SVG is appearing black in colour](https://discourse.processing.org/t/map-svg-is-appearing-black-in-colour/45118)

<div class="topic-metadata">

**Author:** [@Valiullah](https://discourse.processing.org/u/Valiullah)\
**Replies:** 0\
**Last updated:** [October 1, 2024, 2:23pm UTC](https://discourse.processing.org/t/map-svg-is-appearing-black-in-colour/45118 "2024-10-01T14:23:26Z")

</div>

Hi! I am trying to import an Africa SVG map via processing but the when I run the program, it loads the Africa map in a black colour as opposed to the gray colour of the original SVG where the states are clearly demarcat…

---

## [Can't set live wallpaper on lockscreen and homescreen separately](https://discourse.processing.org/t/cant-set-live-wallpaper-on-lockscreen-and-homescreen-separately/45116)

<div class="topic-metadata">

**Author:** [@soantyphalt](https://discourse.processing.org/u/soantyphalt)\
**Replies:** 0\
**Last updated:** [October 1, 2024, 1:30pm UTC](https://discourse.processing.org/t/cant-set-live-wallpaper-on-lockscreen-and-homescreen-separately/45116 "2024-10-01T13:30:15Z")

</div>

I have a Samsung Galaxy S20 and use the Wallpapers App from Google because I can’t find my live wallpapers on the samsung wallpaper picker. But for some reason, I can’t separately pick the lock- and homescreen. The onl…

---

## [Image slowly offsetting itself](https://discourse.processing.org/t/image-slowly-offsetting-itself/44978)

<div class="topic-metadata">

**Author:** [@RWSNeill](https://discourse.processing.org/u/RWSNeill)\
**Replies:** 4\
**Last updated:** [October 1, 2024, 10:04am UTC](https://discourse.processing.org/t/image-slowly-offsetting-itself/44978 "2024-10-01T10:04:42Z")

</div>

First ever post so sorry if I phrase this poorly. Have written a PONG game that uses pixel flow data from a webcam to move the paddle. It ran fine for months without issue on multiple PCs (both Windows 10 and 11) but ha…

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

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