# Latest

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

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

**Page:** 440

---

## [Can I read\_voltage.pde to graph voltage as sound?](https://discourse.processing.org/t/can-i-read-voltage-pde-to-graph-voltage-as-sound/14551)

<div class="topic-metadata">

**Author:** [@MatthewClark](https://discourse.processing.org/u/MatthewClark)\
**Replies:** 1\
**Last updated:** [October 10, 2019, 12:48am UTC](https://discourse.processing.org/t/can-i-read-voltage-pde-to-graph-voltage-as-sound/14551 "2019-10-10T00:48:16Z")

</div>

Hello, Pretty new to Processing so hopefully this makes sense: Am currently running voltage.ino on an Arduino and am graphing the voltage in Processing using read\_voltage.pde. This allows me to see a visual of the vol…

---

## [Rotating Object with Leap Motion](https://discourse.processing.org/t/rotating-object-with-leap-motion/14560)

<div class="topic-metadata">

**Author:** [@hamishryan6](https://discourse.processing.org/u/hamishryan6)\
**Replies:** 1\
**Last updated:** [October 10, 2019, 12:05am UTC](https://discourse.processing.org/t/rotating-object-with-leap-motion/14560 "2019-10-10T00:05:20Z")

</div>

Hi All, I am having trouble using Processing with my Leap Motion device. I want to be able to rotate an image depending on where my pinky is on the screen. Therefore, I am trying to find the angle between my thumb (wher…

---

## ["Reset" blur filter](https://discourse.processing.org/t/reset-blur-filter/14501)

<div class="topic-metadata">

**Author:** [@kirillg](https://discourse.processing.org/u/kirillg)\
**Replies:** 2\
**Last updated:** [October 9, 2019, 9:34pm UTC](https://discourse.processing.org/t/reset-blur-filter/14501 "2019-10-09T21:34:33Z")

</div>

My very first steps with Processing, and I couldn’t find the answer after Googling it for some time. size(640, 360); background(204, 153, 0); smooth(); background(0); noStroke(); fill(255,0,0); ellipse(100,100,12,12);…

---

## [Mouse Press Redraw Loop](https://discourse.processing.org/t/mouse-press-redraw-loop/14555)

<div class="topic-metadata">

**Author:** [@Killerherts](https://discourse.processing.org/u/Killerherts)\
**Replies:** 5\
**Last updated:** [October 9, 2019, 7:30pm UTC](https://discourse.processing.org/t/mouse-press-redraw-loop/14555 "2019-10-09T19:30:31Z")

</div>

Thanks for taking the time to look at this, I am a beginner working on a racing game for a final project. My goal is to have the race start after a mouse or key press I was able to achieve this but my object jumps to th…

---

## [Main UI Thread error](https://discourse.processing.org/t/main-ui-thread-error/14386)

<div class="topic-metadata">

**Author:** [@Yash](https://discourse.processing.org/u/Yash)\
**Replies:** 14\
**Last updated:** [October 9, 2019, 4:17pm UTC](https://discourse.processing.org/t/main-ui-thread-error/14386 "2019-10-09T16:17:48Z")

</div>

hi…iam integrating ads with my game and publish it…Iam calling reward() in my sketch when the user clicks an ellipse and reward him… error: java.lang.IllegalStateException: isLoaded must be called on the main UI thread. …

---

## [Local variable x may not have been initialized](https://discourse.processing.org/t/local-variable-x-may-not-have-been-initialized/14477)

<div class="topic-metadata">

**Author:** [@FilDomInteractive](https://discourse.processing.org/u/FilDomInteractive)\
**Replies:** 8\
**Last updated:** [October 9, 2019, 1:57pm UTC](https://discourse.processing.org/t/local-variable-x-may-not-have-been-initialized/14477 "2019-10-09T13:57:22Z")

</div>

I’m completely new to processing, i’m making a calculator. Please help me! boolean selected = false; float x; float y; { x = 0; y = 0; } void setup() { smooth(8); size(350,450); selected = true; } void draw(…

---

## [Cannot center rectangle](https://discourse.processing.org/t/cannot-center-rectangle/14543)

<div class="topic-metadata">

**Author:** [@organelle](https://discourse.processing.org/u/organelle)\
**Replies:** 3\
**Last updated:** [October 9, 2019, 10:37am UTC](https://discourse.processing.org/t/cannot-center-rectangle/14543 "2019-10-09T10:37:48Z")

</div>

The rectMode(CENTER) cannot center my rectangle in my canvas. How do I fix this?

---

## [Bezier. Solving X,Y](https://discourse.processing.org/t/bezier-solving-x-y/14492)

<div class="topic-metadata">

**Author:** [@edward](https://discourse.processing.org/u/edward)\
**Replies:** 17\
**Last updated:** [October 9, 2019, 10:10am UTC](https://discourse.processing.org/t/bezier-solving-x-y/14492 "2019-10-09T10:10:37Z")

</div>

Hello friends, I’ve been trying to find the Y coordinates of a Bezier Curve given X. I’ve been fairly successful getting approximate values by putting in an array lots of x values corresponding to “t” using the bezier…

---

## [Arduino DCC interface with processing Software](https://discourse.processing.org/t/arduino-dcc-interface-with-processing-software/14541)

<div class="topic-metadata">

**Author:** [@Paul63](https://discourse.processing.org/u/Paul63)\
**Replies:** 2\
**Last updated:** [October 9, 2019, 9:09am UTC](https://discourse.processing.org/t/arduino-dcc-interface-with-processing-software/14541 "2019-10-09T09:09:23Z")

</div>

Hi all I am Paul from Italy, I am beginner with Processing , I sow one railway application on internet. I like know if somebody have experience to interface Arduino with Processing software to manage in DCC railway mo…

---

## [P5.js template for code sandbox](https://discourse.processing.org/t/p5-js-template-for-code-sandbox/14529)

<div class="topic-metadata">

**Author:** [@Witty\_Smirk](https://discourse.processing.org/u/Witty_Smirk)\
**Replies:** 2\
**Last updated:** [October 9, 2019, 4:36am UTC](https://discourse.processing.org/t/p5-js-template-for-code-sandbox/14529 "2019-10-09T04:36:41Z")

</div>

I created a template for CodeSandbox which is a powerful IDE I enjoy using for other frameworks in JavaScript and found there was no template for p5.js so I went ahead and created one.

---

## [Can't upload images](https://discourse.processing.org/t/cant-upload-images/14518)

<div class="topic-metadata">

**Author:** [@brianS](https://discourse.processing.org/u/brianS)\
**Replies:** 5\
**Last updated:** [October 9, 2019, 3:19am UTC](https://discourse.processing.org/t/cant-upload-images/14518 "2019-10-09T03:19:56Z")

</div>

Hi, I’m not sure if this the correct forum to post this in, but my students and I have been unable to upload image files for the last week or so. The Add Image dialog box allows us to drag in images, and gives us a chec…

---

## [Video processing with RaspberryPi](https://discourse.processing.org/t/video-processing-with-raspberrypi/14523)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 1\
**Last updated:** [October 9, 2019, 1:49am UTC](https://discourse.processing.org/t/video-processing-with-raspberrypi/14523 "2019-10-09T01:49:49Z")

</div>

While trying to use the GLVideo class to process videos with raspberrypi and processing I am having a few problems. Once i am trying to use the pixels loadPixels,pixels …etc i am getting the error message array Index o…

---

## [Kickoff Planning Meeting for Processing Community Day NYC 2020](https://discourse.processing.org/t/kickoff-planning-meeting-for-processing-community-day-nyc-2020/14533)

<div class="topic-metadata">

**Author:** [@lee](https://discourse.processing.org/u/lee)\
**Replies:** 0\
**Last updated:** [October 9, 2019, 12:06am UTC](https://discourse.processing.org/t/kickoff-planning-meeting-for-processing-community-day-nyc-2020/14533 "2019-10-09T00:06:21Z")

</div>

Hi friends, We’ll be holding a Processing Community Day NYC 2020 planning meeting on October 28, 2019 at 4pm at Babycastles in Manhattan. 145 W 14th St (Basement) in Manhattan. Info on our event from last year is here. N…

---

## [Change the PRESENT mode background color in android](https://discourse.processing.org/t/change-the-present-mode-background-color-in-android/14006)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 8\
**Last updated:** [October 8, 2019, 11:52pm UTC](https://discourse.processing.org/t/change-the-present-mode-background-color-in-android/14006 "2019-10-08T23:52:48Z")

</div>

In normal java mode we can change the frame bacground color with f.i.: void setup(){ size(200,200); frame.setBackground(new java.awt.Color( 255 , 0 , 0 )); } But android does not work with the awt lib, but seemingly t…

---

## [3D Rotations: Rotating around the screen axes](https://discourse.processing.org/t/3d-rotations-rotating-around-the-screen-axes/14239)

<div class="topic-metadata">

**Author:** [@raetrakt](https://discourse.processing.org/u/raetrakt)\
**Replies:** 28\
**Last updated:** [October 8, 2019, 3:17pm UTC](https://discourse.processing.org/t/3d-rotations-rotating-around-the-screen-axes/14239 "2019-10-08T15:17:52Z")

</div>

I wanted a sphere to rotate in a way that the point closest to the viewer always rotates up when the cursor is moved upwards and always left and right when the cursor is moved left and right. I had problems because afte…

---

## [Leap Motion - Detect the number of hands visible](https://discourse.processing.org/t/leap-motion-detect-the-number-of-hands-visible/14514)

<div class="topic-metadata">

**Author:** [@hamishryan6](https://discourse.processing.org/u/hamishryan6)\
**Replies:** 1\
**Last updated:** [October 8, 2019, 12:03pm UTC](https://discourse.processing.org/t/leap-motion-detect-the-number-of-hands-visible/14514 "2019-10-08T12:03:37Z")

</div>

Hi All, I have only just started using Leap Motion in Processing and I was wondering if there is a way of detecting how many active hands are being detected by the Leap Motion device. I want to make an ellipse appear wh…

---

## [How to export frames from processing](https://discourse.processing.org/t/how-to-export-frames-from-processing/14494)

<div class="topic-metadata">

**Author:** [@Malvan](https://discourse.processing.org/u/Malvan)\
**Replies:** 2\
**Last updated:** [October 8, 2019, 10:51am UTC](https://discourse.processing.org/t/how-to-export-frames-from-processing/14494 "2019-10-08T10:51:50Z")

</div>

Hello there! I got a problem with the following code: PGraphics pg; float fontSize; int cols = 30; int rows = 30; float zoff = 0; float xoffsp = 0.2; float yoffsp = 0.2; float zoffsp = 0.05; float sizes; floa…

---

## [Android:theme error / android mode version 3](https://discourse.processing.org/t/android-theme-error-android-mode-version-3/14504)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [October 8, 2019, 9:50am UTC](https://discourse.processing.org/t/android-theme-error-android-mode-version-3/14504 "2019-10-08T09:50:01Z")

</div>

android mode version 3 Good morning. As follows I get an error when doing AndroidManifest.xml What should I do? \<?xml version="1.0" encoding="UTF-8"?\> \<manifest xmlns:android="http://schemas.android.com/apk/res/andro…

---

## [PShader as background](https://discourse.processing.org/t/pshader-as-background/14495)

<div class="topic-metadata">

**Author:** [@rojele](https://discourse.processing.org/u/rojele)\
**Replies:** 2\
**Last updated:** [October 8, 2019, 7:58am UTC](https://discourse.processing.org/t/pshader-as-background/14495 "2019-10-08T07:58:42Z")

</div>

Hi, everyone, and thanks in advance for any help. In order to achieve this, I’m trying actually to apply the PShader to a PGraphics object, and then pass this PGraphics as an argument for the background. When I use the…

---

## [Como hacer una rosa](https://discourse.processing.org/t/como-hacer-una-rosa/14435)

<div class="topic-metadata">

**Author:** [@wolf](https://discourse.processing.org/u/wolf)\
**Replies:** 5\
**Last updated:** [October 8, 2019, 7:34am UTC](https://discourse.processing.org/t/como-hacer-una-rosa/14435 "2019-10-08T07:34:08Z")

</div>

alguien que me pueda ayudar necesito realizar un programa que realice una rosa NECECITO AYUDA urgente

---

## [Detect audio of computer and send info to Arduino](https://discourse.processing.org/t/detect-audio-of-computer-and-send-info-to-arduino/14330)

<div class="topic-metadata">

**Author:** [@niconico](https://discourse.processing.org/u/niconico)\
**Replies:** 3\
**Last updated:** [October 8, 2019, 6:19am UTC](https://discourse.processing.org/t/detect-audio-of-computer-and-send-info-to-arduino/14330 "2019-10-08T06:19:00Z")

</div>

Hello, I´m new with processing, I work with arduino 8 years and now I need processing for a Project The project are very simple… I need detect the audio of the computer and when the computer have sound activate a rela…

---

## [Development efficiency with Processing platform](https://discourse.processing.org/t/development-efficiency-with-processing-platform/14231)

<div class="topic-metadata">

**Author:** [@liuzc188](https://discourse.processing.org/u/liuzc188)\
**Replies:** 3\
**Last updated:** [October 8, 2019, 4:06am UTC](https://discourse.processing.org/t/development-efficiency-with-processing-platform/14231 "2019-10-08T04:06:59Z")

</div>

Hi, good afternoon! my question is :slight\_smile: concerned about efficiency with processing. Already to know: I spend lots of time writing codes. I read so many points ( up to 5k) from .csv files . And Dijkstra A…

---

## [Switching from localhost to nodejs and express](https://discourse.processing.org/t/switching-from-localhost-to-nodejs-and-express/14377)

<div class="topic-metadata">

**Author:** [@Kent](https://discourse.processing.org/u/Kent)\
**Replies:** 4\
**Last updated:** [October 8, 2019, 3:44am UTC](https://discourse.processing.org/t/switching-from-localhost-to-nodejs-and-express/14377 "2019-10-08T03:44:53Z")

</div>

I’m trying to learn more about p5.js by following the working with data tutorials The code for both the fetch csv exercise(https://github.com/CodingTrain/Intro-to-Data-APIs-JS/tree/source/module1/02\_fetch\_csv\_exercise\_…

---

## [Preciso de ajuda processing audio desenho](https://discourse.processing.org/t/preciso-de-ajuda-processing-audio-desenho/14468)

<div class="topic-metadata">

**Author:** [@delucasouz](https://discourse.processing.org/u/delucasouz)\
**Replies:** 3\
**Last updated:** [October 8, 2019, 1:52am UTC](https://discourse.processing.org/t/preciso-de-ajuda-processing-audio-desenho/14468 "2019-10-08T01:52:53Z")

</div>

I need to develop a processing.js code that allows anyone to speak through the microphone to draw anything on the screen in a random, colorful way. Here’s an example: https://www.openprocessing.org/sketch/579128 Please …

---

## [Avoiding randomness in my sketch](https://discourse.processing.org/t/avoiding-randomness-in-my-sketch/14287)

<div class="topic-metadata">

**Author:** [@JoseBri93](https://discourse.processing.org/u/JoseBri93)\
**Replies:** 4\
**Last updated:** [October 7, 2019, 8:31pm UTC](https://discourse.processing.org/t/avoiding-randomness-in-my-sketch/14287 "2019-10-07T20:31:39Z")

</div>

Hi!, i’m creating this sketch where bouncing balls go all over the display. It’s working fine however i want to know is there are other options to work instead of randomness to get diferrent organic ways for my objetcs t…

---

## [Firing g4p events](https://discourse.processing.org/t/firing-g4p-events/14496)

<div class="topic-metadata">

**Author:** [@jeppius](https://discourse.processing.org/u/jeppius)\
**Replies:** 2\
**Last updated:** [October 7, 2019, 5:37pm UTC](https://discourse.processing.org/t/firing-g4p-events/14496 "2019-10-07T17:37:03Z")

</div>

Hi there, I would like to fire a CLICKED and RELEASED g4p button event by pressing a certain key on the keyboard. That is, I would like the same visual feedback as if I had manually clicked the button with the mouse. W…

---

## [Working with Parts and arrays/Drawing with sound](https://discourse.processing.org/t/working-with-parts-and-arrays-drawing-with-sound/14499)

<div class="topic-metadata">

**Author:** [@leobrooks](https://discourse.processing.org/u/leobrooks)\
**Replies:** 0\
**Last updated:** [October 7, 2019, 4:52pm UTC](https://discourse.processing.org/t/working-with-parts-and-arrays-drawing-with-sound/14499 "2019-10-07T16:52:52Z")

</div>

Hello, I am fairly new to coding in general and p5.js in particular, so please bear with me as I try to explain my question. I am trying to create a program that plays music based on reading arrays of ones and zeroes. …

---

## [Not so random Render Glitch](https://discourse.processing.org/t/not-so-random-render-glitch/14448)

<div class="topic-metadata">

**Author:** [@Coppice](https://discourse.processing.org/u/Coppice)\
**Replies:** 5\
**Last updated:** [October 7, 2019, 4:33pm UTC](https://discourse.processing.org/t/not-so-random-render-glitch/14448 "2019-10-07T16:33:04Z")

</div>

I’ve been trying to recreate Flappy Bird using Processing within Java. Whenever I try to add spikes to it, it always will mess up with the sizes after the first 3 pairs of spikes (seems to be after spikeCount+1 pairs) an…

---

## [Blend Mode - Poster Recreation](https://discourse.processing.org/t/blend-mode-poster-recreation/14403)

<div class="topic-metadata">

**Author:** [@tylerowens](https://discourse.processing.org/u/tylerowens)\
**Replies:** 8\
**Last updated:** [October 7, 2019, 3:58pm UTC](https://discourse.processing.org/t/blend-mode-poster-recreation/14403 "2019-10-07T15:58:21Z")

</div>

Hello all, I have made a poster in adobe illustrator which I want to bring to life a little in processing. I want to be able to use the mouse to place circles onto the poster to sort of have a punching a hole through…

---

## [How to make appear image at random position](https://discourse.processing.org/t/how-to-make-appear-image-at-random-position/14372)

<div class="topic-metadata">

**Author:** [@Anael](https://discourse.processing.org/u/Anael)\
**Replies:** 4\
**Last updated:** [October 7, 2019, 12:06pm UTC](https://discourse.processing.org/t/how-to-make-appear-image-at-random-position/14372 "2019-10-07T12:06:55Z")

</div>

Hello, I’m a graphic design student. For a poster project, i must create an image made of several fake ads appearing randomly on the screen like pop-up. The idea was to load about 10 images and make them appear randomly …

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

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