# Latest

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

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

**Page:** 331

---

## [Tilemap with Buildings and Mousemovement, does not work like it should](https://discourse.processing.org/t/tilemap-with-buildings-and-mousemovement-does-not-work-like-it-should/22159)

<div class="topic-metadata">

**Author:** [@rotzend](https://discourse.processing.org/u/rotzend)\
**Replies:** 1\
**Last updated:** [June 25, 2020, 6:00pm UTC](https://discourse.processing.org/t/tilemap-with-buildings-and-mousemovement-does-not-work-like-it-should/22159 "2020-06-25T18:00:30Z")

</div>

Hello everybody, I have only been dealing with canvas for a very short time, thanks to the YouTube “The Coding Train” I became aware of p5js years ago and I am really enthusiastic, it is significantly faster, smaller an…

---

## [Want a suggestion to make a tremendous problem-solver app but prototype of it in p5js](https://discourse.processing.org/t/want-a-suggestion-to-make-a-tremendous-problem-solver-app-but-prototype-of-it-in-p5js/22167)

<div class="topic-metadata">

**Author:** [@ARNAV\_A\_GUPTA](https://discourse.processing.org/u/ARNAV_A_GUPTA)\
**Replies:** 1\
**Last updated:** [June 25, 2020, 5:51pm UTC](https://discourse.processing.org/t/want-a-suggestion-to-make-a-tremendous-problem-solver-app-but-prototype-of-it-in-p5js/22167 "2020-06-25T17:51:10Z")

</div>

I’ve been enrolled in a challenge where I’ve to make an app which solves a problem (I think the problem itself should be innovative)… Got many points: An app which tells only about the truth of an action made by the g…

---

## [G4P button properties and methods](https://discourse.processing.org/t/g4p-button-properties-and-methods/22068)

<div class="topic-metadata">

**Author:** [@mike\_z](https://discourse.processing.org/u/mike_z)\
**Replies:** 8\
**Last updated:** [June 25, 2020, 3:26pm UTC](https://discourse.processing.org/t/g4p-button-properties-and-methods/22068 "2020-06-25T15:26:33Z")

</div>

I consider myself a beginner with processing. Recently I wrote a program to test ignition coils using an Arduino. The program works fine, but uses the serial monitor to control it. I have downloaded the G4P GUI tool and …

---

## [controlP5 "bang" being pressed by using hardware (Arduino)](https://discourse.processing.org/t/controlp5-bang-being-pressed-by-using-hardware-arduino/22156)

<div class="topic-metadata">

**Author:** [@Ardubora](https://discourse.processing.org/u/Ardubora)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 11:41am UTC](https://discourse.processing.org/t/controlp5-bang-being-pressed-by-using-hardware-arduino/22156 "2020-06-25T11:41:18Z")

</div>

Is it possible to make a button (f.e bang) from the controlP5 to be pressed without klicking the button? But lets say instead usea button on an arduino?

---

## [The JOptionPane dialog window appears when pressing the "wrong" button on the controlP5 GUI](https://discourse.processing.org/t/the-joptionpane-dialog-window-appears-when-pressing-the-wrong-button-on-the-controlp5-gui/22124)

<div class="topic-metadata">

**Author:** [@Ardubora](https://discourse.processing.org/u/Ardubora)\
**Replies:** 9\
**Last updated:** [June 25, 2020, 11:22am UTC](https://discourse.processing.org/t/the-joptionpane-dialog-window-appears-when-pressing-the-wrong-button-on-the-controlp5-gui/22124 "2020-06-25T11:22:49Z")

</div>

I made a dialog window appear when one is pressing the button “red1”. The first attempt at compiling after restart is normal. When I press “ok” in that pop-up or I close it the button “red1” still stays pressed/active. A…

---

## [How to keep my application alive in background in processing android (APDE)](https://discourse.processing.org/t/how-to-keep-my-application-alive-in-background-in-processing-android-apde/22126)

<div class="topic-metadata">

**Author:** [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Replies:** 5\
**Last updated:** [June 25, 2020, 8:59am UTC](https://discourse.processing.org/t/how-to-keep-my-application-alive-in-background-in-processing-android-apde/22126 "2020-06-25T08:59:59Z")

</div>

How to keep my application alive in background, even after closing the app and clearing off the ram… I know this is possible without a ROOT, beacuse Reddit does it for notification purposes… Thanks in advance…

---

## [How to get coordinates of where two shapes touch](https://discourse.processing.org/t/how-to-get-coordinates-of-where-two-shapes-touch/22136)

<div class="topic-metadata">

**Author:** [@aaronjmcd2](https://discourse.processing.org/u/aaronjmcd2)\
**Replies:** 3\
**Last updated:** [June 25, 2020, 2:55am UTC](https://discourse.processing.org/t/how-to-get-coordinates-of-where-two-shapes-touch/22136 "2020-06-25T02:55:30Z")

</div>

Hi! I’m trying to figure out if there’s a way to get the x and y coordinates of where two separate shapes (any shapes) touch. Any idea how I might obtain that information? Thanks!

---

## [Academic exercise HELP](https://discourse.processing.org/t/academic-exercise-help/22130)

<div class="topic-metadata">

**Author:** [@Nikos](https://discourse.processing.org/u/Nikos)\
**Replies:** 5\
**Last updated:** [June 25, 2020, 12:23am UTC](https://discourse.processing.org/t/academic-exercise-help/22130 "2020-06-25T00:23:00Z")

</div>

Hello! I’m a newbie on processing and I have a question about an academic exercise. I want to make diagonal points with degrading strokeWeight(starting at point 0,0 with the bigger point). I must use this semi completed…

---

## [Wait for selectFolder()](https://discourse.processing.org/t/wait-for-selectfolder/22122)

<div class="topic-metadata">

**Author:** [@F53](https://discourse.processing.org/u/F53)\
**Replies:** 4\
**Last updated:** [June 25, 2020, 12:02am UTC](https://discourse.processing.org/t/wait-for-selectfolder/22122 "2020-06-25T00:02:48Z")

</div>

I am writing a program to do mass image editing and would like to have the end user select an input and output folder when the program starts. I tried using selectFolder("Select a input folder:", "inputFolder"); and it …

---

## [Neural network help: AI doesn't improve](https://discourse.processing.org/t/neural-network-help-ai-doesnt-improve/5880)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 3\
**Last updated:** [June 24, 2020, 11:54pm UTC](https://discourse.processing.org/t/neural-network-help-ai-doesnt-improve/5880 "2020-06-24T23:54:42Z")

</div>

Hi, i made a very simple and basic (i thought, but might as well be skynet…) Neural Network. I am quite familiar with how it should work, although i never made one myself (though i copied a machine learning system, which…

---

## [HttpDo return string?](https://discourse.processing.org/t/httpdo-return-string/22121)

<div class="topic-metadata">

**Author:** [@sasaKDH](https://discourse.processing.org/u/sasaKDH)\
**Replies:** 1\
**Last updated:** [June 24, 2020, 8:33pm UTC](https://discourse.processing.org/t/httpdo-return-string/22121 "2020-06-24T20:33:35Z")

</div>

function click6(){ if(dis==1){ username = input.value(); httpDo( userURL+username, { method: 'GET', // Other Request options, like special headers for apis headers: { Authori…

---

## [Decrypt caesar cipher](https://discourse.processing.org/t/decrypt-caesar-cipher/22131)

<div class="topic-metadata">

**Author:** [@homeCoder](https://discourse.processing.org/u/homeCoder)\
**Replies:** 1\
**Last updated:** [June 24, 2020, 8:24pm UTC](https://discourse.processing.org/t/decrypt-caesar-cipher/22131 "2020-06-24T20:24:35Z")

</div>

thank you thank you very much

---

## [Shiffman Learning Processing EXERCISE Answers?](https://discourse.processing.org/t/shiffman-learning-processing-exercise-answers/19395)

<div class="topic-metadata">

**Author:** [@Eyetoof](https://discourse.processing.org/u/Eyetoof)\
**Replies:** 7\
**Last updated:** [June 24, 2020, 8:13pm UTC](https://discourse.processing.org/t/shiffman-learning-processing-exercise-answers/19395 "2020-06-24T20:13:10Z")

</div>

Hello I am using D Shifmans Learning Processing text. I know I can find all the sketches on line, but I wonder if anyone has posted answers to the exersizes throughout the book? I suppose if it works, its the right an…

---

## [Imported class from another tab doesn't work](https://discourse.processing.org/t/imported-class-from-another-tab-doesnt-work/22135)

<div class="topic-metadata">

**Author:** [@Tahsin](https://discourse.processing.org/u/Tahsin)\
**Replies:** 1\
**Last updated:** [June 24, 2020, 8:09pm UTC](https://discourse.processing.org/t/imported-class-from-another-tab-doesnt-work/22135 "2020-06-24T20:09:02Z")

</div>

Hey! So I’ve been trying to make a voronoi animation in processing.py and For some reason, I can’t call my voronoi class from the other tab. I’m getting the error : NameError: global name ‘v’ is not defined I can’t fig…

---

## [Pshape ... not in shape](https://discourse.processing.org/t/pshape-not-in-shape/22125)

<div class="topic-metadata">

**Author:** [@klap](https://discourse.processing.org/u/klap)\
**Replies:** 1\
**Last updated:** [June 24, 2020, 7:59pm UTC](https://discourse.processing.org/t/pshape-not-in-shape/22125 "2020-06-24T19:59:49Z")

</div>

Why is the droplet working with the code which is commented out and not in the Pshape version? //fill(0, 0, 255); //beginShape(); //vertex(50, 10); //bezierVertex(50, 10, 5, 50, 50, 60); //bezierVertex(70, 50, 70, 30, …

---

## [Network library: Is there a limit on the size of a byte array sent to a Client via the write() function?](https://discourse.processing.org/t/network-library-is-there-a-limit-on-the-size-of-a-byte-array-sent-to-a-client-via-the-write-function/21506)

<div class="topic-metadata">

**Author:** [@giulio](https://discourse.processing.org/u/giulio)\
**Replies:** 2\
**Last updated:** [June 24, 2020, 2:11pm UTC](https://discourse.processing.org/t/network-library-is-there-a-limit-on-the-size-of-a-byte-array-sent-to-a-client-via-the-write-function/21506 "2020-06-24T14:11:03Z")

</div>

Scenario: I have three programs: a TCP Server (written in Processing), and Producer and Consumer (they are not Processing sketches). Producer produces an array of bytes. Producer and Consumer connect to the TCP Server, a…

---

## [Studio Dumbar's works. (Amsterdam Sinfonietta )](https://discourse.processing.org/t/studio-dumbars-works-amsterdam-sinfonietta/21992)

<div class="topic-metadata">

**Author:** [@yhlaskerimov](https://discourse.processing.org/u/yhlaskerimov)\
**Replies:** 5\
**Last updated:** [June 24, 2020, 12:47pm UTC](https://discourse.processing.org/t/studio-dumbars-works-amsterdam-sinfonietta/21992 "2020-06-24T12:47:18Z")

</div>

Who knows how to do works like Studio Dumbar do ? They are coding and their code reacting to the music. Some examples: https://youtu.be/0C9\_nYeVxa0

---

## [Question about GCheckbox in G4P library](https://discourse.processing.org/t/question-about-gcheckbox-in-g4p-library/22119)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 2\
**Last updated:** [June 24, 2020, 11:49am UTC](https://discourse.processing.org/t/question-about-gcheckbox-in-g4p-library/22119 "2020-06-24T11:49:51Z")

</div>

I have a question about GCheckbox objects. Depending on the control mode, the 4th & 5th parameters in the creation methods are supposed to specify either the X/Y positions (of the bottom right corner, I think) or the wid…

---

## [Buffered Draw to improve performance](https://discourse.processing.org/t/buffered-draw-to-improve-performance/21943)

<div class="topic-metadata">

**Author:** [@bruce](https://discourse.processing.org/u/bruce)\
**Replies:** 2\
**Last updated:** [June 24, 2020, 10:41am UTC](https://discourse.processing.org/t/buffered-draw-to-improve-performance/21943 "2020-06-24T10:41:28Z")

</div>

I notice that p5.js gets overloaded quickly when it gets a lot of work and screen updates to do on every draw cycle. My system temperature goes up and I hear the fan spinning at max speed. It happens a lot! So, I’m wo…

---

## [Processing Compiler?](https://discourse.processing.org/t/processing-compiler/22101)

<div class="topic-metadata">

**Author:** [@Wirtex](https://discourse.processing.org/u/Wirtex)\
**Replies:** 5\
**Last updated:** [June 24, 2020, 10:09am UTC](https://discourse.processing.org/t/processing-compiler/22101 "2020-06-24T10:09:47Z")

</div>

Hi, I develop quite regularly on Processing; and a few days ago, I found a raspberry pi. Unfortunately it is too slow to have a desktop environment, so I use the command line os l(GNU/Linux) (raspberry pi os lite) I wo…

---

## [Game wont resume](https://discourse.processing.org/t/game-wont-resume/22112)

<div class="topic-metadata">

**Author:** [@qewer3322](https://discourse.processing.org/u/qewer3322)\
**Replies:** 7\
**Last updated:** [June 24, 2020, 8:42am UTC](https://discourse.processing.org/t/game-wont-resume/22112 "2020-06-24T08:42:27Z")

</div>

So I have a somewhat simple snake game code here: ArrayList\<Integer\> x = new ArrayList\<Integer\>(), y = new ArrayList\<Integer\>(); int w=30, h=30, blocks=20, direction = 2, foodx =15, foody = 15, fcl1=255, fcl2=255, fcl3=…

---

## [Pong game menu with stages](https://discourse.processing.org/t/pong-game-menu-with-stages/21893)

<div class="topic-metadata">

**Author:** [@mrporcessing](https://discourse.processing.org/u/mrporcessing)\
**Replies:** 3\
**Last updated:** [June 24, 2020, 1:55am UTC](https://discourse.processing.org/t/pong-game-menu-with-stages/21893 "2020-06-24T01:55:12Z")

</div>

Hi, I need help creating the menus with stages. Whenever I do it, voidKeypressed keeps getting highlighted. I’m not sure why. Also you can suggest any other changes. //all major variables int x,y,w,h,speedX,speedY;//cir…

---

## [Change Size of menu bar](https://discourse.processing.org/t/change-size-of-menu-bar/22086)

<div class="topic-metadata">

**Author:** [@Bobby54](https://discourse.processing.org/u/Bobby54)\
**Replies:** 1\
**Last updated:** [June 23, 2020, 10:30pm UTC](https://discourse.processing.org/t/change-size-of-menu-bar/22086 "2020-06-23T22:30:24Z")

</div>

Hi, I saw this issue on github(https://github.com/processing/processing/issues/6059#issue-642745442) an wanted to ask if anyone has an idea on how to change the menu Size apart from making a Processing Repository clone …

---

## [Loop draw with rotating image](https://discourse.processing.org/t/loop-draw-with-rotating-image/22118)

<div class="topic-metadata">

**Author:** [@aerob](https://discourse.processing.org/u/aerob)\
**Replies:** 1\
**Last updated:** [June 23, 2020, 10:16pm UTC](https://discourse.processing.org/t/loop-draw-with-rotating-image/22118 "2020-06-23T22:16:29Z")

</div>

Hello guys, I am new to processing… but im having a lot of fun learning new ways of programming. In this particular code i have a png which rotates in a 90 degrees angle. what im missing is that the png starts in the to…

---

## [Image size formating: What is the best way to do it?](https://discourse.processing.org/t/image-size-formating-what-is-the-best-way-to-do-it/22104)

<div class="topic-metadata">

**Author:** [@AntiViral\_Builder](https://discourse.processing.org/u/AntiViral_Builder)\
**Replies:** 2\
**Last updated:** [June 23, 2020, 10:02pm UTC](https://discourse.processing.org/t/image-size-formating-what-is-the-best-way-to-do-it/22104 "2020-06-23T22:02:53Z")

</div>

This is not an AI question, but what I want to do is to take an image containing a character and format it to the size that my AI will accept which is 32,32. the problem is that when I use this: for (int i=0;i\<32;i++){ …

---

## [How to repeat 5 sec?](https://discourse.processing.org/t/how-to-repeat-5-sec/22113)

<div class="topic-metadata">

**Author:** [@lee1](https://discourse.processing.org/u/lee1)\
**Replies:** 1\
**Last updated:** [June 23, 2020, 9:47pm UTC](https://discourse.processing.org/t/how-to-repeat-5-sec/22113 "2020-06-23T21:47:57Z")

</div>

how can repeat every code 5 sec forver? i try to find about that, i cant find “repeat using time”

---

## [XML string with return sign](https://discourse.processing.org/t/xml-string-with-return-sign/22102)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 5\
**Last updated:** [June 23, 2020, 9:33pm UTC](https://discourse.processing.org/t/xml-string-with-return-sign/22102 "2020-06-23T21:33:53Z")

</div>

Hi, I put back in a XML file a string with many lines. But after record it I have only one lines. txt.setContent(t.getTxt()); //txt is my xml node What is missing ?

---

## [Interested 1:1 virtual check in for using p5 or processing in the classroom](https://discourse.processing.org/t/interested-1-1-virtual-check-in-for-using-p5-or-processing-in-the-classroom/22099)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 2\
**Last updated:** [June 23, 2020, 9:33pm UTC](https://discourse.processing.org/t/interested-1-1-virtual-check-in-for-using-p5-or-processing-in-the-classroom/22099 "2020-06-23T21:33:13Z")

</div>

Hi everyone, Hope the summer is starting off well for you. If you are interested in talking with someone about using p5 or Processing in the classroom I have some time this Wednesday or Thursday. You can book time using…

---

## [Game or Animation with my char](https://discourse.processing.org/t/game-or-animation-with-my-char/22109)

<div class="topic-metadata">

**Author:** [@Helix1221](https://discourse.processing.org/u/Helix1221)\
**Replies:** 1\
**Last updated:** [June 23, 2020, 8:50pm UTC](https://discourse.processing.org/t/game-or-animation-with-my-char/22109 "2020-06-23T20:50:20Z")

</div>

Hey guys can you help me make a game or a animation with my char, i just need a simple game and small in termes of coding. tks a lot my char code ; float DarkzeroX = 300; float DarkzeroY = 300; //start size(900, 80…

---

## [Bonporti (latest piece)](https://discourse.processing.org/t/bonporti-latest-piece/22078)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 4\
**Last updated:** [June 23, 2020, 6:26pm UTC](https://discourse.processing.org/t/bonporti-latest-piece/22078 "2020-06-23T18:26:18Z")

</div>

I just released my latest piece: Bonporti. I may work with Maya & Houdini professionally, but processing is the tool I’ve been looking for that allows me to do my art the way I want to do it: entirely in code. And I fee…

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

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