# Latest

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

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

**Page:** 157

---

## [Issues with accessing video in exported application](https://discourse.processing.org/t/issues-with-accessing-video-in-exported-application/35243)

<div class="topic-metadata">

**Author:** [@mrfb](https://discourse.processing.org/u/mrfb)\
**Replies:** 0\
**Last updated:** [February 17, 2022, 4:49pm UTC](https://discourse.processing.org/t/issues-with-accessing-video-in-exported-application/35243 "2022-02-17T16:49:18Z")

</div>

Hi! I’m having an issue that’s causing me some trouble. I wrote a little application to power a twitterbot that pulls up one of a few possible video files, and tweets out a random still from it. Everything works fine whe…

---

## [Flickering of shapes. Problem with perspective?](https://discourse.processing.org/t/flickering-of-shapes-problem-with-perspective/33892)

<div class="topic-metadata">

**Author:** [@WhiteSte](https://discourse.processing.org/u/WhiteSte)\
**Replies:** 12\
**Last updated:** [February 17, 2022, 3:51pm UTC](https://discourse.processing.org/t/flickering-of-shapes-problem-with-perspective/33892 "2022-02-17T15:51:51Z")

</div>

Dear all, the little start up where I work is building a software. For this reason i cannot share with you all the code, but i could share some little pieces. The problem: I’m trying to visualize a city in a 3d world, b…

---

## [Introducing randomness and asymmetry to shape](https://discourse.processing.org/t/introducing-randomness-and-asymmetry-to-shape/35073)

<div class="topic-metadata">

**Author:** [@krissnutt](https://discourse.processing.org/u/krissnutt)\
**Replies:** 40\
**Last updated:** [February 17, 2022, 3:55pm UTC](https://discourse.processing.org/t/introducing-randomness-and-asymmetry-to-shape/35073 "2022-02-17T15:55:19Z")

</div>

Good day :slight\_smile: I am trying to code a pattern of vulva shapes. So far I have managed to code the shape and make a pattern, but what I want to do is make each vulva different from the other ones, i.e., introduce …

---

## [Problem: Image (background) needs to loop in it's --background; x position](https://discourse.processing.org/t/problem-image-background-needs-to-loop-in-its-background-x-position/35224)

<div class="topic-metadata">

**Author:** [@Kimjstuff](https://discourse.processing.org/u/Kimjstuff)\
**Replies:** 3\
**Last updated:** [February 17, 2022, 3:39pm UTC](https://discourse.processing.org/t/problem-image-background-needs-to-loop-in-its-background-x-position/35224 "2022-02-17T15:39:49Z")

</div>

I’m trying to make a small game and is currently stock on a few problems I have made my background/image move from left to right, but when it meets the edge of the background/picture within my processing window I want …

---

## [Question about Drawing Application with Background Change and createGraphics()](https://discourse.processing.org/t/question-about-drawing-application-with-background-change-and-creategraphics/35238)

<div class="topic-metadata">

**Author:** [@jdec](https://discourse.processing.org/u/jdec)\
**Replies:** 2\
**Last updated:** [February 17, 2022, 3:33pm UTC](https://discourse.processing.org/t/question-about-drawing-application-with-background-change-and-creategraphics/35238 "2022-02-17T15:33:43Z")

</div>

Hi there. I am teaching an 8th grade creative coding class and I have a few students who are having the same issue that I don’t know how to solve. Any suggestions for how to solve the following coding challenge? :pray: W…

---

## [Sketch doesn't run on linux](https://discourse.processing.org/t/sketch-doesnt-run-on-linux/35226)

<div class="topic-metadata">

**Author:** [@Pietari](https://discourse.processing.org/u/Pietari)\
**Replies:** 1\
**Last updated:** [February 17, 2022, 3:02pm UTC](https://discourse.processing.org/t/sketch-doesnt-run-on-linux/35226 "2022-02-17T15:02:31Z")

</div>

Hi! I recently installed processing version 3.5.4-6 on my laptop which has a linux manjaro OS. First I couldn’t open the program at all, but I figured out that I needed to change the Java environment to java-8-openjdk/…

---

## [How to code button 2](https://discourse.processing.org/t/how-to-code-button-2/35167)

<div class="topic-metadata">

**Author:** [@ata](https://discourse.processing.org/u/ata)\
**Replies:** 2\
**Last updated:** [February 17, 2022, 9:15am UTC](https://discourse.processing.org/t/how-to-code-button-2/35167 "2022-02-17T09:15:44Z")

</div>

i cant manage to code button 2. the 3 is done and it stamps the pshape “v” i have to code button 2 wich should basically do the same as 3 but instead of the “v” pshape should stamp phsape “u” but i dont know how to make…

---

## [Processing window not turned on on Mac](https://discourse.processing.org/t/processing-window-not-turned-on-on-mac/35221)

<div class="topic-metadata">

**Author:** [@Celsius](https://discourse.processing.org/u/Celsius)\
**Replies:** 1\
**Last updated:** [February 17, 2022, 3:32am UTC](https://discourse.processing.org/t/processing-window-not-turned-on-on-mac/35221 "2022-02-17T03:32:32Z")

</div>

I just downloaded processing on Mac, following the instructions, but when I clicked on the icon, nothing happened. I rebooted my Mac and it is still the same. The instruction says “if the program didn’t start, visit the…

---

## [Problem running Processing project in VSCode](https://discourse.processing.org/t/problem-running-processing-project-in-vscode/35198)

<div class="topic-metadata">

**Author:** [@avina](https://discourse.processing.org/u/avina)\
**Replies:** 4\
**Last updated:** [February 17, 2022, 1:00am UTC](https://discourse.processing.org/t/problem-running-processing-project-in-vscode/35198 "2022-02-17T01:00:02Z")

</div>

Hello, I am trying to get set up with processing in VSCode, and I am encountering the following problem when attempting to run the processing project. I followed this tutorial to get started. I don’t believe that I miss…

---

## [Problems running processing on M1 Mac](https://discourse.processing.org/t/problems-running-processing-on-m1-mac/35218)

<div class="topic-metadata">

**Author:** [@barrysmyth](https://discourse.processing.org/u/barrysmyth)\
**Replies:** 0\
**Last updated:** [February 16, 2022, 10:42pm UTC](https://discourse.processing.org/t/problems-running-processing-on-m1-mac/35218 "2022-02-16T22:42:13Z")

</div>

Just installed processing on M1 Mac but the console shows endless “java.lang.NoSuchMethodError: accessibilityHitTest” error messages. I have Java installed but not sure what is going on and haven’t been able to locate he…

---

## [\[p5.js\] I don't know how to make it into a p5 file](https://discourse.processing.org/t/p5-js-i-dont-know-how-to-make-it-into-a-p5-file/35187)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 5\
**Last updated:** [February 16, 2022, 6:41pm UTC](https://discourse.processing.org/t/p5-js-i-dont-know-how-to-make-it-into-a-p5-file/35187 "2022-02-16T18:41:56Z")

</div>

LINK : Sea life sketch sketch - jagracar Looking at the above, You can see that it was made with p5. Based on the above, I am trying to save it as p5.js using ‘Processing’. File: WEB\_FISH\_TEST.zip - Google Driv…

---

## [Processing and Arduino standard Firmata: switching PShape with another PShape pressing a button on Arduino](https://discourse.processing.org/t/processing-and-arduino-standard-firmata-switching-pshape-with-another-pshape-pressing-a-button-on-arduino/35162)

<div class="topic-metadata">

**Author:** [@ata](https://discourse.processing.org/u/ata)\
**Replies:** 1\
**Last updated:** [February 16, 2022, 3:33pm UTC](https://discourse.processing.org/t/processing-and-arduino-standard-firmata-switching-pshape-with-another-pshape-pressing-a-button-on-arduino/35162 "2022-02-16T15:33:41Z")

</div>

hello. i am creating an arduino machine. it is talking to processing using the library standardFirmata(arduino). in this arduino there are three elements: two buttons and a joystick. a Pshape can be moved in the sketch w…

---

## [How do I make the particles move away from the threshold?](https://discourse.processing.org/t/how-do-i-make-the-particles-move-away-from-the-threshold/35118)

<div class="topic-metadata">

**Author:** [@JennyMcCreadie](https://discourse.processing.org/u/JennyMcCreadie)\
**Replies:** 2\
**Last updated:** [February 16, 2022, 2:49pm UTC](https://discourse.processing.org/t/how-do-i-make-the-particles-move-away-from-the-threshold/35118 "2022-02-16T14:49:24Z")

</div>

Hello! I’ve asked a similar question tonight but worded it very stupidly and can’t work out how to delete it (apologies! Will work it out). Basically, I’d like the particles to move away from points of the highest thres…

---

## [Recombining 2 bytes into a signed int](https://discourse.processing.org/t/recombining-2-bytes-into-a-signed-int/35067)

<div class="topic-metadata">

**Author:** [@TKez](https://discourse.processing.org/u/TKez)\
**Replies:** 6\
**Last updated:** [February 16, 2022, 2:45pm UTC](https://discourse.processing.org/t/recombining-2-bytes-into-a-signed-int/35067 "2022-02-16T14:45:02Z")

</div>

Sending a byte stream over from an Arduino which includes some int16\_t values (little endian) but struggling to recombine them. This is as close as I can get, but I loose the sign. int1 = (inBuffer\[1\]\<\<8) | in…

---

## [How to make object "vibrate" before moving upwards?](https://discourse.processing.org/t/how-to-make-object-vibrate-before-moving-upwards/35157)

<div class="topic-metadata">

**Author:** [@AndrewTheGoat22](https://discourse.processing.org/u/AndrewTheGoat22)\
**Replies:** 6\
**Last updated:** [February 16, 2022, 1:03pm UTC](https://discourse.processing.org/t/how-to-make-object-vibrate-before-moving-upwards/35157 "2022-02-16T13:03:47Z")

</div>

I want to make this square move back and forth (so that it looks like it’s vibrating or shaking) for several seconds before making it go upwards. How would I go about doing that? Thanks! \< int y; int yPos=350; // con…

---

## [Reproducability of "Randomness" by Seed](https://discourse.processing.org/t/reproducability-of-randomness-by-seed/35148)

<div class="topic-metadata">

**Author:** [@Quertz](https://discourse.processing.org/u/Quertz)\
**Replies:** 14\
**Last updated:** [February 16, 2022, 1:12pm UTC](https://discourse.processing.org/t/reproducability-of-randomness-by-seed/35148 "2022-02-16T13:12:10Z")

</div>

Hi Guys, I work with Processing since 2002 or so. I love it and it is very rare that I have a problem. But now I have: It´s with the reproducability of my Algo. To get a reproducable Sequence of random-numbers, I call…

---

## [Cropping an image buffer on transparency?](https://discourse.processing.org/t/cropping-an-image-buffer-on-transparency/35125)

<div class="topic-metadata">

**Author:** [@xeronimo](https://discourse.processing.org/u/xeronimo)\
**Replies:** 2\
**Last updated:** [February 16, 2022, 12:38pm UTC](https://discourse.processing.org/t/cropping-an-image-buffer-on-transparency/35125 "2022-02-16T12:38:16Z")

</div>

I’d like to crop/copy an image buffer in #p5js so that only the non-transparent part is kept/copied … any ideas how to do that (quickly)!? Thanks!

---

## [Arraylist not updated using arrays in object](https://discourse.processing.org/t/arraylist-not-updated-using-arrays-in-object/35200)

<div class="topic-metadata">

**Author:** [@Kylle](https://discourse.processing.org/u/Kylle)\
**Replies:** 2\
**Last updated:** [February 16, 2022, 11:04am UTC](https://discourse.processing.org/t/arraylist-not-updated-using-arrays-in-object/35200 "2022-02-16T11:04:11Z")

</div>

Hi I have been working quite a lot with Processing the last months. Now I am trying to add ArrayList of objects but I get such a strange result as though the List is not updated correctly. I guess I am making a stupid …

---

## [Will C++ be faster?](https://discourse.processing.org/t/will-c-be-faster/34986)

<div class="topic-metadata">

**Author:** [@Jake10023](https://discourse.processing.org/u/Jake10023)\
**Replies:** 8\
**Last updated:** [February 16, 2022, 7:28am UTC](https://discourse.processing.org/t/will-c-be-faster/34986 "2022-02-16T07:28:31Z")

</div>

I’m trying to understand the speed issue. I am running Windows 7 64-bit. I wrote a simple test program (below) that basically blinks the window black and white. At reasonably high frame rates ( 5 and higher), the col…

---

## [How can I set a dat.GUI panel anywhere on screen in OpenProcessing p5js](https://discourse.processing.org/t/how-can-i-set-a-dat-gui-panel-anywhere-on-screen-in-openprocessing-p5js/14423)

<div class="topic-metadata">

**Author:** [@rbytes](https://discourse.processing.org/u/rbytes)\
**Replies:** 11\
**Last updated:** [February 16, 2022, 12:46am UTC](https://discourse.processing.org/t/how-can-i-set-a-dat-gui-panel-anywhere-on-screen-in-openprocessing-p5js/14423 "2022-02-16T00:46:27Z")

</div>

0 I have seen similar questions on various websites, but the answers always require using HTML, CSS and p5js code to reposition a dat.GUI panel from its default location. I am working strictly in p5js on OpenProcessing,…

---

## [How to Determine Structure of a Data File](https://discourse.processing.org/t/how-to-determine-structure-of-a-data-file/35189)

<div class="topic-metadata">

**Author:** [@kdeemer](https://discourse.processing.org/u/kdeemer)\
**Replies:** 1\
**Last updated:** [February 15, 2022, 9:57pm UTC](https://discourse.processing.org/t/how-to-determine-structure-of-a-data-file/35189 "2022-02-15T21:57:25Z")

</div>

I am trying to use a DAT file from an old sleep monitor (ZEO). I have downloaded a library and sketch examples that were written for this file type several years ago. I am able to get some of the examples to work with my…

---

## [Rotate canvas around its center](https://discourse.processing.org/t/rotate-canvas-around-its-center/34990)

<div class="topic-metadata">

**Author:** [@res56](https://discourse.processing.org/u/res56)\
**Replies:** 8\
**Last updated:** [February 12, 2022, 10:28pm UTC](https://discourse.processing.org/t/rotate-canvas-around-its-center/34990 "2022-02-12T22:28:49Z")

</div>

Hi frens, I use the draw function to display objects of the class Mover. After the objects are displayed I want to rotate the result around the center. function draw() { if(frameCount \< 600){ for (var i…

---

## [Network library usage](https://discourse.processing.org/t/network-library-usage/35186)

<div class="topic-metadata">

**Author:** [@Conchito](https://discourse.processing.org/u/Conchito)\
**Replies:** 3\
**Last updated:** [February 15, 2022, 8:26pm UTC](https://discourse.processing.org/t/network-library-usage/35186 "2022-02-15T20:26:29Z")

</div>

Hello, I tried to reproduce examples from the processing network library for pactise sockets data exchanges. I used the Processing library reference example : import processing.net.\*; Server myServer; int val = 0; …

---

## [Canvas based GUI library for p5.js](https://discourse.processing.org/t/canvas-based-gui-library-for-p5-js/27119)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 4\
**Last updated:** [February 15, 2022, 7:41pm UTC](https://discourse.processing.org/t/canvas-based-gui-library-for-p5-js/27119 "2022-02-15T19:41:57Z")

</div>

Hello community, I’d like to offer you a early preview to a p5.js library that allow p5.js users to create GUI based programs on top of the canvas. The library itself is implemented using p5.js API and is drawing all t…

---

## [Refresh values in P5.gui](https://discourse.processing.org/t/refresh-values-in-p5-gui/27581)

<div class="topic-metadata">

**Author:** [@rbanks](https://discourse.processing.org/u/rbanks)\
**Replies:** 4\
**Last updated:** [February 15, 2022, 7:21pm UTC](https://discourse.processing.org/t/refresh-values-in-p5-gui/27581 "2022-02-15T19:21:00Z")

</div>

I’m using p5.gui to play with some variables and setting for my sketch. I want to change those variables both in the gui and in code. If I change the variables in code the p5.gui interface doesn’t update automatically to…

---

## [Android modo, en P 3.5.4, error "schemas". no genera apk firmado](https://discourse.processing.org/t/android-modo-en-p-3-5-4-error-schemas-no-genera-apk-firmado/35117)

<div class="topic-metadata">

**Author:** [@TiagoNess](https://discourse.processing.org/u/TiagoNess)\
**Replies:** 2\
**Last updated:** [February 15, 2022, 4:02pm UTC](https://discourse.processing.org/t/android-modo-en-p-3-5-4-error-schemas-no-genera-apk-firmado/35117 "2022-02-15T16:02:53Z")

</div>

formatee el código con el botón \</\> \* homework policy (política de tareas) \* asking questions (haciendo preguntas) Hola a todos, de antemano gracias, tengo la siguiente dificultad: No logro ejecutar la app en el dis…

---

## [Write canvas in Client and send to Server (Array of point)?](https://discourse.processing.org/t/write-canvas-in-client-and-send-to-server-array-of-point/35179)

<div class="topic-metadata">

**Author:** [@Stefano](https://discourse.processing.org/u/Stefano)\
**Replies:** 2\
**Last updated:** [February 15, 2022, 12:02pm UTC](https://discourse.processing.org/t/write-canvas-in-client-and-send-to-server-array-of-point/35179 "2022-02-15T12:02:43Z")

</div>

Hi everyone. I have a problem. I can’t send matrix of point ( write canvas) and after that i finish to write a canvas (for example with a button???) I want the server to get the dot array. I have saw Example 2: Shared d…

---

## [\[Processing Android\] When is '.aab' output available? (release ‘.aab’)](https://discourse.processing.org/t/processing-android-when-is-aab-output-available-release-aab/35176)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [February 15, 2022, 3:36am UTC](https://discourse.processing.org/t/processing-android-when-is-aab-output-available-release-aab/35176 "2022-02-15T03:36:01Z")

</div>

@Rupesh\_Kumar @everyone everyone, When is ‘.aab’ output available? Is ‘.aab’ possible through ‘Processing’? If you have a schedule, I’d like to know.

---

## [Rectangle intersections 3D](https://discourse.processing.org/t/rectangle-intersections-3d/35170)

<div class="topic-metadata">

**Author:** [@bruno.pace](https://discourse.processing.org/u/bruno.pace)\
**Replies:** 0\
**Last updated:** [February 14, 2022, 11:38pm UTC](https://discourse.processing.org/t/rectangle-intersections-3d/35170 "2022-02-14T23:38:11Z")

</div>

Hi there, I am trying to place some rotated rectangles in 3D but the rendering would be much better if the intersection lines between them would be visible. Can anyone help me do that? float x,y,z,a,b ; int num = 300 ;…

---

## [TypeError: Cannot read properties of undefined (reading '\_elements')](https://discourse.processing.org/t/typeerror-cannot-read-properties-of-undefined-reading-elements/34969)

<div class="topic-metadata">

**Author:** [@Errorbot1122](https://discourse.processing.org/u/Errorbot1122)\
**Replies:** 4\
**Last updated:** [February 14, 2022, 7:38pm UTC](https://discourse.processing.org/t/typeerror-cannot-read-properties-of-undefined-reading-elements/34969 "2022-02-14T19:38:21Z")

</div>

I tried to remove a div inside the set timeout function but it give me the error in the title. Here is the stack trace: TypeError: Cannot read properties of undefined (reading '\_elements') at f.default.Element.remo…

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

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