# Latest

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

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

**Page:** 615

---

## [Picking with JAVA2D](https://discourse.processing.org/t/picking-with-java2d/859)

<div class="topic-metadata">

**Author:** [@ferrari](https://discourse.processing.org/u/ferrari)\
**Replies:** 4\
**Last updated:** [June 19, 2018, 8:30pm UTC](https://discourse.processing.org/t/picking-with-java2d/859 "2018-06-19T20:30:35Z")

</div>

hello, is possible to use picking library with the default renderer? (java2d, no P3D or P2D) in processing 1.5 it was possible…but in processing 3…not anymore. any idea? or other library o code? i need for pick compl…

---

## [I want to know how to turn off the cell phone when I press the back button. (at processing android)](https://discourse.processing.org/t/i-want-to-know-how-to-turn-off-the-cell-phone-when-i-press-the-back-button-at-processing-android/1041)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 5\
**Last updated:** [June 19, 2018, 7:41pm UTC](https://discourse.processing.org/t/i-want-to-know-how-to-turn-off-the-cell-phone-when-i-press-the-back-button-at-processing-android/1041 "2018-06-19T19:41:06Z")

</div>

I want to know how to turn off the cell phone when I press the back button. (at processing android) For example, in JAVA (PC) void keyPressed () { if (key == ESC) { key = 0; // Empêche d'utiliser la touche ESC …

---

## [Android mode editor to support wear calendar classes](https://discourse.processing.org/t/android-mode-editor-to-support-wear-calendar-classes/578)

<div class="topic-metadata">

**Author:** [@rudspring](https://discourse.processing.org/u/rudspring)\
**Replies:** 2\
**Last updated:** [June 19, 2018, 7:24pm UTC](https://discourse.processing.org/t/android-mode-editor-to-support-wear-calendar-classes/578 "2018-06-19T19:24:24Z")

</div>

Hi, I am trying to create a watchface for android wear which graphically shows calendar events. For this to work I require Android mode supporting the android.support.wearable.provider classes. It took a while for me t…

---

## [Making an interactive Form Inputs on P5.js](https://discourse.processing.org/t/making-an-interactive-form-inputs-on-p5-js/1082)

<div class="topic-metadata">

**Author:** [@Abbeysoft](https://discourse.processing.org/u/Abbeysoft)\
**Replies:** 3\
**Last updated:** [June 19, 2018, 6:39pm UTC](https://discourse.processing.org/t/making-an-interactive-form-inputs-on-p5-js/1082 "2018-06-19T18:39:00Z")

</div>

Trust you are doing great! I am an avid user of this javascript library of P5.js Just to know if, how to create an interactive form inputs to generate objects (Circle, Rectangle, Lines) on a canvas, via the user’s form…

---

## [Use 2 leds and 2 buttons using arduino and processing](https://discourse.processing.org/t/use-2-leds-and-2-buttons-using-arduino-and-processing/1020)

<div class="topic-metadata">

**Author:** [@animebrowny](https://discourse.processing.org/u/animebrowny)\
**Replies:** 2\
**Last updated:** [June 19, 2018, 1:39am UTC](https://discourse.processing.org/t/use-2-leds-and-2-buttons-using-arduino-and-processing/1020 "2018-06-19T01:39:42Z")

</div>

Hi everyone, I’m kind of stuck on something. I am trying to work 2 leds using arduino with 2 buttons in processing. The goal is to link 1 button to one led. Now the problem. I have tried several things, but i cannot ge…

---

## [Serial Communication Issues--Arduino](https://discourse.processing.org/t/serial-communication-issues-arduino/1032)

<div class="topic-metadata">

**Author:** [@hbara](https://discourse.processing.org/u/hbara)\
**Replies:** 3\
**Last updated:** [June 19, 2018, 1:19am UTC](https://discourse.processing.org/t/serial-communication-issues-arduino/1032 "2018-06-19T01:19:30Z")

</div>

Hi! I’m trying to re-write a processing program that was designed for v2 to work with v3. In short, I’m trying to take data from an Arduino and plot, calculations, etc in Processing. It wasn’t clear what about the progra…

---

## [Help to start color sequence in the game "Simon says" in Processing](https://discourse.processing.org/t/help-to-start-color-sequence-in-the-game-simon-says-in-processing/882)

<div class="topic-metadata">

**Author:** [@Scorpion](https://discourse.processing.org/u/Scorpion)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 12:15am UTC](https://discourse.processing.org/t/help-to-start-color-sequence-in-the-game-simon-says-in-processing/882 "2018-06-19T00:15:47Z")

</div>

I’m starting to make the game “Simon says” and I do not know how to start generating the “guessList”, that the random colors come out so that the user can then repeat the sequence, how do I continue? for the moment I hav…

---

## [Ayuda para empezar secuencia de colores en el juego “Simon dice” en Processing](https://discourse.processing.org/t/ayuda-para-empezar-secuencia-de-colores-en-el-juego-simon-dice-en-processing/856)

<div class="topic-metadata">

**Author:** [@Scorpion](https://discourse.processing.org/u/Scorpion)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 12:05am UTC](https://discourse.processing.org/t/ayuda-para-empezar-secuencia-de-colores-en-el-juego-simon-dice-en-processing/856 "2018-06-19T00:05:19Z")

</div>

Estoy empezando a hacer el juego “Simon dice” y no se como empezar a generar la “ListaparaAcertar”, que salgan los colores aleatorios para que el usuario pueda despues repetir la secuencia, ¿Cómo continuo? de momento he …

---

## [Serial.read() gives null value from Arduino and or the port is not open on processing side](https://discourse.processing.org/t/serial-read-gives-null-value-from-arduino-and-or-the-port-is-not-open-on-processing-side/747)

<div class="topic-metadata">

**Author:** [@mgullefer01](https://discourse.processing.org/u/mgullefer01)\
**Replies:** 11\
**Last updated:** [June 18, 2018, 10:05pm UTC](https://discourse.processing.org/t/serial-read-gives-null-value-from-arduino-and-or-the-port-is-not-open-on-processing-side/747 "2018-06-18T22:05:17Z")

</div>

I’m writing a program that reads sensor data sent from Arduino and then processes it and turns it into a graph which is the exported as PDF. I originally managed to get the serial communications working between processin…

---

## [Uncomplete circle](https://discourse.processing.org/t/uncomplete-circle/1060)

<div class="topic-metadata">

**Author:** [@josephh](https://discourse.processing.org/u/josephh)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 9:43pm UTC](https://discourse.processing.org/t/uncomplete-circle/1060 "2018-06-18T21:43:50Z")

</div>

Hi guys, Is there a way to draw an uncomplete circle without using beginShape() and curveVertex() like this ? : int diam = 200; void setup(){ size(500,500); translate(width/2,height/2); stroke(#E044A2); backg…

---

## [Ketai Library Release Date Question](https://discourse.processing.org/t/ketai-library-release-date-question/547)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 1:18am UTC](https://discourse.processing.org/t/ketai-library-release-date-question/547 "2018-05-31T01:18:11Z")

</div>

I am a user who makes an application through processing. Once again, I sincerely appreciate the processing program tools. I also love you. I use KETAI libraries the most in processing. So I ask. When is the KETAI lib…

---

## [directionaLight() doesn't have any effect on my p5.js skecth](https://discourse.processing.org/t/directionalight-doesnt-have-any-effect-on-my-p5-js-skecth/1059)

<div class="topic-metadata">

**Author:** [@colin](https://discourse.processing.org/u/colin)\
**Replies:** 3\
**Last updated:** [June 18, 2018, 8:21pm UTC](https://discourse.processing.org/t/directionalight-doesnt-have-any-effect-on-my-p5-js-skecth/1059 "2018-06-18T20:21:06Z")

</div>

Hi everyone. I’m working on a 3D maze game in p5.js. Everything is working well so far, except the lights, and I can’t figure why :confused: For some reason I am unable to use directionalLight() or pointLight(), only …

---

## [Replace colors in an image without having to iterate through all pixels](https://discourse.processing.org/t/replace-colors-in-an-image-without-having-to-iterate-through-all-pixels/840)

<div class="topic-metadata">

**Author:** [@MGlolenstine](https://discourse.processing.org/u/MGlolenstine)\
**Replies:** 3\
**Last updated:** [June 18, 2018, 3:51pm UTC](https://discourse.processing.org/t/replace-colors-in-an-image-without-having-to-iterate-through-all-pixels/840 "2018-06-18T15:51:35Z")

</div>

Let’s say that I have an image like this (in reality, I have a lot of them next to eachother, but let’s keep it simple) \[vt\] example picture and I’d like to replace background color (that’s the one that’s not roads) wi…

---

## [Looking for "old" app created for fStoppers](https://discourse.processing.org/t/looking-for-old-app-created-for-fstoppers/577)

<div class="topic-metadata">

**Author:** [@ima](https://discourse.processing.org/u/ima)\
**Replies:** 14\
**Last updated:** [June 18, 2018, 3:10pm UTC](https://discourse.processing.org/t/looking-for-old-app-created-for-fstoppers/577 "2018-06-18T15:10:26Z")

</div>

I’m on the hunt for a program that was created a few years back. Below is a video that shows the app. I used to have it but then I went and replaced my computer and thought I could download it again but it’s not there …

---

## [Buildfailed on my first project](https://discourse.processing.org/t/buildfailed-on-my-first-project/1036)

<div class="topic-metadata">

**Author:** [@sanjay](https://discourse.processing.org/u/sanjay)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 6:54am UTC](https://discourse.processing.org/t/buildfailed-on-my-first-project/1036 "2018-06-18T06:54:17Z")

</div>

hi friend i have just started out processing and found that you could do android programming also so i installed the sdk .which was automatically done.made a simple code, connect my phone,sellected debugging and hit run …

---

## [Not receiving all data from Arduino Serial port](https://discourse.processing.org/t/not-receiving-all-data-from-arduino-serial-port/1044)

<div class="topic-metadata">

**Author:** [@rluxon](https://discourse.processing.org/u/rluxon)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 5:30am UTC](https://discourse.processing.org/t/not-receiving-all-data-from-arduino-serial-port/1044 "2018-06-18T05:30:32Z")

</div>

Hey everyone, total noob here to programming. I have an issue with a script (is it called that for processing?) I receive 2 of the 3 parts of data, but cant for the life of me get the soil moisture readings. I know its …

---

## [Pressing multiple keys at once on different rows](https://discourse.processing.org/t/pressing-multiple-keys-at-once-on-different-rows/1023)

<div class="topic-metadata">

**Author:** [@widemouthfrog1](https://discourse.processing.org/u/widemouthfrog1)\
**Replies:** 3\
**Last updated:** [June 18, 2018, 12:36am UTC](https://discourse.processing.org/t/pressing-multiple-keys-at-once-on-different-rows/1023 "2018-06-18T00:36:57Z")

</div>

public class Main extends PApplet{ public static void main(String\[\] args) { PApplet.main("Main"); } Map\<Character, Boolean\> buttonsPressed = new HashMap\<Character, Boolean\>(); Map\<Character, Boolean\> button…

---

## [Novice coder needing help - cannot be resolved to a variable error](https://discourse.processing.org/t/novice-coder-needing-help-cannot-be-resolved-to-a-variable-error/1031)

<div class="topic-metadata">

**Author:** [@JRK](https://discourse.processing.org/u/JRK)\
**Replies:** 2\
**Last updated:** [June 17, 2018, 7:20pm UTC](https://discourse.processing.org/t/novice-coder-needing-help-cannot-be-resolved-to-a-variable-error/1031 "2018-06-17T19:20:04Z")

</div>

I am a beginner and finding a problem. I wrote the following code and had error message “a cannot be resolved to a variable”. The rectangle appears fine with numbers but will not accept a declared integer. void setup ()…

---

## [How to name objects with variables?](https://discourse.processing.org/t/how-to-name-objects-with-variables/1027)

<div class="topic-metadata">

**Author:** [@RipplB](https://discourse.processing.org/u/RipplB)\
**Replies:** 1\
**Last updated:** [June 17, 2018, 3:16pm UTC](https://discourse.processing.org/t/how-to-name-objects-with-variables/1027 "2018-06-17T15:16:13Z")

</div>

I have a class for a game, and i want to create more objects from that class. For that, i’d like to use a for loop. How to name the separate objects correctly? It is important, that later on i’d like to use their functio…

---

## [Random number between two numbers](https://discourse.processing.org/t/random-number-between-two-numbers/1017)

<div class="topic-metadata">

**Author:** [@janberkjk](https://discourse.processing.org/u/janberkjk)\
**Replies:** 11\
**Last updated:** [June 17, 2018, 2:24pm UTC](https://discourse.processing.org/t/random-number-between-two-numbers/1017 "2018-06-17T14:24:01Z")

</div>

Hello people, I am trying to get a nuber between two numbers, but with the poor code i write so far i get a random number between 1 and 10, but i want bgfoto between 7 and 10, can you help me please? PImage foto; PImag…

---

## [Imports, image metadata - adding text to png](https://discourse.processing.org/t/imports-image-metadata-adding-text-to-png/1025)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 1\
**Last updated:** [June 17, 2018, 2:17pm UTC](https://discourse.processing.org/t/imports-image-metadata-adding-text-to-png/1025 "2018-06-17T14:17:34Z")

</div>

I’m trying to add text metadata to a png, I found java code to do it on stackoverflow. I’m trying to get it to work in processing, but I can’t seem to find the right imports for some these classes the code uses import j…

---

## [Why does no exists method in p5.js?](https://discourse.processing.org/t/why-does-no-exists-method-in-p5-js/1013)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 7\
**Last updated:** [June 17, 2018, 11:05am UTC](https://discourse.processing.org/t/why-does-no-exists-method-in-p5-js/1013 "2018-06-17T11:05:24Z")

</div>

Why does not the method () function exist in p5.js? It is simple to implement. p5.js will be expanded with more functions as it has processing in java mode? Where can I find out about the development status of p5.js? ex…

---

## [Scrolling and image](https://discourse.processing.org/t/scrolling-and-image/1003)

<div class="topic-metadata">

**Author:** [@poppanona](https://discourse.processing.org/u/poppanona)\
**Replies:** 5\
**Last updated:** [June 17, 2018, 6:09am UTC](https://discourse.processing.org/t/scrolling-and-image/1003 "2018-06-17T06:09:26Z")

</div>

How do I scroll an image

---

## [Cannot read property 'bind' of null When using OpenProcessing](https://discourse.processing.org/t/cannot-read-property-bind-of-null-when-using-openprocessing/923)

<div class="topic-metadata">

**Author:** [@esulu](https://discourse.processing.org/u/esulu)\
**Replies:** 9\
**Last updated:** [June 17, 2018, 2:34am UTC](https://discourse.processing.org/t/cannot-read-property-bind-of-null-when-using-openprocessing/923 "2018-06-17T02:34:17Z")

</div>

Hello there. I am making a game in processing and it works fine, but I am trying to upload it to openprocessing.org but I’m running into some issues. I pasted my code on a new sketch and uploaded all of the files onto t…

---

## [OpenCV for Processing -- Extracting Histogram Data](https://discourse.processing.org/t/opencv-for-processing-extracting-histogram-data/993)

<div class="topic-metadata">

**Author:** [@joshc6464](https://discourse.processing.org/u/joshc6464)\
**Replies:** 1\
**Last updated:** [June 16, 2018, 5:32pm UTC](https://discourse.processing.org/t/opencv-for-processing-extracting-histogram-data/993 "2018-06-16T17:32:44Z")

</div>

Hello all, New to OpenCV for processing and I am looking to extract the data from the bins of a histogram once I have used the findHistogram method. I have seen this functionality in the actual Java OpenCV, but I cannot…

---

## [The Perspective Calculation](https://discourse.processing.org/t/the-perspective-calculation/988)

<div class="topic-metadata">

**Author:** [@phoebus](https://discourse.processing.org/u/phoebus)\
**Replies:** 3\
**Last updated:** [June 16, 2018, 9:51am UTC](https://discourse.processing.org/t/the-perspective-calculation/988 "2018-06-16T09:51:47Z")

</div>

Hi there I’m trying to calculate the location of a 3D vertex in a 2D viewing window. According to this page it should be as simple as x' = (x\*near)/z y' = (y\*near)/z but I cannot find some sort of stable ground in t…

---

## [GL Video Not Playing Audio for Pi B](https://discourse.processing.org/t/gl-video-not-playing-audio-for-pi-b/975)

<div class="topic-metadata">

**Author:** [@Zengirl2](https://discourse.processing.org/u/Zengirl2)\
**Replies:** 1\
**Last updated:** [June 16, 2018, 2:17pm UTC](https://discourse.processing.org/t/gl-video-not-playing-audio-for-pi-b/975 "2018-06-16T14:17:44Z")

</div>

Hey, I’ve tried altering config for headphone jack and analog audio in task bar, but no luck getting audio to play on my video. Is this library meant to play audio? I did install Sound library and those samples play corr…

---

## [How do i make my webcam detect a pose I make?](https://discourse.processing.org/t/how-do-i-make-my-webcam-detect-a-pose-i-make/990)

<div class="topic-metadata">

**Author:** [@WindJammer](https://discourse.processing.org/u/WindJammer)\
**Replies:** 3\
**Last updated:** [June 16, 2018, 2:00pm UTC](https://discourse.processing.org/t/how-do-i-make-my-webcam-detect-a-pose-i-make/990 "2018-06-16T14:00:16Z")

</div>

Hi, I’ve started using Processing for an interactive artwork i’m working on. I’m looking for the best/easiest way to solve the following issue: Set a boolean variable to true, if I take a hold of THIS POSE in front of …

---

## [How to pan an image](https://discourse.processing.org/t/how-to-pan-an-image/1002)

<div class="topic-metadata">

**Author:** [@poppanona](https://discourse.processing.org/u/poppanona)\
**Replies:** 1\
**Last updated:** [June 16, 2018, 12:43pm UTC](https://discourse.processing.org/t/how-to-pan-an-image/1002 "2018-06-16T12:43:43Z")

</div>

I have an image bigger than the display window. How do I pan the image throught the display window?

---

## [Midi and audio latency in p5.sound](https://discourse.processing.org/t/midi-and-audio-latency-in-p5-sound/1010)

<div class="topic-metadata">

**Author:** [@jjd](https://discourse.processing.org/u/jjd)\
**Replies:** 0\
**Last updated:** [June 16, 2018, 10:10am UTC](https://discourse.processing.org/t/midi-and-audio-latency-in-p5-sound/1010 "2018-06-16T10:10:50Z")

</div>

Hi, I’ve been playing around with the Web MIDI API for Chrome and wanted to see if I could make a web based synth. So I’ve just downloaded the p5 libraries and much to my surprise, it only took me a few minutes to set up…

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

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