# Latest

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

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

**Page:** 118

---

## [My project library #5! Gallery megathread](https://discourse.processing.org/t/my-project-library-5-gallery-megathread/33623)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 5\
**Last updated:** [September 3, 2022, 2:41pm UTC](https://discourse.processing.org/t/my-project-library-5-gallery-megathread/33623 "2022-09-03T14:41:59Z")

</div>

Here are some of my projects! I hope you get some ideas/inspiration from it : P There are 4 previous megathreads with 60 projects in total! library #1 library #2 library #3 library #4 If you have any questions reg…

---

## [Sending Strings from Arduino to Processing](https://discourse.processing.org/t/sending-strings-from-arduino-to-processing/38615)

<div class="topic-metadata">

**Author:** [@maro](https://discourse.processing.org/u/maro)\
**Replies:** 7\
**Last updated:** [September 3, 2022, 11:01am UTC](https://discourse.processing.org/t/sending-strings-from-arduino-to-processing/38615 "2022-09-03T11:01:13Z")

</div>

I want to get Processing to read Strings from Arduino. I send two Strings massages from the arduino and I want to store them in two different variables on Processing. I tried to do it, but the two Strings are passed to…

---

## [Physics Processing library](https://discourse.processing.org/t/physics-processing-library/38589)

<div class="topic-metadata">

**Author:** [@tati1202](https://discourse.processing.org/u/tati1202)\
**Replies:** 0\
**Last updated:** [August 31, 2022, 7:00pm UTC](https://discourse.processing.org/t/physics-processing-library/38589 "2022-08-31T19:00:16Z")

</div>

Queremos hacer el contacto entre el arreglo de la estructura y el circulo, pero no sabemos que estamos haciendo mal

---

## [Moving text around a circular path](https://discourse.processing.org/t/moving-text-around-a-circular-path/38622)

<div class="topic-metadata">

**Author:** [@scottmclaughlin](https://discourse.processing.org/u/scottmclaughlin)\
**Replies:** 2\
**Last updated:** [September 2, 2022, 9:50pm UTC](https://discourse.processing.org/t/moving-text-around-a-circular-path/38622 "2022-09-02T21:50:09Z")

</div>

Hi, Relative Processing noob here. I’m stuck trying to figure out how to make text move around a circle. I took Shiffman’s tutorial on Displaying text character by character and tried to add a fixed distance to push the…

---

## [Sampling a movement. Synchronize it on a tempo](https://discourse.processing.org/t/sampling-a-movement-synchronize-it-on-a-tempo/38396)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 14\
**Last updated:** [September 1, 2022, 4:03pm UTC](https://discourse.processing.org/t/sampling-a-movement-synchronize-it-on-a-tempo/38396 "2022-09-01T16:03:19Z")

</div>

Hello, For my artistic machine project, I need to sample a movement and play it on a loop. This sample must be set on the tempo! But, there is a small problem, let me explain: I draw a movement with the mouse for two …

---

## [Multitouch screen handling in Processing 4](https://discourse.processing.org/t/multitouch-screen-handling-in-processing-4/38331)

<div class="topic-metadata">

**Author:** [@KickMe](https://discourse.processing.org/u/KickMe)\
**Replies:** 5\
**Last updated:** [September 2, 2022, 5:27pm UTC](https://discourse.processing.org/t/multitouch-screen-handling-in-processing-4/38331 "2022-09-02T17:27:48Z")

</div>

Hi, I’m trying to make multitouch work in Processing 4. Onece upon a time in Processing 2, there was a library which seemed to to just that : SMT for Simple Multi Touch. Unfortunately, Processing 3 dropped the support …

---

## [How can I make lines disappear?](https://discourse.processing.org/t/how-can-i-make-lines-disappear/38607)

<div class="topic-metadata">

**Author:** [@TLM](https://discourse.processing.org/u/TLM)\
**Replies:** 11\
**Last updated:** [September 2, 2022, 2:55pm UTC](https://discourse.processing.org/t/how-can-i-make-lines-disappear/38607 "2022-09-02T14:55:13Z")

</div>

Hello, I am really really new to Processing and working on this exercise I just wanted to make the lines disappear (from left to right) when the last lines reaches the right-end of the screen (endX \> width). The final re…

---

## [Game Timer Question](https://discourse.processing.org/t/game-timer-question/38602)

<div class="topic-metadata">

**Author:** [@newprogrammer12](https://discourse.processing.org/u/newprogrammer12)\
**Replies:** 7\
**Last updated:** [September 2, 2022, 1:31pm UTC](https://discourse.processing.org/t/game-timer-question/38602 "2022-09-02T13:31:36Z")

</div>

I have created a game similar to pong and at the end I have made a “Game Over” text appear for 5 seconds before the game resets. The problem is, when the game resets, the timer seems to not work anymore. Any ideas on how…

---

## [How to run processing-java command on ubuntu](https://discourse.processing.org/t/how-to-run-processing-java-command-on-ubuntu/38609)

<div class="topic-metadata">

**Author:** [@superumam](https://discourse.processing.org/u/superumam)\
**Replies:** 1\
**Last updated:** [September 2, 2022, 10:06am UTC](https://discourse.processing.org/t/how-to-run-processing-java-command-on-ubuntu/38609 "2022-09-02T10:06:08Z")

</div>

I downloaded and installed processing4 on ubuntu successfully, but failed to run processing-java command. I developed and run a python script and finally got this issue. Thanks.

---

## [City growth example](https://discourse.processing.org/t/city-growth-example/38562)

<div class="topic-metadata">

**Author:** [@TimoL](https://discourse.processing.org/u/TimoL)\
**Replies:** 3\
**Last updated:** [September 2, 2022, 12:25am UTC](https://discourse.processing.org/t/city-growth-example/38562 "2022-09-02T00:25:21Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Im trying to find a processing example I remember seeing years ago. It was a a bunch of random points that start moving in random directions cr…

---

## [HTML as texture in WEBGL](https://discourse.processing.org/t/html-as-texture-in-webgl/38600)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 0\
**Last updated:** [September 1, 2022, 1:01pm UTC](https://discourse.processing.org/t/html-as-texture-in-webgl/38600 "2022-09-01T13:01:00Z")

</div>

Hello. Is it possible to use a HTML as texture in a 3D object? Lets say I have a tweet card like this: That have been generated by a code like this (from tweet embed code, this is not the one for this particular tw…

---

## [Errors of type "this.g" is null when accessing pure java sketch that extends PApplet as a BufferedImage, output only on 100x100 pixels, other PGraphics objects like size() cannot be used](https://discourse.processing.org/t/errors-of-type-this-g-is-null-when-accessing-pure-java-sketch-that-extends-papplet-as-a-bufferedimage-output-only-on-100x100-pixels-other-pgraphics-objects-like-size-cannot-be-used/37260)

<div class="topic-metadata">

**Author:** [@istinn](https://discourse.processing.org/u/istinn)\
**Replies:** 10\
**Last updated:** [September 1, 2022, 1:20am UTC](https://discourse.processing.org/t/errors-of-type-this-g-is-null-when-accessing-pure-java-sketch-that-extends-papplet-as-a-bufferedimage-output-only-on-100x100-pixels-other-pgraphics-objects-like-size-cannot-be-used/37260 "2022-09-01T01:20:08Z")

</div>

I am trying to get the image output of processing sketches as a bufferedimage using pure java. The goal is to use the code output as a complex “texture” for shapes and paths outside processing. So far I have quite prom…

---

## [Don't understand what this code means (easing)](https://discourse.processing.org/t/dont-understand-what-this-code-means-easing/38588)

<div class="topic-metadata">

**Author:** [@EKEN](https://discourse.processing.org/u/EKEN)\
**Replies:** 4\
**Last updated:** [September 1, 2022, 11:08am UTC](https://discourse.processing.org/t/dont-understand-what-this-code-means-easing/38588 "2022-09-01T11:08:12Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello I am really new to processing and programing in general and I wanted this smiley to follow my mouse, and then i googled how to do it and j…

---

## [Mouse and keyboard functions](https://discourse.processing.org/t/mouse-and-keyboard-functions/38594)

<div class="topic-metadata">

**Author:** [@reacttoimpact](https://discourse.processing.org/u/reacttoimpact)\
**Replies:** 1\
**Last updated:** [September 1, 2022, 6:27am UTC](https://discourse.processing.org/t/mouse-and-keyboard-functions/38594 "2022-09-01T06:27:00Z")

</div>

Hi, i don’t know if this is possible, but can you simulate mouse clicks, moves and keyboard types with processing? eg. a virtual keyboard/mouse controlled by the code? say the mouse pointer was on the screen(win 10 de…

---

## [Screen density for retina displays](https://discourse.processing.org/t/screen-density-for-retina-displays/38581)

<div class="topic-metadata">

**Author:** [@giulioprisco](https://discourse.processing.org/u/giulioprisco)\
**Replies:** 0\
**Last updated:** [August 31, 2022, 8:15am UTC](https://discourse.processing.org/t/screen-density-for-retina-displays/38581 "2022-08-31T08:15:07Z")

</div>

Hi, newcomer here. I used to be an expert programmer, now I do little things for fun. Love Processing so far. I use a MacBook Pro with 2880X1800 px retina display. Processing doesn’t let me use a window wider than 1440p…

---

## [Question About Game Idea (Breakout / Arkanoid)](https://discourse.processing.org/t/question-about-game-idea-breakout-arkanoid/38565)

<div class="topic-metadata">

**Author:** [@newprogrammer12](https://discourse.processing.org/u/newprogrammer12)\
**Replies:** 23\
**Last updated:** [August 31, 2022, 11:05pm UTC](https://discourse.processing.org/t/question-about-game-idea-breakout-arkanoid/38565 "2022-08-31T23:05:54Z")

</div>

How could you make a ball bounce on a rectangle on the bottom of the screen that is controlled by mouseX? I have only been programming a couple days and haven’t been able to find any help online. I’m trying to code a bri…

---

## [How to get array from append array](https://discourse.processing.org/t/how-to-get-array-from-append-array/38580)

<div class="topic-metadata">

**Author:** [@RNWA](https://discourse.processing.org/u/RNWA)\
**Replies:** 0\
**Last updated:** [August 31, 2022, 8:14am UTC](https://discourse.processing.org/t/how-to-get-array-from-append-array/38580 "2022-08-31T08:14:07Z")

</div>

import de.bezier.data.sql.\*; String dbHost = "localhost"; // if you are using a using a local database, this should be fine String dbPort = "3306"; // replace with database port, MAMP standard is 8889 String dbUser = "r…

---

## [P3D bug on MacOS Ventura](https://discourse.processing.org/t/p3d-bug-on-macos-ventura/38288)

<div class="topic-metadata">

**Author:** [@chrish](https://discourse.processing.org/u/chrish)\
**Replies:** 1\
**Last updated:** [August 31, 2022, 1:46am UTC](https://discourse.processing.org/t/p3d-bug-on-macos-ventura/38288 "2022-08-31T01:46:52Z")

</div>

Hi, I want to ask if anybody else are facing issues and possibly have a solution for running P3D on MacOS Ventura. I am using Processing IDE. I tried built-in examples. The normal size(100, 100) works as expected, but …

---

## [Among the uibooster library examples, it is related to 'table'. Is it possible to change?](https://discourse.processing.org/t/among-the-uibooster-library-examples-it-is-related-to-table-is-it-possible-to-change/38553)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [August 30, 2022, 11:02pm UTC](https://discourse.processing.org/t/among-the-uibooster-library-examples-it-is-related-to-table-is-it-possible-to-change/38553 "2022-08-30T23:02:58Z")

</div>

Among the uibooster library examples, it is related to ‘table’. Is it possible to change? Please refer to the image. source code import uibooster.\*; UiBooster booster; void setup() { size(800, 400); booster =…

---

## [Run a processing sketch on a rpi as webserver](https://discourse.processing.org/t/run-a-processing-sketch-on-a-rpi-as-webserver/38559)

<div class="topic-metadata">

**Author:** [@bask185](https://discourse.processing.org/u/bask185)\
**Replies:** 1\
**Last updated:** [August 30, 2022, 8:03pm UTC](https://discourse.processing.org/t/run-a-processing-sketch-on-a-rpi-as-webserver/38559 "2022-08-30T20:03:13Z")

</div>

Hello, I made a GUI in processing some time ago. The application itself can be used to draw a schematic for a modelrailway. This schematic is stored and loaded to and from CSV files. I know very little about modern …

---

## [Generate info window](https://discourse.processing.org/t/generate-info-window/38544)

<div class="topic-metadata">

**Author:** [@TimeLex](https://discourse.processing.org/u/TimeLex)\
**Replies:** 2\
**Last updated:** [August 30, 2022, 5:56pm UTC](https://discourse.processing.org/t/generate-info-window/38544 "2022-08-30T17:56:46Z")

</div>

Hi, does anyone know how to generate such a window or whether there is any library for processing, that does that? Thanks, TimeLex

---

## [Understanding p5 server side with node](https://discourse.processing.org/t/understanding-p5-server-side-with-node/38498)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 12\
**Last updated:** [August 30, 2022, 9:52am UTC](https://discourse.processing.org/t/understanding-p5-server-side-with-node/38498 "2022-08-30T09:52:58Z")

</div>

How does p5js and node integrate? There is 2 ways as I’ve found: serving a js file to be executed in the client and a implementation using node-canvas found at npm: node-p5 here. Although, I got a little confused, as the…

---

## [\[UDP Library\] Can you tell if 'udp.send' is successful?](https://discourse.processing.org/t/udp-library-can-you-tell-if-udp-send-is-successful/38554)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [August 30, 2022, 5:27am UTC](https://discourse.processing.org/t/udp-library-can-you-tell-if-udp-send-is-successful/38554 "2022-08-30T05:27:30Z")

</div>

'import hypermedia.net.\*; ’ library import hypermedia.net.\*; UDP udp; void setup() { size(300,300); udp = new UDP( this, 12001 ); udp.listen( true ); String message = "test"; String ip = "92.168…

---

## [How to optimize HSB color comparisons?](https://discourse.processing.org/t/how-to-optimize-hsb-color-comparisons/38551)

<div class="topic-metadata">

**Author:** [@i-make-robots](https://discourse.processing.org/u/i-make-robots)\
**Replies:** 1\
**Last updated:** [August 29, 2022, 10:23pm UTC](https://discourse.processing.org/t/how-to-optimize-hsb-color-comparisons/38551 "2022-08-29T22:23:03Z")

</div>

This sketch takes a picture and interprets it as though it was woven from colored string wrapped around a circle of nails. It was originally written in RGB space where I am most comfortable. I tried swapping out the …

---

## [Confusing Syntax Error Code (TicTacToe)](https://discourse.processing.org/t/confusing-syntax-error-code-tictactoe/38550)

<div class="topic-metadata">

**Author:** [@user10012201](https://discourse.processing.org/u/user10012201)\
**Replies:** 6\
**Last updated:** [August 29, 2022, 9:20pm UTC](https://discourse.processing.org/t/confusing-syntax-error-code-tictactoe/38550 "2022-08-29T21:20:53Z")

</div>

I am trying to make a TicTacToe game as part of a java lesson I am following along with. I completed the lesson, but there is a single line that processing claims is a syntax error that is stopping it from compiling. I c…

---

## [Unable to build tool for Processing 4.0.1](https://discourse.processing.org/t/unable-to-build-tool-for-processing-4-0-1/38539)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 0\
**Last updated:** [August 29, 2022, 11:44am UTC](https://discourse.processing.org/t/unable-to-build-tool-for-processing-4-0-1/38539 "2022-08-29T11:44:20Z")

</div>

I am trying to build GUI Builder for Processing 4.0.1 using Eclipse. With PS v3 this has never been a problem but now the pde is compiled to Java 11 (major version 55) so I get import processing.app.Base; \[javac\] …

---

## [How to create a clean iframe](https://discourse.processing.org/t/how-to-create-a-clean-iframe/33753)

<div class="topic-metadata">

**Author:** [@sansonsan](https://discourse.processing.org/u/sansonsan)\
**Replies:** 12\
**Last updated:** [August 29, 2022, 8:38am UTC](https://discourse.processing.org/t/how-to-create-a-clean-iframe/33753 "2022-08-29T08:38:55Z")

</div>

Hello, I made a small code with p5js and I want to insert it with an iframe on my webpage. \<iframe frameborder="0"style="height: 300px; width: 300px; margin: 0 auto; display: block;" src="https://editor.p5js.org/sanson…

---

## [Creating a library, errors while building javadoc](https://discourse.processing.org/t/creating-a-library-errors-while-building-javadoc/38528)

<div class="topic-metadata">

**Author:** [@f42ter](https://discourse.processing.org/u/f42ter)\
**Replies:** 1\
**Last updated:** [August 29, 2022, 8:18am UTC](https://discourse.processing.org/t/creating-a-library-errors-while-building-javadoc/38528 "2022-08-29T08:18:30Z")

</div>

Dear world ;-\> As already requested a couple of weeks ago volunteers, supporters needed ;-\> I start to build an opencv lib for processing → 4.x on Raspberry 4 using opencv 4.5.5 (java). Make some progress so far, the…

---

## [Processing to js issues help please!](https://discourse.processing.org/t/processing-to-js-issues-help-please/38537)

<div class="topic-metadata">

**Author:** [@yk7244](https://discourse.processing.org/u/yk7244)\
**Replies:** 0\
**Last updated:** [August 29, 2022, 1:57am UTC](https://discourse.processing.org/t/processing-to-js-issues-help-please/38537 "2022-08-29T01:57:32Z")

</div>

Hello everyone, I’m struggling changing my processing pde code to js (p5js) especially with class part. Could you help me how to change this code? float accuracy = 99.1; boolean autoplay = false; boolean showsFPS = f…

---

## [Name of variable (file exists)](https://discourse.processing.org/t/name-of-variable-file-exists/38527)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 5\
**Last updated:** [August 28, 2022, 6:01pm UTC](https://discourse.processing.org/t/name-of-variable-file-exists/38527 "2022-08-28T18:01:21Z")

</div>

Hi, I need to check if i have a specific file named positions1, positions2, positions3,… I thought I could combine a string with an integer and then write something like File nameofString+number= new File(sketchPath()…

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

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