# Latest

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

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

**Page:** 77

---

## [Flat bed scanner image input to Processing](https://discourse.processing.org/t/flat-bed-scanner-image-input-to-processing/41663)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 0\
**Last updated:** [April 9, 2023, 4:46pm UTC](https://discourse.processing.org/t/flat-bed-scanner-image-input-to-processing/41663 "2023-04-09T16:46:22Z")

</div>

Has anyone found a lib or way to communicate with a usb flatbed scanner to scan and input images for processing program directly? I don’t want to use a different app to scan the images, I want to scan them with processi…

---

## [If statement in the for loop: how to control behaviour of element based on its index number](https://discourse.processing.org/t/if-statement-in-the-for-loop-how-to-control-behaviour-of-element-based-on-its-index-number/41637)

<div class="topic-metadata">

**Author:** [@WaningJupiter](https://discourse.processing.org/u/WaningJupiter)\
**Replies:** 9\
**Last updated:** [April 9, 2023, 8:45pm UTC](https://discourse.processing.org/t/if-statement-in-the-for-loop-how-to-control-behaviour-of-element-based-on-its-index-number/41637 "2023-04-09T20:45:36Z")

</div>

Hi Here’s my situation : I have 3 lines of text, displayed like this : line1. Hello line2. Hello line3. Hello I want the first line to move towards the right direction, the second to the left, the third to the righ…

---

## [How can i improve the performance of this code?](https://discourse.processing.org/t/how-can-i-improve-the-performance-of-this-code/41645)

<div class="topic-metadata">

**Author:** [@Drachenbauer](https://discourse.processing.org/u/Drachenbauer)\
**Replies:** 2\
**Last updated:** [April 9, 2023, 7:50pm UTC](https://discourse.processing.org/t/how-can-i-improve-the-performance-of-this-code/41645 "2023-04-09T19:50:08Z")

</div>

Hello i made this work on recent Processing 4: yoyleCityWords But rendering the city in full style (press “T” while running the code) takes about a minute. it takes a red and green picture of 120 pixels width and 80 p…

---

## [Modifying a Sketch Startup Routine - different background](https://discourse.processing.org/t/modifying-a-sketch-startup-routine-different-background/41649)

<div class="topic-metadata">

**Author:** [@hooeef](https://discourse.processing.org/u/hooeef)\
**Replies:** 2\
**Last updated:** [April 9, 2023, 2:36am UTC](https://discourse.processing.org/t/modifying-a-sketch-startup-routine-different-background/41649 "2023-04-09T02:36:23Z")

</div>

This question was posted by stmacarelli in the Processing Forum and now I am running into the same issue. When a processing sketch starts, it will show a grey blank screen. How can I change it to say see a black backgr…

---

## [New Library for HPGL Pen Plotters](https://discourse.processing.org/t/new-library-for-hpgl-pen-plotters/41658)

<div class="topic-metadata">

**Author:** [@awdriggs](https://discourse.processing.org/u/awdriggs)\
**Replies:** 0\
**Last updated:** [April 8, 2023, 7:55pm UTC](https://discourse.processing.org/t/new-library-for-hpgl-pen-plotters/41658 "2023-04-08T19:55:15Z")

</div>

I’ve been working on a new library that allows for processing to interface with HPGL pen plotters. Here is a link to the project page: Processing 2 hpgl And here is the source code: GitHub - awdriggs/processing2hpgl: P…

---

## [\`keyPressed\` event does not trigger with Java project referencing \`core.jar\`](https://discourse.processing.org/t/keypressed-event-does-not-trigger-with-java-project-referencing-core-jar/41655)

<div class="topic-metadata">

**Author:** [@benjamin-thomas](https://discourse.processing.org/u/benjamin-thomas)\
**Replies:** 4\
**Last updated:** [April 8, 2023, 5:27pm UTC](https://discourse.processing.org/t/keypressed-event-does-not-trigger-with-java-project-referencing-core-jar/41655 "2023-04-08T17:27:18Z")

</div>

Hello! I’d like to play with Processing, but I’d favor using IntelliJ rather than the custom IDE. I’ve managed to get a basic project running, however the key events don’t seem to register. Here’s a minimal example. i…

---

## [Android Options Menu](https://discourse.processing.org/t/android-options-menu/14724)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 9\
**Last updated:** [October 22, 2019, 5:09am UTC](https://discourse.processing.org/t/android-options-menu/14724 "2019-10-22T05:09:44Z")

</div>

@kfrajer I found a code in a post yours on the last forum. However it seemingly only worked on android mode version 3.0.2 and not on version 4.x You said you would look in to that later. Did you get it working? I have…

---

## [Matters.js - Obstacles not working](https://discourse.processing.org/t/matters-js-obstacles-not-working/41646)

<div class="topic-metadata">

**Author:** [@Alesk1969](https://discourse.processing.org/u/Alesk1969)\
**Replies:** 1\
**Last updated:** [April 8, 2023, 4:17am UTC](https://discourse.processing.org/t/matters-js-obstacles-not-working/41646 "2023-04-08T04:17:11Z")

</div>

Hi! I’m following the matter.js for P5.js 'Coding Train tutorials (I’m at the second video) and I’m completely stuck with a bug. I don’t know if some of you are familiar with this library and could help me? I’m sett…

---

## [Trouble with homework](https://discourse.processing.org/t/trouble-with-homework/41647)

<div class="topic-metadata">

**Author:** [@Computerscience](https://discourse.processing.org/u/Computerscience)\
**Replies:** 5\
**Last updated:** [April 8, 2023, 2:38am UTC](https://discourse.processing.org/t/trouble-with-homework/41647 "2023-04-08T02:38:57Z")

</div>

Question: Modify your solution to Q1 such that the diameter of the circle grows and shrinks depending on the distance of the mouse pointer to the center of the circle. Hints: You’ll need the dist() function and the multi…

---

## [Group SVG loaded shape](https://discourse.processing.org/t/group-svg-loaded-shape/41636)

<div class="topic-metadata">

**Author:** [@mrbbp](https://discourse.processing.org/u/mrbbp)\
**Replies:** 5\
**Last updated:** [April 7, 2023, 7:37am UTC](https://discourse.processing.org/t/group-svg-loaded-shape/41636 "2023-04-07T07:37:24Z")

</div>

Hello, i’m playing with drawn letters in svg, and put together to build words. Something to make poster drawn by an axidraw I would like to group letters to manipulate group easily. (center word in the screen, etc, et…

---

## [What is used instead of \`void processing.core.PVector.add(processing.core.PVector)\` now?](https://discourse.processing.org/t/what-is-used-instead-of-void-processing-core-pvector-add-processing-core-pvector-now/41639)

<div class="topic-metadata">

**Author:** [@Drachenbauer](https://discourse.processing.org/u/Drachenbauer)\
**Replies:** 2\
**Last updated:** [April 6, 2023, 5:36pm UTC](https://discourse.processing.org/t/what-is-used-instead-of-void-processing-core-pvector-add-processing-core-pvector-now/41639 "2023-04-06T17:36:04Z")

</div>

\[Video about image to 3d-city generator(https://www.youtube.com/watch?v=y0nsXiI\_I9c) I am interested in the application, that he shows here and he shares it for free through github (link in video-description). In his v…

---

## [Welcome back? I haven't been away](https://discourse.processing.org/t/welcome-back-i-havent-been-away/41635)

<div class="topic-metadata">

**Author:** [@RichardDL](https://discourse.processing.org/u/RichardDL)\
**Replies:** 3\
**Last updated:** [April 6, 2023, 4:43pm UTC](https://discourse.processing.org/t/welcome-back-i-havent-been-away/41635 "2023-04-06T16:43:12Z")

</div>

What is it with this “Welcome back” (WB) fashion? I’ve just changed laptop and signed in to the forum on the new one, new browser, no cookies. The login page had “Welcome back”. I haven’t been anywhere, and was probab…

---

## [2 PApplets synchronization](https://discourse.processing.org/t/2-papplets-synchronization/41623)

<div class="topic-metadata">

**Author:** [@gerome](https://discourse.processing.org/u/gerome)\
**Replies:** 2\
**Last updated:** [April 6, 2023, 11:21am UTC](https://discourse.processing.org/t/2-papplets-synchronization/41623 "2023-04-06T11:21:48Z")

</div>

In my Java programme (running on Win10) I have several PApplets created with runSketch(). Sometimes an error occurs (see below). I suspect it is caused by one thread being called before some precomputations in another th…

---

## [Access single object in an array](https://discourse.processing.org/t/access-single-object-in-an-array/41514)

<div class="topic-metadata">

**Author:** [@Alesk1969](https://discourse.processing.org/u/Alesk1969)\
**Replies:** 9\
**Last updated:** [April 5, 2023, 10:11pm UTC](https://discourse.processing.org/t/access-single-object-in-an-array/41514 "2023-04-05T22:11:27Z")

</div>

Hi! I’m struggling with something I guess is pretty simple. I’m building a sketch with an array of objects made of boxes. I’m looping through the array to display the boxes on the screen & to make the boxes spin. But I…

---

## [Could not load Java Mode, please reinstall processing?](https://discourse.processing.org/t/could-not-load-java-mode-please-reinstall-processing/41626)

<div class="topic-metadata">

**Author:** [@llsummer](https://discourse.processing.org/u/llsummer)\
**Replies:** 1\
**Last updated:** [April 5, 2023, 6:27pm UTC](https://discourse.processing.org/t/could-not-load-java-mode-please-reinstall-processing/41626 "2023-04-05T18:27:00Z")

</div>

Hi all. The Arduino processing 4.2 on win11can’t be open and got error as title, how to fix please? Thanks adam

---

## [SelectInput() fails](https://discourse.processing.org/t/selectinput-fails/38735)

<div class="topic-metadata">

**Author:** [@blippr](https://discourse.processing.org/u/blippr)\
**Replies:** 14\
**Last updated:** [April 5, 2023, 5:15pm UTC](https://discourse.processing.org/t/selectinput-fails/38735 "2023-04-05T17:15:53Z")

</div>

Hi, I get this error message in the console: The method selectInput(String, String) in the type PApplet is not applicable for the arguments (String) when trying to run this script: import java.awt.datatransfer.\*; i…

---

## [Software for industrial automation using Arduino](https://discourse.processing.org/t/software-for-industrial-automation-using-arduino/39786)

<div class="topic-metadata">

**Author:** [@Spidoug](https://discourse.processing.org/u/Spidoug)\
**Replies:** 2\
**Last updated:** [April 5, 2023, 10:18am UTC](https://discourse.processing.org/t/software-for-industrial-automation-using-arduino/39786 "2023-04-05T10:18:45Z")

</div>

Hello guys. I come here to present my software and firmware that I developed for my monograph. The system consists of acquiring data from an Arduino and the possibility of recording them in .TXT or .CSV files. The syste…

---

## [How to add Processing library(external library) - I wonder](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 7\
**Last updated:** [April 5, 2023, 1:00am UTC](https://discourse.processing.org/t/how-to-add-processing-library-external-library-i-wonder/41594 "2023-04-05T01:00:10Z")

</div>

How to add processing library - I wonder. hello. Nice to meet you. In ‘JAVA Mode’, create ‘code’ folder and add ‘jar’ file. How can I add a library in ‘Android Mode’? (external library) Library link to add: ht…

---

## [Ketai library, KetaiNet.getIP(); Error](https://discourse.processing.org/t/ketai-library-ketainet-getip-error/11415)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 16\
**Last updated:** [April 4, 2023, 11:22pm UTC](https://discourse.processing.org/t/ketai-library-ketainet-getip-error/11415 "2023-04-04T23:22:55Z")

</div>

Hi. ketai library related. import ketai.net.wifidirect.; import ketai.net.; import ketai.ui.\*; KetaiNet.getIP(); KetaiNet.getIP (); The function does not work properly. It does not get the correct IP address valu…

---

## [How do I animate this ring without the values going crazy after 20 frames?](https://discourse.processing.org/t/how-do-i-animate-this-ring-without-the-values-going-crazy-after-20-frames/41587)

<div class="topic-metadata">

**Author:** [@JamOne](https://discourse.processing.org/u/JamOne)\
**Replies:** 4\
**Last updated:** [April 4, 2023, 12:39pm UTC](https://discourse.processing.org/t/how-do-i-animate-this-ring-without-the-values-going-crazy-after-20-frames/41587 "2023-04-04T12:39:08Z")

</div>

The first 20 frames are ok, but after that the range of the noiseX and noiseY values gets to big. Yet I need these values being multiplied by pos so the animation is concentric and does not move into one direction. Any …

---

## [Processing Video Example -- Background Subtraction](https://discourse.processing.org/t/processing-video-example-background-subtraction/26634)

<div class="topic-metadata">

**Author:** [@alenmartel](https://discourse.processing.org/u/alenmartel)\
**Replies:** 3\
**Last updated:** [April 4, 2023, 11:35am UTC](https://discourse.processing.org/t/processing-video-example-background-subtraction/26634 "2023-04-04T11:35:09Z")

</div>

Hi all – I’ve been playing around with the BackgroundSubtraction example by Golan Levin in the Processing Video examples and have gotten comfortable with manipulating most aspects of the code in relationship to the image…

---

## [Seeking Feedback on GSoC Proposal: Enhancing FES and Documentation](https://discourse.processing.org/t/seeking-feedback-on-gsoc-proposal-enhancing-fes-and-documentation/41573)

<div class="topic-metadata">

**Author:** [@chenxu](https://discourse.processing.org/u/chenxu)\
**Replies:** 2\
**Last updated:** [April 4, 2023, 4:42am UTC](https://discourse.processing.org/t/seeking-feedback-on-gsoc-proposal-enhancing-fes-and-documentation/41573 "2023-04-04T04:42:16Z")

</div>

Hello Processing Foundation Community! I am Chenxu He, a student pursuing a Master’s degree in Computer Science at Seattle University. As a woman who transitioned from a law background into the tech field, I believe I a…

---

## [Reducing latency when capturing and displaying an RTSP stream](https://discourse.processing.org/t/reducing-latency-when-capturing-and-displaying-an-rtsp-stream/26531)

<div class="topic-metadata">

**Author:** [@angelofarina](https://discourse.processing.org/u/angelofarina)\
**Replies:** 6\
**Last updated:** [April 4, 2023, 4:29am UTC](https://discourse.processing.org/t/reducing-latency-when-capturing-and-displaying-an-rtsp-stream/26531 "2023-04-04T04:29:19Z")

</div>

I am trying to display the video being streamed by an IP camera through the RTSP protocol. After finding many outdated examples (which did rely on the old codeanticode.GSvideo library, which is not available for Proces…

---

## [Accessibility for students with dyslexia/visual processing disorders?](https://discourse.processing.org/t/accessibility-for-students-with-dyslexia-visual-processing-disorders/41588)

<div class="topic-metadata">

**Author:** [@rainbowlazer](https://discourse.processing.org/u/rainbowlazer)\
**Replies:** 0\
**Last updated:** [April 3, 2023, 8:22pm UTC](https://discourse.processing.org/t/accessibility-for-students-with-dyslexia-visual-processing-disorders/41588 "2023-04-03T20:22:14Z")

</div>

Hello! I’m working with a couple of coding students this term who have some form of dyslexia/visual processing disorder that makes seeing numbers difficult. So far we’ve tried the OpenDyslexic for Chrome plugin, as well…

---

## [Processing Fellowships for 2023](https://discourse.processing.org/t/processing-fellowships-for-2023/41335)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 2\
**Last updated:** [April 2, 2023, 11:08pm UTC](https://discourse.processing.org/t/processing-fellowships-for-2023/41335 "2023-04-02T23:08:25Z")

</div>

The Processing Foundation is currently accepting applications for the 2023 Fellowship Program. Apply here: https://processing.formstack.com/forms/processing\_fellowship\_2023 The Processing Foundation Fellowship program …

---

## [Classes and subclases](https://discourse.processing.org/t/classes-and-subclases/41583)

<div class="topic-metadata">

**Author:** [@carl\_extends\_code](https://discourse.processing.org/u/carl_extends_code)\
**Replies:** 2\
**Last updated:** [April 3, 2023, 3:53pm UTC](https://discourse.processing.org/t/classes-and-subclases/41583 "2023-04-03T15:53:17Z")

</div>

Hi, Im working on a smal game and I have different enemies. They all have the same amount of animation frames and therfore I thought that there was a possibility to use an Animation class and let all the monsters extend…

---

## [Make a specific PGraphics not smooth in P2D](https://discourse.processing.org/t/make-a-specific-pgraphics-not-smooth-in-p2d/41560)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 8\
**Last updated:** [April 3, 2023, 2:37pm UTC](https://discourse.processing.org/t/make-a-specific-pgraphics-not-smooth-in-p2d/41560 "2023-04-03T14:37:17Z")

</div>

Does anybody know if theres a way to render a pgraphics that is mabye 16x16 px so it looks looks pixelated and not smooth but just the specific one?

---

## [I have an idea of converting the languages appearing in the p5js.org/contributor-docs/#/es/ website into dropdown section](https://discourse.processing.org/t/i-have-an-idea-of-converting-the-languages-appearing-in-the-p5js-org-contributor-docs-es-website-into-dropdown-section/41554)

<div class="topic-metadata">

**Author:** [@lavanya09](https://discourse.processing.org/u/lavanya09)\
**Replies:** 0\
**Last updated:** [April 1, 2023, 8:54am UTC](https://discourse.processing.org/t/i-have-an-idea-of-converting-the-languages-appearing-in-the-p5js-org-contributor-docs-es-website-into-dropdown-section/41554 "2023-04-01T08:54:02Z")

</div>

I have an idea of creating a drop down for languages to choose it allows the website look decent it also minimizes the space @Claire Kearney-Volpe

---

## [Problem with cursor()](https://discourse.processing.org/t/problem-with-cursor/41558)

<div class="topic-metadata">

**Author:** [@ggultt](https://discourse.processing.org/u/ggultt)\
**Replies:** 6\
**Last updated:** [April 2, 2023, 10:53pm UTC](https://discourse.processing.org/t/problem-with-cursor/41558 "2023-04-02T22:53:46Z")

</div>

Hello! I’m struggling with the cursor function, I was wondering the reason why the cursor didn’t change. I thought p5.js allows the file extension including .png; Is there anything I did wrong? Thank you so much! le…

---

## [OpenBCI GUI works in 3.3.7 but doesn't work in 4](https://discourse.processing.org/t/openbci-gui-works-in-3-3-7-but-doesnt-work-in-4/41146)

<div class="topic-metadata">

**Author:** [@hcdebey](https://discourse.processing.org/u/hcdebey)\
**Replies:** 5\
**Last updated:** [March 5, 2023, 4:31pm UTC](https://discourse.processing.org/t/openbci-gui-works-in-3-3-7-but-doesnt-work-in-4/41146 "2023-03-05T16:31:33Z")

</div>

I have an application that works in Processing 3.3.7 but not in 4. This line gets an error. Serial port; The error message is: “The type Serial is ambiguous” Can someone help me with this?

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

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