# Latest

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

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

**Page:** 76

---

## [Processing 4 and JDK 19 Virtual Threads](https://discourse.processing.org/t/processing-4-and-jdk-19-virtual-threads/41734)

<div class="topic-metadata">

**Author:** [@Enda](https://discourse.processing.org/u/Enda)\
**Replies:** 5\
**Last updated:** [April 16, 2023, 9:04pm UTC](https://discourse.processing.org/t/processing-4-and-jdk-19-virtual-threads/41734 "2023-04-16T21:04:16Z")

</div>

Hi all. I would like to use Virtual Threads in my game. Do you know if Processing 4 is compatible with JDK 19? My game seems to consistently hover around 22fps at the moment while the computers CPU/RAM/GPU are not clo…

---

## [For Makey MakeyQuick 8 key video keyboard](https://discourse.processing.org/t/for-makey-makeyquick-8-key-video-keyboard/41740)

<div class="topic-metadata">

**Author:** [@patlichty1](https://discourse.processing.org/u/patlichty1)\
**Replies:** 0\
**Last updated:** [April 16, 2023, 7:14pm UTC](https://discourse.processing.org/t/for-makey-makeyquick-8-key-video-keyboard/41740 "2023-04-16T19:14:37Z")

</div>

I have frequently seen people looking for a quick and easy way to hook up a makey makey and have it to play up to eight videos. Here’s the code I worked out from existing pieces I found on the web. Make a data directorie…

---

## [Run Processing with SSH command issue](https://discourse.processing.org/t/run-processing-with-ssh-command-issue/41738)

<div class="topic-metadata">

**Author:** [@jokoko](https://discourse.processing.org/u/jokoko)\
**Replies:** 0\
**Last updated:** [April 16, 2023, 4:07pm UTC](https://discourse.processing.org/t/run-processing-with-ssh-command-issue/41738 "2023-04-16T16:07:06Z")

</div>

Hi, I’m still working on my project, and I’d like to start several sketch (only one at a time) by distance (from a command laptop to my video laptop) So I managed to make it with SSH. I installed a small wifi rooter. …

---

## [Unable to open JavaFX window in Android mode](https://discourse.processing.org/t/unable-to-open-javafx-window-in-android-mode/41709)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 0\
**Last updated:** [April 13, 2023, 6:29pm UTC](https://discourse.processing.org/t/unable-to-open-javafx-window-in-android-mode/41709 "2023-04-13T18:29:16Z")

</div>

Anyone know why this throws an exception in Android mode: import javafx.stage.Stage; void setup(){ } void draw(){ }

---

## [Processing OpenGL issue under Linux](https://discourse.processing.org/t/processing-opengl-issue-under-linux/40677)

<div class="topic-metadata">

**Author:** [@Divitiacus](https://discourse.processing.org/u/Divitiacus)\
**Replies:** 4\
**Last updated:** [April 16, 2023, 2:52pm UTC](https://discourse.processing.org/t/processing-opengl-issue-under-linux/40677 "2023-04-16T14:52:33Z")

</div>

There seems to be a general issue with OpenGL at least since 3.5.4. under Linux. There are different threads for this and they stay mostly unresolved. I have the same issue and cannot use 3D in Processing after updating…

---

## [Why does my Arduino code not register data from Processing?](https://discourse.processing.org/t/why-does-my-arduino-code-not-register-data-from-processing/41719)

<div class="topic-metadata">

**Author:** [@REK166](https://discourse.processing.org/u/REK166)\
**Replies:** 4\
**Last updated:** [April 16, 2023, 2:47pm UTC](https://discourse.processing.org/t/why-does-my-arduino-code-not-register-data-from-processing/41719 "2023-04-16T14:47:22Z")

</div>

I am trying to control a 32x32 led matrix display using Processing. My Arduino code works fine, as far as i can tell. It can interact with my display and if i send text using the Arduino IDEs serial monitor, the LEDs lig…

---

## [List of cameras available but none accessible](https://discourse.processing.org/t/list-of-cameras-available-but-none-accessible/41721)

<div class="topic-metadata">

**Author:** [@loom](https://discourse.processing.org/u/loom)\
**Replies:** 2\
**Last updated:** [April 16, 2023, 1:11pm UTC](https://discourse.processing.org/t/list-of-cameras-available-but-none-accessible/41721 "2023-04-16T13:11:13Z")

</div>

Hi there! I’m trying to run a code that needs to use a camera using the processing.video library but would give me errors. After some trial and error, I found that processing is able to list out the cameras that are con…

---

## [Creating an equalizer in Processing 4 (preferably using the Minim library)](https://discourse.processing.org/t/creating-an-equalizer-in-processing-4-preferably-using-the-minim-library/41735)

<div class="topic-metadata">

**Author:** [@TT3overnot](https://discourse.processing.org/u/TT3overnot)\
**Replies:** 1\
**Last updated:** [April 16, 2023, 1:52pm UTC](https://discourse.processing.org/t/creating-an-equalizer-in-processing-4-preferably-using-the-minim-library/41735 "2023-04-16T13:52:13Z")

</div>

I recently started work on a simple music player in processing using the minim library. The program is almost ready just one thing left, equalization. Put simpler I am trying to play certain frequencies louder than other…

---

## [Sound library -\> get 2 different audio Inputs](https://discourse.processing.org/t/sound-library-get-2-different-audio-inputs/41705)

<div class="topic-metadata">

**Author:** [@carlesgutierrez](https://discourse.processing.org/u/carlesgutierrez)\
**Replies:** 5\
**Last updated:** [April 16, 2023, 12:59pm UTC](https://discourse.processing.org/t/sound-library-get-2-different-audio-inputs/41705 "2023-04-16T12:59:21Z")

</div>

Hi dears, I’ve been using sound library to capture audio and check & visualize the FFT of an audio Input. I’m using windows10 and selecting my audio input from sound properties as is explained in this post -\>getting-liv…

---

## ["Translation Trouble " while installing Processing 4.2](https://discourse.processing.org/t/translation-trouble-while-installing-processing-4-2/41730)

<div class="topic-metadata">

**Author:** [@Tawsif\_Khan](https://discourse.processing.org/u/Tawsif_Khan)\
**Replies:** 2\
**Last updated:** [April 15, 2023, 11:32am UTC](https://discourse.processing.org/t/translation-trouble-while-installing-processing-4-2/41730 "2023-04-15T11:32:29Z")

</div>

Hi Having problem while opening the Processing 4.2 .exe

---

## [Artificial intelligence for pong](https://discourse.processing.org/t/artificial-intelligence-for-pong/41713)

<div class="topic-metadata">

**Author:** [@hokuto](https://discourse.processing.org/u/hokuto)\
**Replies:** 5\
**Last updated:** [April 15, 2023, 7:16am UTC](https://discourse.processing.org/t/artificial-intelligence-for-pong/41713 "2023-04-15T07:16:57Z")

</div>

I’m trying to do the pong, I haven’t added the collision with the rackets yet because I’m trying to understand the collisions. What I would like to know is how to make the racket that controls the cpu have a little inte…

---

## [How to make an drawing sketch of the Godzilla heat beam, without leaving a trace of the beam line?](https://discourse.processing.org/t/how-to-make-an-drawing-sketch-of-the-godzilla-heat-beam-without-leaving-a-trace-of-the-beam-line/41681)

<div class="topic-metadata">

**Author:** [@Gittoo](https://discourse.processing.org/u/Gittoo)\
**Replies:** 5\
**Last updated:** [April 14, 2023, 10:26am UTC](https://discourse.processing.org/t/how-to-make-an-drawing-sketch-of-the-godzilla-heat-beam-without-leaving-a-trace-of-the-beam-line/41681 "2023-04-14T10:26:02Z")

</div>

let drawing = \[\]; let city; function preload() { city = loadImage("city.jpg"); } function setup() { createCanvas(city.width, city.height); } function mouseDragged() { drawing.push({ mouseX: mouseX, mouse…

---

## [Preserving Stroke Color in PGS Library when subtracting Shapes](https://discourse.processing.org/t/preserving-stroke-color-in-pgs-library-when-subtracting-shapes/41612)

<div class="topic-metadata">

**Author:** [@hotti](https://discourse.processing.org/u/hotti)\
**Replies:** 2\
**Last updated:** [April 14, 2023, 4:31am UTC](https://discourse.processing.org/t/preserving-stroke-color-in-pgs-library-when-subtracting-shapes/41612 "2023-04-14T04:31:40Z")

</div>

Hello everyone, I have a question about using the Processing Geometry Suite (PGS) library. I’m working on a code that subtracts a ‘circleShape’ from a collection of lines called ‘lines’. When generating the ‘lines’, I…

---

## [Game pause and return key issues](https://discourse.processing.org/t/game-pause-and-return-key-issues/41702)

<div class="topic-metadata">

**Author:** [@hokuto](https://discourse.processing.org/u/hokuto)\
**Replies:** 6\
**Last updated:** [April 13, 2023, 7:04pm UTC](https://discourse.processing.org/t/game-pause-and-return-key-issues/41702 "2023-04-13T19:04:41Z")

</div>

I have an application that manages the title screen and the game screen. I would like to know how to do so that when it is in the game screen and the “p” key is pressed, the game is paused and when it is paused and it is…

---

## [How to implement adobe font into p5.js canvas by using textFont()](https://discourse.processing.org/t/how-to-implement-adobe-font-into-p5-js-canvas-by-using-textfont/41710)

<div class="topic-metadata">

**Author:** [@WaningJupiter](https://discourse.processing.org/u/WaningJupiter)\
**Replies:** 1\
**Last updated:** [April 13, 2023, 6:59pm UTC](https://discourse.processing.org/t/how-to-implement-adobe-font-into-p5-js-canvas-by-using-textfont/41710 "2023-04-13T18:59:38Z")

</div>

Hello, friends, I searched the forum, while there were several discussions around the topic, I was unable to find the answer I was looking for. Is it possible to use Typekit or Adobe fonts at the canvas level inside of…

---

## [How to add a text input for a TextToPoints project](https://discourse.processing.org/t/how-to-add-a-text-input-for-a-texttopoints-project/41686)

<div class="topic-metadata">

**Author:** [@qmartial](https://discourse.processing.org/u/qmartial)\
**Replies:** 2\
**Last updated:** [April 13, 2023, 2:22pm UTC](https://discourse.processing.org/t/how-to-add-a-text-input-for-a-texttopoints-project/41686 "2023-04-13T14:22:29Z")

</div>

Hello everyone ! I am still very new to P5js, and i’m trying to experiment generative/interactive typography for an art school project ; i followed a tutorial by Jeff Thompson about experimenting the TextToPoints effect…

---

## [P5.js Editor wrong p5.js says: p5 had problems creating the global function "createElement"](https://discourse.processing.org/t/p5-js-editor-wrong-p5-js-says-p5-had-problems-creating-the-global-function-createelement/41596)

<div class="topic-metadata">

**Author:** [@Zwaan](https://discourse.processing.org/u/Zwaan)\
**Replies:** 5\
**Last updated:** [April 13, 2023, 8:05am UTC](https://discourse.processing.org/t/p5-js-editor-wrong-p5-js-says-p5-had-problems-creating-the-global-function-createelement/41596 "2023-04-13T08:05:44Z")

</div>

Hello, I have problem with P5.js Editor all the time. error message. there is not right. I get caught. Chrome and Edge same error message. "p5.js says: p5 had problems creating the global function “createElement”, possib…

---

## [JFrame does not show top bar after it is exported as application](https://discourse.processing.org/t/jframe-does-not-show-top-bar-after-it-is-exported-as-application/41668)

<div class="topic-metadata">

**Author:** [@Martin\_The\_Sun](https://discourse.processing.org/u/Martin_The_Sun)\
**Replies:** 3\
**Last updated:** [April 13, 2023, 7:56am UTC](https://discourse.processing.org/t/jframe-does-not-show-top-bar-after-it-is-exported-as-application/41668 "2023-04-13T07:56:43Z")

</div>

Hi, my program displays an interface inside a JFrame and this JFrame has a top bar as what an usual JFrame has. When I used Processing 3, this top bar can be seen either when i run the program inside Processing or export…

---

## [Shape generator help (Armin Hofmann’s ‘rubber band’ shape generator) #2](https://discourse.processing.org/t/shape-generator-help-armin-hofmann-s-rubber-band-shape-generator-2/41693)

<div class="topic-metadata">

**Author:** [@SvenHW](https://discourse.processing.org/u/SvenHW)\
**Replies:** 1\
**Last updated:** [April 13, 2023, 1:28am UTC](https://discourse.processing.org/t/shape-generator-help-armin-hofmann-s-rubber-band-shape-generator-2/41693 "2023-04-13T01:28:35Z")

</div>

Can someone help me with my code? I tried to auto generate the shapes from Armin Hofmann but don’t know how to get further. This is what I have now: This his how it should be:

---

## [Random walker on certain part of the canvas](https://discourse.processing.org/t/random-walker-on-certain-part-of-the-canvas/41696)

<div class="topic-metadata">

**Author:** [@Alesk1969](https://discourse.processing.org/u/Alesk1969)\
**Replies:** 9\
**Last updated:** [April 12, 2023, 9:26pm UTC](https://discourse.processing.org/t/random-walker-on-certain-part-of-the-canvas/41696 "2023-04-12T21:26:56Z")

</div>

Hi! I’m playing around with a Random Walker code. How can I make the Walker to be displayed only at the bottom half of the screen with the following code? And also not disapearing from the canvas ? Thanks in advance fo…

---

## [Debayering images from cameras](https://discourse.processing.org/t/debayering-images-from-cameras/41520)

<div class="topic-metadata">

**Author:** [@animalfrommars](https://discourse.processing.org/u/animalfrommars)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 3:52pm UTC](https://discourse.processing.org/t/debayering-images-from-cameras/41520 "2023-04-12T15:52:29Z")

</div>

Hello, I’ve got to cameras from “Imaging Source”. I’ve just resolved the problem of connection but i receive raw images and need to Debayer it but don’t know how to do that… I’ have also a problem with the video Libra…

---

## [Chess board overfilling height](https://discourse.processing.org/t/chess-board-overfilling-height/41695)

<div class="topic-metadata">

**Author:** [@cornelius](https://discourse.processing.org/u/cornelius)\
**Replies:** 8\
**Last updated:** [April 12, 2023, 1:04pm UTC](https://discourse.processing.org/t/chess-board-overfilling-height/41695 "2023-04-12T13:04:18Z")

</div>

Hi I’ve just started using processing. I’ll put the code below, but first the problem. I have to setup a 14x14 chessboard in a 672x672 board (plus a 120 pixel-wide sidebar, where each tile is 48 pixels square. I set up…

---

## [FFT sound library for data stream from the Serial port](https://discourse.processing.org/t/fft-sound-library-for-data-stream-from-the-serial-port/41670)

<div class="topic-metadata">

**Author:** [@IHOR](https://discourse.processing.org/u/IHOR)\
**Replies:** 1\
**Last updated:** [April 11, 2023, 9:57pm UTC](https://discourse.processing.org/t/fft-sound-library-for-data-stream-from-the-serial-port/41670 "2023-04-11T21:57:21Z")

</div>

Is that possible to stream data from the Serial port to FFT sound library?

---

## [Color differences between on-screen and saved image (Mac)](https://discourse.processing.org/t/color-differences-between-on-screen-and-saved-image-mac/41680)

<div class="topic-metadata">

**Author:** [@RichyHo](https://discourse.processing.org/u/RichyHo)\
**Replies:** 8\
**Last updated:** [April 11, 2023, 8:54pm UTC](https://discourse.processing.org/t/color-differences-between-on-screen-and-saved-image-mac/41680 "2023-04-11T20:54:15Z")

</div>

Similar to this, I am experiencing color consistency problems on my M1 Macbook Pro using the latest version of Processing. Image looks vibrant on screen. If I do a screen grab within the OS then the colors are maintaine…

---

## [Check a match with serial port. How to make a simple test? Should I use a class?](https://discourse.processing.org/t/check-a-match-with-serial-port-how-to-make-a-simple-test-should-i-use-a-class/41683)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [April 11, 2023, 2:30pm UTC](https://discourse.processing.org/t/check-a-match-with-serial-port-how-to-make-a-simple-test-should-i-use-a-class/41683 "2023-04-11T14:30:34Z")

</div>

Hi everyones! I tried to create a class to list what is plugged on serial port. Then if a string match with a specific port, I want to see if it is true or not. the program listing port is below import processing.ser…

---

## [How to make an image tint while displaying another image, when I release the mouse? {P5js}](https://discourse.processing.org/t/how-to-make-an-image-tint-while-displaying-another-image-when-i-release-the-mouse-p5js/41677)

<div class="topic-metadata">

**Author:** [@Gittoo](https://discourse.processing.org/u/Gittoo)\
**Replies:** 2\
**Last updated:** [April 11, 2023, 11:12am UTC](https://discourse.processing.org/t/how-to-make-an-image-tint-while-displaying-another-image-when-i-release-the-mouse-p5js/41677 "2023-04-11T11:12:22Z")

</div>

let house; let ghost; let tinted = false; function preload() { house = loadImage('Haunted House.jpg'); } function setup() { createCanvas(house.width, house.height); ghost= loadImage('ghost.png'); tint(255, 3…

---

## [\[Android\] ListView imageview - How should I load the image file?](https://discourse.processing.org/t/android-listview-imageview-how-should-i-load-the-image-file/41650)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 6\
**Last updated:** [April 10, 2023, 10:01pm UTC](https://discourse.processing.org/t/android-listview-imageview-how-should-i-load-the-image-file/41650 "2023-04-10T22:01:48Z")

</div>

\[Android\] List image view - How should I load the image file? List example site: https://github.com/EmmanuelPil/Android-java-code-utilities-widgets-for-Processing-for-Android/blob/master/ListView.txt (Thanks to Dear n…

---

## [\[Android\] - IPCapture library problem](https://discourse.processing.org/t/android-ipcapture-library-problem/41615)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 9\
**Last updated:** [April 10, 2023, 5:32am UTC](https://discourse.processing.org/t/android-ipcapture-library-problem/41615 "2023-04-10T05:32:12Z")

</div>

\[Android\] - ipcapture library problem hello. Nice to meet you. step-7 run-1 run-2 run-3 (HTTPLog)-Static: isSBSettingEnabled false (HTTPLog)-Static: isSBSettingEnabled false Unable to open I/O streams (app): http://20.…

---

## [Hi I need help with this question (triangle at mouse position)](https://discourse.processing.org/t/hi-i-need-help-with-this-question-triangle-at-mouse-position/41593)

<div class="topic-metadata">

**Author:** [@Computerscience](https://discourse.processing.org/u/Computerscience)\
**Replies:** 4\
**Last updated:** [April 9, 2023, 9:07pm UTC](https://discourse.processing.org/t/hi-i-need-help-with-this-question-triangle-at-mouse-position/41593 "2023-04-09T21:07:24Z")

</div>

Write a program to draw a triangle() with its center at the mouse pointer. The triangle should not change size or rotate as it moves. Give each triangle a different fill() colour. Try using a different mouse cursor.

---

## [addMouseWheelListener not recognized in MapThing example](https://discourse.processing.org/t/addmousewheellistener-not-recognized-in-mapthing-example/41662)

<div class="topic-metadata">

**Author:** [@mikLomba](https://discourse.processing.org/u/mikLomba)\
**Replies:** 6\
**Last updated:** [April 9, 2023, 8:51pm UTC](https://discourse.processing.org/t/addmousewheellistener-not-recognized-in-mapthing-example/41662 "2023-04-09T20:51:31Z")

</div>

I installed the MapThing library. When i try to run the example i get the error “addMouseWheelListener dindn’t exist”. This occurs both using processing 3 or 4 and on different PC. What’s wrong ?

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

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