# Latest

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

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

**Page:** 350

---

## [Adding a column of an array to a scrollable list with controlp5](https://discourse.processing.org/t/adding-a-column-of-an-array-to-a-scrollable-list-with-controlp5/20791)

<div class="topic-metadata">

**Author:** [@Stokbrood](https://discourse.processing.org/u/Stokbrood)\
**Replies:** 3\
**Last updated:** [May 16, 2020, 4:37am UTC](https://discourse.processing.org/t/adding-a-column-of-an-array-to-a-scrollable-list-with-controlp5/20791 "2020-05-16T04:37:41Z")

</div>

I’m trying to make a program where you can type in a couple of strings, and I want a button to place all these strings in an array, and then add all the strings as a single item in a scrollable list. I just can’t figure …

---

## [Neural network training](https://discourse.processing.org/t/neural-network-training/20714)

<div class="topic-metadata">

**Author:** [@Kport1](https://discourse.processing.org/u/Kport1)\
**Replies:** 5\
**Last updated:** [May 15, 2020, 11:40pm UTC](https://discourse.processing.org/t/neural-network-training/20714 "2020-05-15T23:40:23Z")

</div>

I need help with the training of my neura network. for some reason if i train it all weights always go to 0. Main tab: Network n = new Network(1, 1, 1); float lr = 0.07; float\[\] in = {0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0…

---

## [Problem with my button](https://discourse.processing.org/t/problem-with-my-button/20868)

<div class="topic-metadata">

**Author:** [@Coco5](https://discourse.processing.org/u/Coco5)\
**Replies:** 11\
**Last updated:** [May 15, 2020, 10:21pm UTC](https://discourse.processing.org/t/problem-with-my-button/20868 "2020-05-15T22:21:09Z")

</div>

Hi, I have a little problem with p5js. My code was working very well until I added a button to save my canvas. I don’t understand why when I add the button in the function setup, it is making my code to crash. //QUELQU…

---

## [How to use server for better video quality](https://discourse.processing.org/t/how-to-use-server-for-better-video-quality/20916)

<div class="topic-metadata">

**Author:** [@trubel](https://discourse.processing.org/u/trubel)\
**Replies:** 0\
**Last updated:** [May 15, 2020, 4:23pm UTC](https://discourse.processing.org/t/how-to-use-server-for-better-video-quality/20916 "2020-05-15T16:23:09Z")

</div>

I have a robot with an manipulator (arm), to which a camera is attached . The arm is controlled by an arduino wannabe (arbotix), which in turn is controlled over usb by a processing 3 sketch with G4P GUI. The Processin…

---

## [Webcam sketch "mirror" not working](https://discourse.processing.org/t/webcam-sketch-mirror-not-working/20805)

<div class="topic-metadata">

**Author:** [@sargentpilcher](https://discourse.processing.org/u/sargentpilcher)\
**Replies:** 8\
**Last updated:** [May 15, 2020, 8:09pm UTC](https://discourse.processing.org/t/webcam-sketch-mirror-not-working/20805 "2020-05-15T20:09:01Z")

</div>

I’m just getting started with processing, attempting to learn the ropes, and I was watching a youtube tutorial where he pulls up the built in sketch “mirror” under “libraries \> video \> capture \> mirror” and my webcam lig…

---

## [Problem with Unicode](https://discourse.processing.org/t/problem-with-unicode/20837)

<div class="topic-metadata">

**Author:** [@Arsenii](https://discourse.processing.org/u/Arsenii)\
**Replies:** 3\
**Last updated:** [May 15, 2020, 7:42pm UTC](https://discourse.processing.org/t/problem-with-unicode/20837 "2020-05-15T19:42:46Z")

</div>

I want to use Katakana symbols but i can not understand how to equate it to char variable

---

## [Rosetta Challenge! -- Reverse a String](https://discourse.processing.org/t/rosetta-challenge-reverse-a-string/20644)

<div class="topic-metadata">

**Author:** [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Replies:** 32\
**Last updated:** [May 15, 2020, 5:45pm UTC](https://discourse.processing.org/t/rosetta-challenge-reverse-a-string/20644 "2020-05-15T17:45:10Z")

</div>

This is a Rosetta Challenge. Gratefully accepting answers for Processing, p5.js, processing.js, processing.py, p5py, JRubyArt, Processing.R, et cetera – including multiple approaches in one mode. Answers may be cross-pos…

---

## [Send an audio with server](https://discourse.processing.org/t/send-an-audio-with-server/20513)

<div class="topic-metadata">

**Author:** [@Hydent](https://discourse.processing.org/u/Hydent)\
**Replies:** 1\
**Last updated:** [May 15, 2020, 5:47pm UTC](https://discourse.processing.org/t/send-an-audio-with-server/20513 "2020-05-15T17:47:34Z")

</div>

I want to create a program to send an audio with server and receive like discord but on LAN. Here is the code who is for start import processing.net.\*; import processing.sound.\*; Server server; Client client; String …

---

## [How to nicely generate a graph of a function of two variables with a restriction on the domain?](https://discourse.processing.org/t/how-to-nicely-generate-a-graph-of-a-function-of-two-variables-with-a-restriction-on-the-domain/20760)

<div class="topic-metadata">

**Author:** [@jancnahn](https://discourse.processing.org/u/jancnahn)\
**Replies:** 2\
**Last updated:** [May 15, 2020, 3:31pm UTC](https://discourse.processing.org/t/how-to-nicely-generate-a-graph-of-a-function-of-two-variables-with-a-restriction-on-the-domain/20760 "2020-05-15T15:31:14Z")

</div>

Hello, I recently got into p5 from watching The Coding Train, and I wish to generate two-dimensional surfaces in 3D (like using WEBGL) given by a function of two variables. If there is a function in Processing that doe…

---

## [Problem with video portrait](https://discourse.processing.org/t/problem-with-video-portrait/20908)

<div class="topic-metadata">

**Author:** [@dragoneo](https://discourse.processing.org/u/dragoneo)\
**Replies:** 6\
**Last updated:** [May 15, 2020, 1:55pm UTC](https://discourse.processing.org/t/problem-with-video-portrait/20908 "2020-05-15T13:55:11Z")

</div>

For my actual project I have to display on a screen in Portrait mode videos and pictures which are also in portrait mode. The videos and pictures got exactly the same size (they have done by a smartphone). I get no prob…

---

## [P5js sound and Safari](https://discourse.processing.org/t/p5js-sound-and-safari/20880)

<div class="topic-metadata">

**Author:** [@antocreo](https://discourse.processing.org/u/antocreo)\
**Replies:** 2\
**Last updated:** [May 15, 2020, 1:53pm UTC](https://discourse.processing.org/t/p5js-sound-and-safari/20880 "2020-05-15T13:53:58Z")

</div>

Hi, I am experiencing some problems with p5.sound on Safari. I simply can’t hear the sound but the files are loaded and they seem to be played when I check in the console inspector. I just don’t hear the sound and yes,…

---

## [Reading files from a folder(s) ...where to start learning?](https://discourse.processing.org/t/reading-files-from-a-folder-s-where-to-start-learning/20761)

<div class="topic-metadata">

**Author:** [@Eyetoof](https://discourse.processing.org/u/Eyetoof)\
**Replies:** 3\
**Last updated:** [May 13, 2020, 7:29am UTC](https://discourse.processing.org/t/reading-files-from-a-folder-s-where-to-start-learning/20761 "2020-05-13T07:29:22Z")

</div>

Where should I start if I want to learn about writing my program to look into a folder, and any/all of it’s subfolders, understanding whats there and then doing stuff with the files? I am working with a program where I …

---

## [I dont want this line! How to remove it?](https://discourse.processing.org/t/i-dont-want-this-line-how-to-remove-it/20865)

<div class="topic-metadata">

**Author:** [@julia1312](https://discourse.processing.org/u/julia1312)\
**Replies:** 3\
**Last updated:** [May 15, 2020, 6:22am UTC](https://discourse.processing.org/t/i-dont-want-this-line-how-to-remove-it/20865 "2020-05-15T06:22:38Z")

</div>

I need to draw an electrical circuit using processing… and I am almost done. I need to draw them using some “vertex” codes. But there is a diagonally line that appeared and I can’t remove it. The lines are changing posit…

---

## [Just a Small Question: Load path](https://discourse.processing.org/t/just-a-small-question-load-path/20814)

<div class="topic-metadata">

**Author:** [@HumanoidX](https://discourse.processing.org/u/HumanoidX)\
**Replies:** 4\
**Last updated:** [May 15, 2020, 5:45am UTC](https://discourse.processing.org/t/just-a-small-question-load-path/20814 "2020-05-15T05:45:36Z")

</div>

Hi everyone, is there a way that I can load a file in a folder? for example: randomString = loadString("somerandomfolder\\anotherrandomfolder\\finallythestringiwant.txt"); Just like Minecraft data files, there is a lo…

---

## [Posenet node sockets tree leaf interaction](https://discourse.processing.org/t/posenet-node-sockets-tree-leaf-interaction/20899)

<div class="topic-metadata">

**Author:** [@yuinjann](https://discourse.processing.org/u/yuinjann)\
**Replies:** 0\
**Last updated:** [May 15, 2020, 4:35am UTC](https://discourse.processing.org/t/posenet-node-sockets-tree-leaf-interaction/20899 "2020-05-15T04:35:52Z")

</div>

hey! So I made a node app with posenet, and the aim is for an interactive web experience, where two people’s hands are needed to grow a tree. The first person who logs on will be the root of the tree, and the second per…

---

## [P5.js vs p5.min.js; Which one should I use?](https://discourse.processing.org/t/p5-js-vs-p5-min-js-which-one-should-i-use/19920)

<div class="topic-metadata">

**Author:** [@Bassam](https://discourse.processing.org/u/Bassam)\
**Replies:** 7\
**Last updated:** [May 15, 2020, 5:07am UTC](https://discourse.processing.org/t/p5-js-vs-p5-min-js-which-one-should-i-use/19920 "2020-05-15T05:07:24Z")

</div>

Is there any harm in using the min version? I’m just wondering if it’ll be faster, take up less memory, be faster to download…?

---

## [Growing and shrinking ellipse](https://discourse.processing.org/t/growing-and-shrinking-ellipse/20838)

<div class="topic-metadata">

**Author:** [@Filo96ge](https://discourse.processing.org/u/Filo96ge)\
**Replies:** 6\
**Last updated:** [May 15, 2020, 4:38am UTC](https://discourse.processing.org/t/growing-and-shrinking-ellipse/20838 "2020-05-15T04:38:08Z")

</div>

Hello! I’m working on a simple exercise but I am stuck, basically my goal is to have an animation of a ellipse growing untill touch the square’s corner and shrinking in the opposite direction untill its diameter is 0 the…

---

## [Background colour change](https://discourse.processing.org/t/background-colour-change/20855)

<div class="topic-metadata">

**Author:** [@ree311](https://discourse.processing.org/u/ree311)\
**Replies:** 2\
**Last updated:** [May 15, 2020, 4:13am UTC](https://discourse.processing.org/t/background-colour-change/20855 "2020-05-15T04:13:19Z")

</div>

Hello, I am a beginner trying to create a real-time art for an assignment in processing with true or false conditions and a mouse press. So far I have been able to play around and gain understanding with some code I fo…

---

## [Moving Fractal Tree Space colonisation according to hand position (posenet)](https://discourse.processing.org/t/moving-fractal-tree-space-colonisation-according-to-hand-position-posenet/20737)

<div class="topic-metadata">

**Author:** [@yuinjann](https://discourse.processing.org/u/yuinjann)\
**Replies:** 2\
**Last updated:** [May 15, 2020, 3:14am UTC](https://discourse.processing.org/t/moving-fractal-tree-space-colonisation-according-to-hand-position-posenet/20737 "2020-05-15T03:14:44Z")

</div>

Hello! So I have this sketch that modifies Daniel Shiffman’s p5.js \[Coding Challenge #17: Fractal Trees - Space Colonization \]. Using posenet, the leaves are generated by my left hand, and the root of the tree is generat…

---

## [Continue rotating a circular image with mouseDragged where it was left off](https://discourse.processing.org/t/continue-rotating-a-circular-image-with-mousedragged-where-it-was-left-off/20759)

<div class="topic-metadata">

**Author:** [@soraiaxb](https://discourse.processing.org/u/soraiaxb)\
**Replies:** 3\
**Last updated:** [May 15, 2020, 2:58am UTC](https://discourse.processing.org/t/continue-rotating-a-circular-image-with-mousedragged-where-it-was-left-off/20759 "2020-05-15T02:58:07Z")

</div>

Hi, I’m trying to rotate a circular image on mouseDragged and I got the image to rotate when dragging the mouse but when I stop dragging and start dragging again from a different position of the image it doesn’t continue…

---

## [How to click on a moving ellipse](https://discourse.processing.org/t/how-to-click-on-a-moving-ellipse/20864)

<div class="topic-metadata">

**Author:** [@jaiy](https://discourse.processing.org/u/jaiy)\
**Replies:** 15\
**Last updated:** [May 14, 2020, 3:00pm UTC](https://discourse.processing.org/t/how-to-click-on-a-moving-ellipse/20864 "2020-05-14T15:00:30Z")

</div>

Urgently need help on finishing my project its called the dropping ball game and everytime the ball drops you would click on it and the score would go up by 1 and vice versa but having a hard time clicking on the ellipse…

---

## [Problem with Scoreboard in game](https://discourse.processing.org/t/problem-with-scoreboard-in-game/20892)

<div class="topic-metadata">

**Author:** [@jaiy](https://discourse.processing.org/u/jaiy)\
**Replies:** 2\
**Last updated:** [May 15, 2020, 2:00am UTC](https://discourse.processing.org/t/problem-with-scoreboard-in-game/20892 "2020-05-15T02:00:11Z")

</div>

Having some issues with my scoreboard I am trying to use missed++ whenever the ellipse hits the line before the scoreboard missed should plus one every time but it does not work. If someone could help me that would be gr…

---

## [Problem with my game](https://discourse.processing.org/t/problem-with-my-game/20888)

<div class="topic-metadata">

**Author:** [@jaiy](https://discourse.processing.org/u/jaiy)\
**Replies:** 2\
**Last updated:** [May 15, 2020, 12:47am UTC](https://discourse.processing.org/t/problem-with-my-game/20888 "2020-05-15T00:47:21Z")

</div>

I am having trouble with my int missed I can’t get it to work like I want it to count as a missed as soon as it touches the line before the scoreboard and every time missed plus one the score would decrease by one. If an…

---

## [Difficulty with mouseX & mouseY](https://discourse.processing.org/t/difficulty-with-mousex-mousey/20641)

<div class="topic-metadata">

**Author:** [@Ted](https://discourse.processing.org/u/Ted)\
**Replies:** 3\
**Last updated:** [May 9, 2020, 6:23am UTC](https://discourse.processing.org/t/difficulty-with-mousex-mousey/20641 "2020-05-09T06:23:14Z")

</div>

I am VERY new to Java programming, (about a week now), and trying to complete a very simple Simon Says type game, (where you click on the colored boxes that randomly flash). My is I can’t get my mouse X & Y coordinates …

---

## [Random function and constrain](https://discourse.processing.org/t/random-function-and-constrain/20505)

<div class="topic-metadata">

**Author:** [@Filo96ge](https://discourse.processing.org/u/Filo96ge)\
**Replies:** 4\
**Last updated:** [May 14, 2020, 10:56pm UTC](https://discourse.processing.org/t/random-function-and-constrain/20505 "2020-05-14T22:56:50Z")

</div>

Hello everybody, I’m working on a small personal exercise and I cannot undestrand how to avoid the born of random ball inside of the small square. The idea is to fill only the white square and leave the pink-center squa…

---

## [Movement question?](https://discourse.processing.org/t/movement-question/20876)

<div class="topic-metadata">

**Author:** [@bscohen06](https://discourse.processing.org/u/bscohen06)\
**Replies:** 4\
**Last updated:** [May 14, 2020, 10:37pm UTC](https://discourse.processing.org/t/movement-question/20876 "2020-05-14T22:37:33Z")

</div>

So I coding movement and it works but I can not move diagonally and only do one input at once how do I fix this?

---

## [Older, deleted image keeps loading instead of newer one with the same name](https://discourse.processing.org/t/older-deleted-image-keeps-loading-instead-of-newer-one-with-the-same-name/20746)

<div class="topic-metadata">

**Author:** [@Vera](https://discourse.processing.org/u/Vera)\
**Replies:** 4\
**Last updated:** [May 14, 2020, 7:22pm UTC](https://discourse.processing.org/t/older-deleted-image-keeps-loading-instead-of-newer-one-with-the-same-name/20746 "2020-05-14T19:22:22Z")

</div>

I’m using the web editor. I have an array with a number of images in it. I added a new image and I accidentally uploaded the wrong file first. Because the naming structure is related to the array, the second, right imag…

---

## [Question about loadstrings() function](https://discourse.processing.org/t/question-about-loadstrings-function/20824)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 4\
**Last updated:** [May 14, 2020, 4:48pm UTC](https://discourse.processing.org/t/question-about-loadstrings-function/20824 "2020-05-14T16:48:24Z")

</div>

Hi! Is it expected behaviour for the ‘loadstrings()’ function to skip blank or empty lines in Processing 3? The documentation doesn’t mention this, but that seems to be the case. I’m loading a small text file which has …

---

## [Sharing Image variables between PApplets](https://discourse.processing.org/t/sharing-image-variables-between-papplets/19877)

<div class="topic-metadata">

**Author:** [@chuchu](https://discourse.processing.org/u/chuchu)\
**Replies:** 8\
**Last updated:** [May 14, 2020, 2:05pm UTC](https://discourse.processing.org/t/sharing-image-variables-between-papplets/19877 "2020-05-14T14:05:04Z")

</div>

Hello Processing Discourse! I am trying to select a portion of video from a video capture by dragging a rectangle and then display that to a second window (a new PApplet). My question is how do I pass the captured cropp…

---

## [Issue with using keyReleased() to pause row of moving ellipses](https://discourse.processing.org/t/issue-with-using-keyreleased-to-pause-row-of-moving-ellipses/20816)

<div class="topic-metadata">

**Author:** [@user6886](https://discourse.processing.org/u/user6886)\
**Replies:** 11\
**Last updated:** [May 14, 2020, 1:53pm UTC](https://discourse.processing.org/t/issue-with-using-keyreleased-to-pause-row-of-moving-ellipses/20816 "2020-05-14T13:53:55Z")

</div>

Hello! I posted this on StackOverflow, but don’t seem to be having any luck with answers, and would really appreciate some help please. I’m having some trouble with a program I’m altering in Processing. This is the link…

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

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