# Latest

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

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

**Page:** 523

---

## [Level Change controlled by Buttons](https://discourse.processing.org/t/level-change-controlled-by-buttons/8517)

<div class="topic-metadata">

**Author:** [@DJ\_SCRATCH](https://discourse.processing.org/u/DJ_SCRATCH)\
**Replies:** 1\
**Last updated:** [February 19, 2019, 1:58am UTC](https://discourse.processing.org/t/level-change-controlled-by-buttons/8517 "2019-02-19T01:58:04Z")

</div>

Hi, I’m trying to create a very simple game where the player is given a choice between two buttons in every level, get it right and you move on get it wrong and the word “WRONG” flashes on the screen, but every time I c…

---

## [Sampling color data for LED matrix](https://discourse.processing.org/t/sampling-color-data-for-led-matrix/8302)

<div class="topic-metadata">

**Author:** [@blue](https://discourse.processing.org/u/blue)\
**Replies:** 6\
**Last updated:** [February 19, 2019, 9:32pm UTC](https://discourse.processing.org/t/sampling-color-data-for-led-matrix/8302 "2019-02-19T21:32:48Z")

</div>

Hello, I’m working with a custom made 16\*16 white led matrix connected to an arduino. I’ve written a sketch that samples 256 pixels using the ‘get()’ function, converts the data, and sends to the arduino over osc. It wo…

---

## [Help on line detection](https://discourse.processing.org/t/help-on-line-detection/8373)

<div class="topic-metadata">

**Author:** [@peter1](https://discourse.processing.org/u/peter1)\
**Replies:** 1\
**Last updated:** [February 19, 2019, 6:28pm UTC](https://discourse.processing.org/t/help-on-line-detection/8373 "2019-02-19T18:28:04Z")

</div>

Im working on a maze game, and cant find out how to detect if the ball hits the walls/lines! int x; int y; int s; void setup(){ size(500,500); background(0); noStroke(); x = 20; y = 20; s = 10; fill(0,0,2…

---

## [Use into setup() a float value from a method that finds it](https://discourse.processing.org/t/use-into-setup-a-float-value-from-a-method-that-finds-it/6343)

<div class="topic-metadata">

**Author:** [@netphysicist](https://discourse.processing.org/u/netphysicist)\
**Replies:** 49\
**Last updated:** [February 19, 2019, 12:23pm UTC](https://discourse.processing.org/t/use-into-setup-a-float-value-from-a-method-that-finds-it/6343 "2019-02-19T12:23:07Z")

</div>

Hello, i have made a function void findvalue() which calculates with maths a float value named intensity and then i call this function into the void setup…My problem is that when i use the value intensity inside the v…

---

## [Super mario game help](https://discourse.processing.org/t/super-mario-game-help/8470)

<div class="topic-metadata">

**Author:** [@LuciferMS666](https://discourse.processing.org/u/LuciferMS666)\
**Replies:** 4\
**Last updated:** [February 19, 2019, 11:46am UTC](https://discourse.processing.org/t/super-mario-game-help/8470 "2019-02-19T11:46:16Z")

</div>

Hello everyone, I created this discussion because I have a job to do on processing. So I decided to create a mario game only I would like to have your help (because I’m still a beginner). I would like you to help me for …

---

## [PShape.resetMatrix() not resetting rotation in P2D](https://discourse.processing.org/t/pshape-resetmatrix-not-resetting-rotation-in-p2d/8508)

<div class="topic-metadata">

**Author:** [@wqt](https://discourse.processing.org/u/wqt)\
**Replies:** 11\
**Last updated:** [February 19, 2019, 9:18am UTC](https://discourse.processing.org/t/pshape-resetmatrix-not-resetting-rotation-in-p2d/8508 "2019-02-19T09:18:57Z")

</div>

Hello everyone! I have a quite weird resetMatrix bug on PShape. It works fine in the default renderer, but in P2D it seems to reset only the translation and not the rotation. So what I am seeing is a spinning quad, inst…

---

## [Error converting bytecode to dex](https://discourse.processing.org/t/error-converting-bytecode-to-dex/8507)

<div class="topic-metadata">

**Author:** [@mjmaleki](https://discourse.processing.org/u/mjmaleki)\
**Replies:** 1\
**Last updated:** [February 19, 2019, 5:56am UTC](https://discourse.processing.org/t/error-converting-bytecode-to-dex/8507 "2019-02-19T05:56:03Z")

</div>

I just start “android mode” in processing. when i import “g4p\_controls.\*” library this error showed up when trying to compile an app that was previously working in “java mode”: Error:Error converting bytecode to dex: …

---

## [Processing error: Problem while trying to get the sketchbook](https://discourse.processing.org/t/processing-error-problem-while-trying-to-get-the-sketchbook/8520)

<div class="topic-metadata">

**Author:** [@Kydia](https://discourse.processing.org/u/Kydia)\
**Replies:** 2\
**Last updated:** [February 19, 2019, 12:59am UTC](https://discourse.processing.org/t/processing-error-problem-while-trying-to-get-the-sketchbook/8520 "2019-02-19T00:59:46Z")

</div>

I’ve been trying to install Processing recently and I’ve been having some trouble. Every time I extract Processing and run “processing.exe”. I get an error saying " Problem while trying to get the sketchbook". I looked…

---

## [Sharing a YouTube channel](https://discourse.processing.org/t/sharing-a-youtube-channel/8515)

<div class="topic-metadata">

**Author:** [@josephh](https://discourse.processing.org/u/josephh)\
**Replies:** 0\
**Last updated:** [February 18, 2019, 9:04pm UTC](https://discourse.processing.org/t/sharing-a-youtube-channel/8515 "2019-02-18T21:04:48Z")

</div>

Hi there, I want to share with you a channel that I’ve been following for some time which is called thedotisblack. I asked him if I could share it here because it’s super nice and the music is always in the right mood …

---

## [Bug while press update](https://discourse.processing.org/t/bug-while-press-update/8511)

<div class="topic-metadata">

**Author:** [@Grisha](https://discourse.processing.org/u/Grisha)\
**Replies:** 0\
**Last updated:** [February 18, 2019, 5:18pm UTC](https://discourse.processing.org/t/bug-while-press-update/8511 "2019-02-18T17:18:24Z")

</div>

I wanted to update my libraries and install one more , I pressed update and I had this message in console :https://paste.ee/p/LFDzL , and the update windows stays white

---

## [Accessing two subclass within one class](https://discourse.processing.org/t/accessing-two-subclass-within-one-class/8457)

<div class="topic-metadata">

**Author:** [@Feltopi](https://discourse.processing.org/u/Feltopi)\
**Replies:** 4\
**Last updated:** [February 18, 2019, 10:05am UTC](https://discourse.processing.org/t/accessing-two-subclass-within-one-class/8457 "2019-02-18T10:05:49Z")

</div>

Hello, i dont know if its even possible, but here is my problem. My goal is find the best shape for my IRL construction and i would like to use genetic algorithm (yeah… high hopes) and for that so i want to make a rand…

---

## [Combobox with present mode](https://discourse.processing.org/t/combobox-with-present-mode/8276)

<div class="topic-metadata">

**Author:** [@akenaton](https://discourse.processing.org/u/akenaton)\
**Replies:** 17\
**Last updated:** [February 18, 2019, 9:48am UTC](https://discourse.processing.org/t/combobox-with-present-mode/8276 "2019-02-18T09:48:14Z")

</div>

i have an app that is quite ok; it s a very long and complicated thing but it runs, through a server and with multiple clients && rooms. I have tested it in a lot of situations; as everything looks fine now i try to exp…

---

## [Come Play My Game!](https://discourse.processing.org/t/come-play-my-game/7238)

<div class="topic-metadata">

**Author:** [@MatterLinx](https://discourse.processing.org/u/MatterLinx)\
**Replies:** 19\
**Last updated:** [February 18, 2019, 6:46am UTC](https://discourse.processing.org/t/come-play-my-game/7238 "2019-02-18T06:46:15Z")

</div>

Hello everyone! I finally finished my android game, made entirely in Processing called Bounce to Climb. I worked really hard on it, and I would love to hear everyone’s opinions on it! I would love to answer questions and…

---

## [Key != the pressed key when control is held](https://discourse.processing.org/t/key-the-pressed-key-when-control-is-held/2779)

<div class="topic-metadata">

**Author:** [@Warlax56](https://discourse.processing.org/u/Warlax56)\
**Replies:** 6\
**Last updated:** [February 18, 2019, 4:34am UTC](https://discourse.processing.org/t/key-the-pressed-key-when-control-is-held/2779 "2019-02-18T04:34:23Z")

</div>

I’m trying to implement copy and pasting into a node based programming language I’m making. An abreviated version of my code is something like this: void keyPressed() { if(key == 'c' || key == 'C'){ print("\\nC press…

---

## [I am trying to do intersections but nothing i do will allow it to work](https://discourse.processing.org/t/i-am-trying-to-do-intersections-but-nothing-i-do-will-allow-it-to-work/8452)

<div class="topic-metadata">

**Author:** [@Supergreek72](https://discourse.processing.org/u/Supergreek72)\
**Replies:** 4\
**Last updated:** [February 18, 2019, 2:00am UTC](https://discourse.processing.org/t/i-am-trying-to-do-intersections-but-nothing-i-do-will-allow-it-to-work/8452 "2019-02-18T02:00:04Z")

</div>

I have 2 cars and if they touch I want it to pick a new spot, the intersection command says it only uses integers but the random command i have says it only uses floats. i fixed this by adding a rounding command but i ca…

---

## [DOM lib - how to specify container node?](https://discourse.processing.org/t/dom-lib-how-to-specify-container-node/8487)

<div class="topic-metadata">

**Author:** [@kirkjerk](https://discourse.processing.org/u/kirkjerk)\
**Replies:** 11\
**Last updated:** [February 18, 2019, 12:35am UTC](https://discourse.processing.org/t/dom-lib-how-to-specify-container-node/8487 "2019-02-18T00:35:15Z")

</div>

http://p5js.org/reference/#/p5/createSlider says “Appends to the container node if one is specified, otherwise appends to body.” A. how is it specified? It doesn’t seem to be any of the arguments B. how do I get a vali…

---

## [Tips for speeding up this sketch](https://discourse.processing.org/t/tips-for-speeding-up-this-sketch/8468)

<div class="topic-metadata">

**Author:** [@scottmetoyer](https://discourse.processing.org/u/scottmetoyer)\
**Replies:** 4\
**Last updated:** [February 17, 2019, 11:12pm UTC](https://discourse.processing.org/t/tips-for-speeding-up-this-sketch/8468 "2019-02-17T23:12:44Z")

</div>

I’m new to Processing, and have my project working but with some performance issues. Basically I have 10 images that I’m scaling and moving (with lerp) when a key is pressed. Eventually I’d like to get this up to 100 im…

---

## [Suggestion for ide](https://discourse.processing.org/t/suggestion-for-ide/8359)

<div class="topic-metadata">

**Author:** [@Grisha](https://discourse.processing.org/u/Grisha)\
**Replies:** 1\
**Last updated:** [February 17, 2019, 11:01pm UTC](https://discourse.processing.org/t/suggestion-for-ide/8359 "2019-02-17T23:01:47Z")

</div>

Is it planning to add more functional to the Precessing ide ? Fore example auto variants ( when you are typing fore example name of some function and ide shows you variants ) they are very useful ! And it would be great…

---

## [Is it possible to crawl editor.p5js.org sketches?](https://discourse.processing.org/t/is-it-possible-to-crawl-editor-p5js-org-sketches/8333)

<div class="topic-metadata">

**Author:** [@wooble](https://discourse.processing.org/u/wooble)\
**Replies:** 2\
**Last updated:** [February 17, 2019, 10:50pm UTC](https://discourse.processing.org/t/is-it-possible-to-crawl-editor-p5js-org-sketches/8333 "2019-02-17T22:50:52Z")

</div>

I’m curious about the projects people have created and the way code is being written on the p5 editor.

---

## [Webcam Bar code/ QR code Read](https://discourse.processing.org/t/webcam-bar-code-qr-code-read/2911)

<div class="topic-metadata">

**Author:** [@YTC](https://discourse.processing.org/u/YTC)\
**Replies:** 7\
**Last updated:** [February 17, 2019, 6:46pm UTC](https://discourse.processing.org/t/webcam-bar-code-qr-code-read/2911 "2019-02-17T18:46:40Z")

</div>

Hi, I am doing a project on reading qr code using processing. I have tried using logitech web camera C310 (windows 7) and the laptop webcam for example qrcode and bar code but it does not detect the qr code although I al…

---

## [Anyone knows how to use getConvexHull();?](https://discourse.processing.org/t/anyone-knows-how-to-use-getconvexhull/8268)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 10\
**Last updated:** [February 17, 2019, 5:03pm UTC](https://discourse.processing.org/t/anyone-knows-how-to-use-getconvexhull/8268 "2019-02-17T17:03:31Z")

</div>

I am using the OpenCV library, the example called “FindContours”. I tried to obtain a new contour based on the ConvexHull function, but I get the same thing. So I tried: for (Contour contour : contours) { stroke(0…

---

## [Serial communication between android and microcontroller](https://discourse.processing.org/t/serial-communication-between-android-and-microcontroller/8480)

<div class="topic-metadata">

**Author:** [@iampadik](https://discourse.processing.org/u/iampadik)\
**Replies:** 0\
**Last updated:** [February 17, 2019, 1:58pm UTC](https://discourse.processing.org/t/serial-communication-between-android-and-microcontroller/8480 "2019-02-17T13:58:52Z")

</div>

I am using Processing 3.5.2 on windows 7. Making an application for android which deals with serial communication. (wired and not Bluetooth). Now, If I use the program in java mode with corresponding default serial libr…

---

## [Capture frame rate maxed out at 20fps at 1080](https://discourse.processing.org/t/capture-frame-rate-maxed-out-at-20fps-at-1080/8461)

<div class="topic-metadata">

**Author:** [@EliTheIceMan](https://discourse.processing.org/u/EliTheIceMan)\
**Replies:** 2\
**Last updated:** [February 17, 2019, 4:51am UTC](https://discourse.processing.org/t/capture-frame-rate-maxed-out-at-20fps-at-1080/8461 "2019-02-17T04:51:30Z")

</div>

I am trying to capture 60fps video from a CamLink capture device (connected to a gopro) but processing is maxing out at 20fps capture rate. The sketch will run at whatever speed I want but the cam.available() flag is on…

---

## [Planar equation from camera image](https://discourse.processing.org/t/planar-equation-from-camera-image/8164)

<div class="topic-metadata">

**Author:** [@iffybox](https://discourse.processing.org/u/iffybox)\
**Replies:** 11\
**Last updated:** [February 17, 2019, 1:59am UTC](https://discourse.processing.org/t/planar-equation-from-camera-image/8164 "2019-02-17T01:59:47Z")

</div>

Hi, I’m new to the forum. I’ve appended a jpeg to illustrate my question, sorry for its amateurish appearance. My question: in the given setup, how do I calculate the equation of the image plane from 3 points – pp1, pp2,…

---

## [\[SOLVED\] Processing with Arduino \[How to Save Serial output every 'x' hour?\]](https://discourse.processing.org/t/solved-processing-with-arduino-how-to-save-serial-output-every-x-hour/8420)

<div class="topic-metadata">

**Author:** [@musical0714](https://discourse.processing.org/u/musical0714)\
**Replies:** 4\
**Last updated:** [February 16, 2019, 10:22pm UTC](https://discourse.processing.org/t/solved-processing-with-arduino-how-to-save-serial-output-every-x-hour/8420 "2019-02-16T22:22:02Z")

</div>

Hello I’m working on an Arduino project and using Processing to catch serial data from Arduino (data such as timestamp and input/output data). I’m trying to automate the saving process so that I can save the data every …

---

## [Why does my code not work](https://discourse.processing.org/t/why-does-my-code-not-work/8394)

<div class="topic-metadata">

**Author:** [@babaramdev](https://discourse.processing.org/u/babaramdev)\
**Replies:** 2\
**Last updated:** [February 16, 2019, 8:49pm UTC](https://discourse.processing.org/t/why-does-my-code-not-work/8394 "2019-02-16T20:49:41Z")

</div>

let x\_vals = \[\]; //List of x-values let y\_vals = \[\]; let shapeDone = 0; //When shapeDone = 0, the shape has not been completed. When shapeDone = 1, the shape is completed. let numberOfSides = 0; let area=0; var listOfAll…

---

## [Processing Sound, How to release loaded file after playback is stopped?](https://discourse.processing.org/t/processing-sound-how-to-release-loaded-file-after-playback-is-stopped/8361)

<div class="topic-metadata">

**Author:** [@Stan](https://discourse.processing.org/u/Stan)\
**Replies:** 5\
**Last updated:** [February 16, 2019, 4:29pm UTC](https://discourse.processing.org/t/processing-sound-how-to-release-loaded-file-after-playback-is-stopped/8361 "2019-02-16T16:29:05Z")

</div>

Hi there! Thanks a lot to everyone writing/debugging/contributing with amazing code :slight\_smile: I’m making a sound player app to browse some folders using Guido. If the selected file is a .wav it loads it with sou…

---

## [\[SOLVED\] Uneven Data Entry by sketch](https://discourse.processing.org/t/solved-uneven-data-entry-by-sketch/8449)

<div class="topic-metadata">

**Author:** [@harvious](https://discourse.processing.org/u/harvious)\
**Replies:** 2\
**Last updated:** [February 16, 2019, 3:37pm UTC](https://discourse.processing.org/t/solved-uneven-data-entry-by-sketch/8449 "2019-02-16T15:37:32Z")

</div>

Hello all, In my sketch, I have a bunch of balls bouncing around. I am saving the X, Y values of each ball, and the XSpeed, and YSpeed value of each ball every time draw() runs. I use the following code : PrintWriter …

---

## [Moving an image with key presses](https://discourse.processing.org/t/moving-an-image-with-key-presses/8432)

<div class="topic-metadata">

**Author:** [@Supergreek72](https://discourse.processing.org/u/Supergreek72)\
**Replies:** 4\
**Last updated:** [February 16, 2019, 3:26am UTC](https://discourse.processing.org/t/moving-an-image-with-key-presses/8432 "2019-02-16T03:26:24Z")

</div>

so I am trying to do movement of a image with the arrow buttons and it says “the operator == is undefined for the argument type(s) Boolean, int” (i have no clue how to fix this and i don’t understand why it is happeni…

---

## [3D Motion Graphics for MPU9250](https://discourse.processing.org/t/3d-motion-graphics-for-mpu9250/8346)

<div class="topic-metadata">

**Author:** [@Deep](https://discourse.processing.org/u/Deep)\
**Replies:** 4\
**Last updated:** [February 16, 2019, 2:57am UTC](https://discourse.processing.org/t/3d-motion-graphics-for-mpu9250/8346 "2019-02-16T02:57:13Z")

</div>

I am a newbie in this,just wanted to know how to visualize the MPU9250 Roll, Pitch, Yaw data to show in the Processing IDE. I want something like this: 3D Tracking with IMU I am really sorry if I have missed any informat…

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

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