# Latest

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

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

**Page:** 82

---

## [A few quotes for you](https://discourse.processing.org/t/a-few-quotes-for-you/41219)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [March 10, 2023, 2:04am UTC](https://discourse.processing.org/t/a-few-quotes-for-you/41219 "2023-03-10T02:04:35Z")

</div>

A few famous quotes for you … of course displayed with JavaScript and a little bit of p5.js Source code: See also: A few jokes for you

---

## [Scenes in Processing](https://discourse.processing.org/t/scenes-in-processing/40386)

<div class="topic-metadata">

**Author:** [@OverLord](https://discourse.processing.org/u/OverLord)\
**Replies:** 15\
**Last updated:** [March 9, 2023, 3:10pm UTC](https://discourse.processing.org/t/scenes-in-processing/40386 "2023-03-09T15:10:06Z")

</div>

Good afternoon, processing community, I would like to ask a question. How is it possible to implement “Scenes/Activities” on Processing?

---

## [Help with array (upper bound)](https://discourse.processing.org/t/help-with-array-upper-bound/41208)

<div class="topic-metadata">

**Author:** [@kristianjones](https://discourse.processing.org/u/kristianjones)\
**Replies:** 4\
**Last updated:** [March 9, 2023, 9:39am UTC](https://discourse.processing.org/t/help-with-array-upper-bound/41208 "2023-03-09T09:39:07Z")

</div>

Hi there. I have a question about a sketch i’m working on. I have it working the way I want it to, but, I want to change the amount of images that are displayed randomly from the array. It seems to currently display arou…

---

## [Making SVGs get bigger the further from the center of the canvas they are](https://discourse.processing.org/t/making-svgs-get-bigger-the-further-from-the-center-of-the-canvas-they-are/41200)

<div class="topic-metadata">

**Author:** [@Noobcessing](https://discourse.processing.org/u/Noobcessing)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 8:03pm UTC](https://discourse.processing.org/t/making-svgs-get-bigger-the-further-from-the-center-of-the-canvas-they-are/41200 "2023-03-08T20:03:28Z")

</div>

Hi Guys - Totally new user here hoping to become an established community member, nice to meet you all. I’m hoping to create a project which has randomly rotated scalene triangles (or acute triangles) that are barely vi…

---

## [I want to create a window with height smaller than the minimum allowed by Processing. Is this possible?](https://discourse.processing.org/t/i-want-to-create-a-window-with-height-smaller-than-the-minimum-allowed-by-processing-is-this-possible/40755)

<div class="topic-metadata">

**Author:** [@vinijoncrafts](https://discourse.processing.org/u/vinijoncrafts)\
**Replies:** 5\
**Last updated:** [March 8, 2023, 4:48pm UTC](https://discourse.processing.org/t/i-want-to-create-a-window-with-height-smaller-than-the-minimum-allowed-by-processing-is-this-possible/40755 "2023-03-08T16:48:21Z")

</div>

Idk what else to say. Here’s my code, if that’s relevant. float v = 5; int winX = width/2; int winY = 800; boolean \[\] keys = new boolean\[128\]; import java.awt.Robot; Robot robot; void setup () { size(600, 25); tr…

---

## [Issue with canvas.translate within Syphon library](https://discourse.processing.org/t/issue-with-canvas-translate-within-syphon-library/41197)

<div class="topic-metadata">

**Author:** [@jormetz](https://discourse.processing.org/u/jormetz)\
**Replies:** 2\
**Last updated:** [March 8, 2023, 4:40pm UTC](https://discourse.processing.org/t/issue-with-canvas-translate-within-syphon-library/41197 "2023-03-08T16:40:26Z")

</div>

Hi everybody! I am new to Processing & currently working with the Syphon library to send my sketch to MaxMSP. I’m having a weird issue with translating the canvas in which my sketch is not centered, or some blank canvas…

---

## [My contour doesn't work](https://discourse.processing.org/t/my-contour-doesnt-work/41193)

<div class="topic-metadata">

**Author:** [@TF-SHOCK76](https://discourse.processing.org/u/TF-SHOCK76)\
**Replies:** 2\
**Last updated:** [March 8, 2023, 12:31pm UTC](https://discourse.processing.org/t/my-contour-doesnt-work/41193 "2023-03-08T12:31:20Z")

</div>

I tried to create a plane with a hole in the middle. It works with the example on the documentation, but I don’t succeed to make it work with my values. Is there any constraint on values? Here is my code: float x = 980…

---

## [Arraylist and inheritance](https://discourse.processing.org/t/arraylist-and-inheritance/41073)

<div class="topic-metadata">

**Author:** [@hokuto](https://discourse.processing.org/u/hokuto)\
**Replies:** 8\
**Last updated:** [March 7, 2023, 3:23pm UTC](https://discourse.processing.org/t/arraylist-and-inheritance/41073 "2023-03-07T15:23:48Z")

</div>

I am going to show an example where I am testing the use of inheritance. There are three classes, one that is a ship that can be moved with the keys and shoot, the other class is in charge of shooting and finally there …

---

## [Keyboard to input a word not just letter](https://discourse.processing.org/t/keyboard-to-input-a-word-not-just-letter/41180)

<div class="topic-metadata">

**Author:** [@Dave](https://discourse.processing.org/u/Dave)\
**Replies:** 4\
**Last updated:** [March 7, 2023, 2:39pm UTC](https://discourse.processing.org/t/keyboard-to-input-a-word-not-just-letter/41180 "2023-03-07T14:39:22Z")

</div>

This code takes a 1 letter input from keyboard and moves a pointer what i would like to do is take a 4 letter word input something like if (input == cold ) { do this stuff } thankyou for your time \`Preformatted te…

---

## [How to create a library from projects](https://discourse.processing.org/t/how-to-create-a-library-from-projects/41151)

<div class="topic-metadata">

**Author:** [@urlxd](https://discourse.processing.org/u/urlxd)\
**Replies:** 3\
**Last updated:** [March 6, 2023, 8:48am UTC](https://discourse.processing.org/t/how-to-create-a-library-from-projects/41151 "2023-03-06T08:48:59Z")

</div>

hello, when creating a larger project, I ran into the problem that everything is in one project. I would like to create classes and use it in another project as a library. If there is such an opportunity in “Processing…

---

## [How to improve performance: multiple array operations on pixels](https://discourse.processing.org/t/how-to-improve-performance-multiple-array-operations-on-pixels/41078)

<div class="topic-metadata">

**Author:** [@flodeux](https://discourse.processing.org/u/flodeux)\
**Replies:** 5\
**Last updated:** [March 7, 2023, 12:12pm UTC](https://discourse.processing.org/t/how-to-improve-performance-multiple-array-operations-on-pixels/41078 "2023-03-07T12:12:00Z")

</div>

Hi all :slight\_smile: I’m back to processing. I was using this tool when i was student 10 years ago, and its really pleasure to re-use it ! I’m triyng to use Kinect to generate design and im working to calculate pixels…

---

## [How to position box](https://discourse.processing.org/t/how-to-position-box/41154)

<div class="topic-metadata">

**Author:** [@Dave](https://discourse.processing.org/u/Dave)\
**Replies:** 2\
**Last updated:** [March 7, 2023, 9:35am UTC](https://discourse.processing.org/t/how-to-position-box/41154 "2023-03-07T09:35:27Z")

</div>

The code below is from the example 's that spins a box in the centre of the screen. Can someone please tell me how i move the box to spin in a different part of the screen Thankyou for your time // GetTessGroups, by A…

---

## [Coding problem in my game](https://discourse.processing.org/t/coding-problem-in-my-game/41169)

<div class="topic-metadata">

**Author:** [@MaxU89](https://discourse.processing.org/u/MaxU89)\
**Replies:** 6\
**Last updated:** [March 7, 2023, 2:23am UTC](https://discourse.processing.org/t/coding-problem-in-my-game/41169 "2023-03-07T02:23:57Z")

</div>

Hello. I have once again stumbled across a problem which I couldn’t resolve myself. My Plank does interact with the ball, but only sometimes. And sometimes on the edge the ball just bursts through. I think the problem is…

---

## [Help with analyzing file with Sound Library](https://discourse.processing.org/t/help-with-analyzing-file-with-sound-library/41166)

<div class="topic-metadata">

**Author:** [@andew](https://discourse.processing.org/u/andew)\
**Replies:** 2\
**Last updated:** [March 6, 2023, 8:32pm UTC](https://discourse.processing.org/t/help-with-analyzing-file-with-sound-library/41166 "2023-03-06T20:32:27Z")

</div>

Hello, I am extremely new to coding so apologies if my formatting or knowledge is off. I am trying to analyze a sound file using the Sound Library and display a visualization of it using the Fast Fourier Transform (FFT)…

---

## [Py5 beginner documentation](https://discourse.processing.org/t/py5-beginner-documentation/36092)

<div class="topic-metadata">

**Author:** [@jaivanti](https://discourse.processing.org/u/jaivanti)\
**Replies:** 20\
**Last updated:** [March 6, 2023, 11:28am UTC](https://discourse.processing.org/t/py5-beginner-documentation/36092 "2023-03-06T11:28:10Z")

</div>

Just wanted to know do we have to contribute to processing before working on this project? Like I am pretty much well versed with py5 on basic level…and pretty much can make notebooks related to it as well. So Is there a…

---

## [Fading and Zoom (image slideshow)](https://discourse.processing.org/t/fading-and-zoom-image-slideshow/40812)

<div class="topic-metadata">

**Author:** [@ajaynischal98](https://discourse.processing.org/u/ajaynischal98)\
**Replies:** 33\
**Last updated:** [March 5, 2023, 10:31pm UTC](https://discourse.processing.org/t/fading-and-zoom-image-slideshow/40812 "2023-03-05T22:31:45Z")

</div>

Hi I have a txt file that contains image names. I am trying to take the first image and fade slowly into the second image. I then want to start zooming into the second image to about 500x. I tried to do it but for some r…

---

## [NullPointerExpection in for loop](https://discourse.processing.org/t/nullpointerexpection-in-for-loop/41150)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 3\
**Last updated:** [March 5, 2023, 11:09am UTC](https://discourse.processing.org/t/nullpointerexpection-in-for-loop/41150 "2023-03-05T11:09:37Z")

</div>

for(int i = maxlayers+1; i \> 0; i-=1) { image(layers\[i+1\], xpos, ypos, xsize\*zoomx, ysize\*zoomy); } This code for some reason just return “NPE NullPointerExpection” why? i dont know! thats why im asking you! A…

---

## [Wrong item in the list is triggered, which is weird and not what is intended + contribution](https://discourse.processing.org/t/wrong-item-in-the-list-is-triggered-which-is-weird-and-not-what-is-intended-contribution/41136)

<div class="topic-metadata">

**Author:** [@woshibide](https://discourse.processing.org/u/woshibide)\
**Replies:** 4\
**Last updated:** [March 4, 2023, 6:46pm UTC](https://discourse.processing.org/t/wrong-item-in-the-list-is-triggered-which-is-weird-and-not-what-is-intended-contribution/41136 "2023-03-04T18:46:29Z")

</div>

I’m trying to build a basic sound sampler, where on each key pressed sound is played And I have everything working, but with 1 annoying bug: Whenever item N is pressed, on the screen it triggers N+1, and this bit of…

---

## [Processing script doesn't run on Pi4B and OpenJDK 17](https://discourse.processing.org/t/processing-script-doesnt-run-on-pi4b-and-openjdk-17/41115)

<div class="topic-metadata">

**Author:** [@OnkelDittmeyer](https://discourse.processing.org/u/OnkelDittmeyer)\
**Replies:** 0\
**Last updated:** [March 2, 2023, 6:56am UTC](https://discourse.processing.org/t/processing-script-doesnt-run-on-pi4b-and-openjdk-17/41115 "2023-03-02T06:56:51Z")

</div>

New installation of Processing4.2-linux-arm64 and openJDK17, no scripts can be ‘run’, exporting them for 64bit pi works but even simple sketches have a horrible performance. Error is the same every time. Ideas and/or hin…

---

## [How to deactivate 50.000ms start timer?](https://discourse.processing.org/t/how-to-deactivate-50-000ms-start-timer/41143)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 1\
**Last updated:** [March 4, 2023, 7:57pm UTC](https://discourse.processing.org/t/how-to-deactivate-50-000ms-start-timer/41143 "2023-03-04T19:57:55Z")

</div>

How can i deactivate that, if an app needs more than 50.000ms to startup, that it automaticly returns an Error, because i want to start 512 3k pgraphics at once, and the programm does not lag, if i do it while its runnin…

---

## [How do i change the icon of the exported exe?](https://discourse.processing.org/t/how-do-i-change-the-icon-of-the-exported-exe/41140)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 4\
**Last updated:** [March 4, 2023, 3:43pm UTC](https://discourse.processing.org/t/how-do-i-change-the-icon-of-the-exported-exe/41140 "2023-03-04T15:43:12Z")

</div>

I want to change the icon of the exe, when compiled it shows the basic Processing icon. How do i change it? Ressource hacker works, but if i try opening it it opens with an error.

---

## [Is anyone using Processing or p5.js library in the classroom or coding club?](https://discourse.processing.org/t/is-anyone-using-processing-or-p5-js-library-in-the-classroom-or-coding-club/39979)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 4\
**Last updated:** [March 4, 2023, 4:58pm UTC](https://discourse.processing.org/t/is-anyone-using-processing-or-p5-js-library-in-the-classroom-or-coding-club/39979 "2023-03-04T16:58:09Z")

</div>

Is anyone using Processing or p5.js library in the classroom or coding club? I’m trying to connect to CS teachers or educators teaching coding in schools and coding clubs. I’m about to develop an illustrated coding cur…

---

## [How to target a specific connection on macos](https://discourse.processing.org/t/how-to-target-a-specific-connection-on-macos/41113)

<div class="topic-metadata">

**Author:** [@npuckett](https://discourse.processing.org/u/npuckett)\
**Replies:** 7\
**Last updated:** [March 4, 2023, 3:33pm UTC](https://discourse.processing.org/t/how-to-target-a-specific-connection-on-macos/41113 "2023-03-04T15:33:23Z")

</div>

So, I’m working on a sketch that reads and relays data from a Universal UR10E. Grabs the data over TCP modbus, formats the data 2 ways. Osc that it sends to localhost Websocket as JSON The wired ethernet connection t…

---

## [Possible to change top bars layout? (window frame color)](https://discourse.processing.org/t/possible-to-change-top-bars-layout-window-frame-color/40914)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 3\
**Last updated:** [March 4, 2023, 3:26pm UTC](https://discourse.processing.org/t/possible-to-change-top-bars-layout-window-frame-color/40914 "2023-03-04T15:26:03Z")

</div>

Is it possible to change how the bar looks in Windows, where the minimize, window & exit buttons are. Can you change the color of that?

---

## [\[WARNING: Flickering images\] saveGif() inserting blank (black) frame when triggering in setup()](https://discourse.processing.org/t/warning-flickering-images-savegif-inserting-blank-black-frame-when-triggering-in-setup/41131)

<div class="topic-metadata">

**Author:** [@jernwerber](https://discourse.processing.org/u/jernwerber)\
**Replies:** 4\
**Last updated:** [March 4, 2023, 3:03am UTC](https://discourse.processing.org/t/warning-flickering-images-savegif-inserting-blank-black-frame-when-triggering-in-setup/41131 "2023-03-04T03:03:48Z")

</div>

Hey folks, The reference documentation says that you can call saveGif() during setup() or in an event function. I’m having an issue with a black frame when calling it during setup() and I’m trying to figure out if this …

---

## [Movie Maker version 4.1.3](https://discourse.processing.org/t/movie-maker-version-4-1-3/41102)

<div class="topic-metadata">

**Author:** [@Kylle](https://discourse.processing.org/u/Kylle)\
**Replies:** 3\
**Last updated:** [March 3, 2023, 9:39am UTC](https://discourse.processing.org/t/movie-maker-version-4-1-3/41102 "2023-03-03T09:39:04Z")

</div>

Hi I am using, for me, a new version of Processing (4.1.3). I have produced a number of image files: 1.png, 2.png… 250.png and have the saved in a special frame folder. When I am running the movie maker it does not …

---

## [P5.js drum machine](https://discourse.processing.org/t/p5-js-drum-machine/39843)

<div class="topic-metadata">

**Author:** [@alenmartel](https://discourse.processing.org/u/alenmartel)\
**Replies:** 2\
**Last updated:** [March 3, 2023, 2:47am UTC](https://discourse.processing.org/t/p5-js-drum-machine/39843 "2023-03-03T02:47:22Z")

</div>

Good evening all; I am continuing working on a project, which is essentially a drum machine whose tempo you can adjust in real time using a slider. That is, you can set up the drum machine and play it and as it’s playin…

---

## [Random object of four in each square of a grid](https://discourse.processing.org/t/random-object-of-four-in-each-square-of-a-grid/41034)

<div class="topic-metadata">

**Author:** [@i-draw-monkeys](https://discourse.processing.org/u/i-draw-monkeys)\
**Replies:** 13\
**Last updated:** [March 2, 2023, 7:03pm UTC](https://discourse.processing.org/t/random-object-of-four-in-each-square-of-a-grid/41034 "2023-03-02T19:03:17Z")

</div>

I feel like I should know the answer to this or figure it out but I feel stuck. I am drawing a grid, let’s say 4x4, and I have 4 different shapes or items that I want to draw. Each frame I want each square of my grid to…

---

## [Diagonal move not working](https://discourse.processing.org/t/diagonal-move-not-working/41103)

<div class="topic-metadata">

**Author:** [@hokuto](https://discourse.processing.org/u/hokuto)\
**Replies:** 3\
**Last updated:** [March 2, 2023, 4:27pm UTC](https://discourse.processing.org/t/diagonal-move-not-working/41103 "2023-03-02T16:27:04Z")

</div>

//clase jugador-------------------------------------- class Jugador extends Padre{ private float x,y,velocidad; private PImage grafico = loadImage("jugador.png"); private Disparo disparo1; private int contador; …

---

## [Help with projecting a 3D point to the 2D view](https://discourse.processing.org/t/help-with-projecting-a-3d-point-to-the-2d-view/41112)

<div class="topic-metadata">

**Author:** [@Flon](https://discourse.processing.org/u/Flon)\
**Replies:** 4\
**Last updated:** [March 2, 2023, 11:02am UTC](https://discourse.processing.org/t/help-with-projecting-a-3d-point-to-the-2d-view/41112 "2023-03-02T11:02:18Z")

</div>

Hi all, can anyone offer insight into how the PGraphics3D “projection” and “modelview” (or combined “projmodelview” ) matrices are used to convert a 3d vector in the scene to a final 2d vector on the rasterized screen? I…

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

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