# Latest

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

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

**Page:** 137

---

## [How to move an object across a game board. Multiple Objects](https://discourse.processing.org/t/how-to-move-an-object-across-a-game-board-multiple-objects/36926)

<div class="topic-metadata">

**Author:** [@Gray](https://discourse.processing.org/u/Gray)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 4:57pm UTC](https://discourse.processing.org/t/how-to-move-an-object-across-a-game-board-multiple-objects/36926 "2022-05-17T16:57:30Z")

</div>

Hello! I am an extreme beginner in the field of P5.JS. I am way more knowledgeable in Java which will be apparent in my broken code. I have attempted a multitude of Java approaches to cycling through objects of the same …

---

## [The output is missing when button is pressed](https://discourse.processing.org/t/the-output-is-missing-when-button-is-pressed/36917)

<div class="topic-metadata">

**Author:** [@jjjjjjj](https://discourse.processing.org/u/jjjjjjj)\
**Replies:** 2\
**Last updated:** [May 17, 2022, 4:23pm UTC](https://discourse.processing.org/t/the-output-is-missing-when-button-is-pressed/36917 "2022-05-17T16:23:36Z")

</div>

Hi, I’m doing an assignment which I have to create a game and I’ve attempted to create a functioning menu. I coded buttons that navigate to different modes(?) when clicked using class (to create button) and switch (to go…

---

## [Goldsmiths Computational Arts Pop Up Exhibition](https://discourse.processing.org/t/goldsmiths-computational-arts-pop-up-exhibition/36921)

<div class="topic-metadata">

**Author:** [@jessewolpert](https://discourse.processing.org/u/jessewolpert)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 2:06pm UTC](https://discourse.processing.org/t/goldsmiths-computational-arts-pop-up-exhibition/36921 "2022-05-17T14:06:17Z")

</div>

Come and join us for our Goldsmiths Computational Arts pop up exhibition: 𝐜𝐡𝐞𝐜𝐤𝐩𝐨𝐢𝐧𝐭 𝐛𝐚𝐬𝐞𝐦𝐞𝐧𝐭 𝐬𝐪𝐮𝐚𝐛𝐛𝐥𝐞 is a cumulation of projects developed over the year by the post-graduate students of MA/MFA Computational Arts. The…

---

## [Capture of smartphone camera fails](https://discourse.processing.org/t/capture-of-smartphone-camera-fails/36920)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 2:00pm UTC](https://discourse.processing.org/t/capture-of-smartphone-camera-fails/36920 "2022-05-17T14:00:07Z")

</div>

import processing.video.\*; Capture cam; Capture cam1; PGraphics pg1; PGraphics pg2; PImage img; PImage img1; void setup() { size(950, 650, JAVA2D); // JAVA2D by default pg1 = createGraphics(width/2, height/2, JAVA2D…

---

## [Synchrony: An artist's guide to talking mathematics with p5.js](https://discourse.processing.org/t/synchrony-an-artists-guide-to-talking-mathematics-with-p5-js/36679)

<div class="topic-metadata">

**Author:** [@mcintyre](https://discourse.processing.org/u/mcintyre)\
**Replies:** 9\
**Last updated:** [May 17, 2022, 1:28pm UTC](https://discourse.processing.org/t/synchrony-an-artists-guide-to-talking-mathematics-with-p5-js/36679 "2022-05-17T13:28:45Z")

</div>

Hello! I wrote a book called Synchrony that introduces beginners to mathematical modeling in p5.js. It also doubles as a prequel to 2001: A Space Odyssey. Hope it’s helpful :slight\_smile:

---

## [Differences between image(), createImage and createImg()](https://discourse.processing.org/t/differences-between-image-createimage-and-createimg/36913)

<div class="topic-metadata">

**Author:** [@teemee](https://discourse.processing.org/u/teemee)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 7:33am UTC](https://discourse.processing.org/t/differences-between-image-createimage-and-createimg/36913 "2022-05-17T07:33:10Z")

</div>

I am curious about these three image functions image(); createImg(); createImage(); I have read the reference pages but still want some clear explanation. Is the creatImage() works with pixel related graphic and the …

---

## [Processing sketch loaded by html but does not run](https://discourse.processing.org/t/processing-sketch-loaded-by-html-but-does-not-run/36907)

<div class="topic-metadata">

**Author:** [@anrui71](https://discourse.processing.org/u/anrui71)\
**Replies:** 1\
**Last updated:** [May 16, 2022, 6:40pm UTC](https://discourse.processing.org/t/processing-sketch-loaded-by-html-but-does-not-run/36907 "2022-05-16T18:40:52Z")

</div>

Hello everyone! Luckily I finally managed to integrate a pde-file into an html file with… in head: in body: This worked fine only after having uploaded .html and .pde to my online-server, while it didn’t run locall…

---

## [Objects in contact then disappear](https://discourse.processing.org/t/objects-in-contact-then-disappear/36531)

<div class="topic-metadata">

**Author:** [@maya](https://discourse.processing.org/u/maya)\
**Replies:** 2\
**Last updated:** [May 16, 2022, 2:47am UTC](https://discourse.processing.org/t/objects-in-contact-then-disappear/36531 "2022-05-16T02:47:10Z")

</div>

Hi, I would like for when the ball comes in contact with the dog, the dog disappears. Any ideas as to how I would do this? This is what I have so far: dogs = \[\] def setup(): size(500, 500) global x, y, speed, a…

---

## [Is there an easy way to get an image from a section of an image?](https://discourse.processing.org/t/is-there-an-easy-way-to-get-an-image-from-a-section-of-an-image/36902)

<div class="topic-metadata">

**Author:** [@AntiViral\_Builder](https://discourse.processing.org/u/AntiViral_Builder)\
**Replies:** 3\
**Last updated:** [May 15, 2022, 9:27pm UTC](https://discourse.processing.org/t/is-there-an-easy-way-to-get-an-image-from-a-section-of-an-image/36902 "2022-05-15T21:27:43Z")

</div>

I would like to be able to do this quickly and not have to go through each pixel to transfer them.

---

## [How to pause part of a draw loop](https://discourse.processing.org/t/how-to-pause-part-of-a-draw-loop/36891)

<div class="topic-metadata">

**Author:** [@Blushdow7](https://discourse.processing.org/u/Blushdow7)\
**Replies:** 3\
**Last updated:** [May 15, 2022, 9:09pm UTC](https://discourse.processing.org/t/how-to-pause-part-of-a-draw-loop/36891 "2022-05-15T21:09:14Z")

</div>

I’m trying to make my character be able to crouch so i have void draw () background(0) imageMode(CENTER); image(box.image1,0,0); void keyPressed() { if (key == ‘s’) { image(box.image3, box.position.x, box.positio…

---

## [Create 500 PGraphics at the same time](https://discourse.processing.org/t/create-500-pgraphics-at-the-same-time/36900)

<div class="topic-metadata">

**Author:** [@Rag](https://discourse.processing.org/u/Rag)\
**Replies:** 5\
**Last updated:** [May 15, 2022, 6:55pm UTC](https://discourse.processing.org/t/create-500-pgraphics-at-the-same-time/36900 "2022-05-15T18:55:11Z")

</div>

I am trying to optimize a part of my code that creates 500 PGraphics. Is there a way to creates them all at the same time ? final int child\_count = 5; final int min\_size = 5; final int max\_size = 300; final int position…

---

## [PDE for pictures](https://discourse.processing.org/t/pde-for-pictures/36887)

<div class="topic-metadata">

**Author:** [@Skys](https://discourse.processing.org/u/Skys)\
**Replies:** 1\
**Last updated:** [May 15, 2022, 12:26pm UTC](https://discourse.processing.org/t/pde-for-pictures/36887 "2022-05-15T12:26:50Z")

</div>

http://jan-buehring.de/wheekdraw\_v\_0\_3\_2.zip its a tool that maybe could been used for a Procerssing pde code for drawing, saved in his own code, or may one day a wysiwyg gui maker. you need Processing 3.5.4 change Fo…

---

## [HELP: How to make slider button](https://discourse.processing.org/t/help-how-to-make-slider-button/36889)

<div class="topic-metadata">

**Author:** [@xie](https://discourse.processing.org/u/xie)\
**Replies:** 5\
**Last updated:** [May 15, 2022, 11:23am UTC](https://discourse.processing.org/t/help-how-to-make-slider-button/36889 "2022-05-15T11:23:57Z")

</div>

hi! How do you make a slider with buttons on each side that control the movement of the pointer? Thanks! @TfGuy44 @CodeMasterX

---

## [Can't create 2D array](https://discourse.processing.org/t/cant-create-2d-array/36894)

<div class="topic-metadata">

**Author:** [@tensor](https://discourse.processing.org/u/tensor)\
**Replies:** 5\
**Last updated:** [May 15, 2022, 10:50am UTC](https://discourse.processing.org/t/cant-create-2d-array/36894 "2022-05-15T10:50:24Z")

</div>

PVector pos; float yaw; float pitch; float roll; float\[\]\[\] rmx; PVector posinit; void setup() { size(640, 360, P3D); pos = new PVector(width/2, height/2, 0); posinit = new PVector(width/2, height/2, 0); yaw = P…

---

## [Compare Processing to Python Processing code?](https://discourse.processing.org/t/compare-processing-to-python-processing-code/36886)

<div class="topic-metadata">

**Author:** [@firefox](https://discourse.processing.org/u/firefox)\
**Replies:** 2\
**Last updated:** [May 15, 2022, 1:40am UTC](https://discourse.processing.org/t/compare-processing-to-python-processing-code/36886 "2022-05-15T01:40:00Z")

</div>

Hello, I’m new to the Processing, and I have a background in pyhton. I used to make patterns with python, but now I need something better. I’m having trouble finding examples of processing in python, but I have found ma…

---

## [Read feedback data from gauge](https://discourse.processing.org/t/read-feedback-data-from-gauge/36879)

<div class="topic-metadata">

**Author:** [@Ardan](https://discourse.processing.org/u/Ardan)\
**Replies:** 5\
**Last updated:** [May 15, 2022, 12:40am UTC](https://discourse.processing.org/t/read-feedback-data-from-gauge/36879 "2022-05-15T00:40:53Z")

</div>

Hi guys, I want to use processing to read from my gauge, here is my code: import processing.serial.\*; ////varibles setting Serial myPort; String inString; Table table; String Force; String trigger; void setup() { …

---

## [Exit Behaviour on Android](https://discourse.processing.org/t/exit-behaviour-on-android/36356)

<div class="topic-metadata">

**Author:** [@TimeLex](https://discourse.processing.org/u/TimeLex)\
**Replies:** 4\
**Last updated:** [May 14, 2022, 2:28pm UTC](https://discourse.processing.org/t/exit-behaviour-on-android/36356 "2022-05-14T14:28:57Z")

</div>

Hello, I’m just making an app for Android and have a few problems with the behavior as the app closes. My first problem is that the app closes directly when you press the back key. I want you to come to the menu first an…

---

## [Origin of PVector](https://discourse.processing.org/t/origin-of-pvector/36881)

<div class="topic-metadata">

**Author:** [@tensor](https://discourse.processing.org/u/tensor)\
**Replies:** 1\
**Last updated:** [May 14, 2022, 6:51am UTC](https://discourse.processing.org/t/origin-of-pvector/36881 "2022-05-14T06:51:52Z")

</div>

How do i set the origin of a PVector to point other than the pre-defined top-left corner of screen?

---

## [Coding projects on my youtube channel](https://discourse.processing.org/t/coding-projects-on-my-youtube-channel/36878)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [May 14, 2022, 3:03am UTC](https://discourse.processing.org/t/coding-projects-on-my-youtube-channel/36878 "2022-05-14T03:03:53Z")

</div>

Hello all, I’ve start recently publishing a series of coding projects on my youtube channel. I hope that you may find them useful. This is the channel:

---

## [Typing effect p5js](https://discourse.processing.org/t/typing-effect-p5js/36875)

<div class="topic-metadata">

**Author:** [@luciaromancanivell](https://discourse.processing.org/u/luciaromancanivell)\
**Replies:** 1\
**Last updated:** [May 13, 2022, 6:42pm UTC](https://discourse.processing.org/t/typing-effect-p5js/36875 "2022-05-13T18:42:56Z")

</div>

Hello, Sorry to bother you again, I am in a programming class and for our homework trying to animate and make a typography effect that repeats itself but I am getting a bit confused, any help? Thank you! var canvasWH = …

---

## [G4P Version text](https://discourse.processing.org/t/g4p-version-text/36791)

<div class="topic-metadata">

**Author:** [@myupctoys](https://discourse.processing.org/u/myupctoys)\
**Replies:** 1\
**Last updated:** [May 13, 2022, 5:06pm UTC](https://discourse.processing.org/t/g4p-version-text/36791 "2022-05-13T17:06:19Z")

</div>

Hi, Probably a question/comment for Quarks. I noticed a change in the version details on launching G4P library, looks a bit messy. I’m using V4.3.2 G4P in intellj for one project and I get a launch message such as this…

---

## [\[Android\] \[2 issues\] 1) Is it possible to release '.aab'? 2) '.apk' release error](https://discourse.processing.org/t/android-2-issues-1-is-it-possible-to-release-aab-2-apk-release-error/33295)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 20\
**Last updated:** [May 13, 2022, 4:48pm UTC](https://discourse.processing.org/t/android-2-issues-1-is-it-possible-to-release-aab-2-apk-release-error/33295 "2022-05-13T16:48:17Z")

</div>

2 issues Is it possible to release ‘.aab’? ‘.apk’ release error In order to release Android, ‘.aab’ file is required. Is it possible with a ‘processing’ program? ‘.apk’ is created through debugging, but an er…

---

## [Replicating text](https://discourse.processing.org/t/replicating-text/36853)

<div class="topic-metadata">

**Author:** [@luciaromancanivell](https://discourse.processing.org/u/luciaromancanivell)\
**Replies:** 4\
**Last updated:** [May 13, 2022, 2:46pm UTC](https://discourse.processing.org/t/replicating-text/36853 "2022-05-13T14:46:10Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello again, I am working on a school project where we have to create this with a loop… but I can only get a dark blur, here is the result I ne…

---

## ["if" doesn't work while "switch" does](https://discourse.processing.org/t/if-doesnt-work-while-switch-does/36826)

<div class="topic-metadata">

**Author:** [@sadPG](https://discourse.processing.org/u/sadPG)\
**Replies:** 4\
**Last updated:** [May 13, 2022, 11:27am UTC](https://discourse.processing.org/t/if-doesnt-work-while-switch-does/36826 "2022-05-13T11:27:08Z")

</div>

void setup(){ String a = new String(); //a = "f\*"; //a += "\*\*"; a+='f'; a+='\*'; a+='\*'; a+='\*'; if(a == "f\*\*\*"){ println("hooray!"); }else{ println("f\*\*\*"); } switch(a){ case "f\*\*\*…

---

## [\[Android-Processing\] What 'library' would you like to have?](https://discourse.processing.org/t/android-processing-what-library-would-you-like-to-have/36857)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [May 12, 2022, 11:42pm UTC](https://discourse.processing.org/t/android-processing-what-library-would-you-like-to-have/36857 "2022-05-12T23:42:11Z")

</div>

\[Android-Processing\] What ‘library’ would you like to have? This is a list of libraries that I personally would like to have. (Android library) NFC Read/Write BLE GATT/Communication BEACON Scrollbar Menubar Was this…

---

## [\[ANDROID\] BLE VERSION Android 12](https://discourse.processing.org/t/android-ble-version-android-12/35404)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 5\
**Last updated:** [May 12, 2022, 10:32pm UTC](https://discourse.processing.org/t/android-ble-version-android-12/35404 "2022-05-12T22:32:22Z")

</div>

In Android version 12, BLE SCAN operation is a problem. In case you want to solve this, I found the site address. android:usesPermissionFlags="neverForLocation" How do I add the above in ‘Processing’?

---

## [Solution for handler deprecated](https://discourse.processing.org/t/solution-for-handler-deprecated/35587)

<div class="topic-metadata">

**Author:** [@Myrdalm](https://discourse.processing.org/u/Myrdalm)\
**Replies:** 1\
**Last updated:** [May 12, 2022, 10:16pm UTC](https://discourse.processing.org/t/solution-for-handler-deprecated/35587 "2022-05-12T22:16:53Z")

</div>

My code when using processing 3 works with the previous handler code: But for processing 4, it indicated handler deprecated. I am trying to fix the code but I could not fix it until not. Any solution to fix the code coul…

---

## [Publicar Apk target 26, en Play Store](https://discourse.processing.org/t/publicar-apk-target-26-en-play-store/36854)

<div class="topic-metadata">

**Author:** [@TiagoNess](https://discourse.processing.org/u/TiagoNess)\
**Replies:** 0\
**Last updated:** [May 12, 2022, 10:13pm UTC](https://discourse.processing.org/t/publicar-apk-target-26-en-play-store/36854 "2022-05-12T22:13:28Z")

</div>

Hola a todos, gracias por su atención.- Tengo una duda, es posible publicar un Scketch, en el Play Store actualmente?, soy novato en esto espero me puedan orientar. Tengo un APK, generado en APDE, tiene: target 26, pe…

---

## [Publishing App on Play Store with no Icon](https://discourse.processing.org/t/publishing-app-on-play-store-with-no-icon/35744)

<div class="topic-metadata">

**Author:** [@bertin](https://discourse.processing.org/u/bertin)\
**Replies:** 6\
**Last updated:** [May 12, 2022, 9:58pm UTC](https://discourse.processing.org/t/publishing-app-on-play-store-with-no-icon/35744 "2022-05-12T21:58:41Z")

</div>

Hi all I just published an app on the Play Store using gradle for building the app bundle (I first exported the android project from Processing then I built the app using gradle bundleRelease like indicated in one of th…

---

## [Basic Code Build in Processing 3 but does not build in Processing 4 (both Android Mode)](https://discourse.processing.org/t/basic-code-build-in-processing-3-but-does-not-build-in-processing-4-both-android-mode/35591)

<div class="topic-metadata">

**Author:** [@Myrdalm](https://discourse.processing.org/u/Myrdalm)\
**Replies:** 8\
**Last updated:** [May 12, 2022, 9:40pm UTC](https://discourse.processing.org/t/basic-code-build-in-processing-3-but-does-not-build-in-processing-4-both-android-mode/35591 "2022-05-12T21:40:25Z")

</div>

I’ve been trying to build codes on my phone and it works when I use Processing 3 Android Mode but fails when using Processing 4 Android Mode. This also applies to basic codes and examples given by the IDE and website. I …

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

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