# Latest

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

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

**Page:** 500

---

## [April showers bring May flowers](https://discourse.processing.org/t/april-showers-bring-may-flowers/10313)

<div class="topic-metadata">

**Author:** [@scudly](https://discourse.processing.org/u/scudly)\
**Replies:** 0\
**Last updated:** [April 15, 2019, 11:39pm UTC](https://discourse.processing.org/t/april-showers-bring-may-flowers/10313 "2019-04-15T23:39:44Z")

</div>

Hit Enter to regenerate the scene. The resulting images wrap, so if you make them smaller, you can tile with them. int framesToDraw = 120; int rectSize = 1; int nSets = 7; // set stringiness from 0.0 to 1.0 // high…

---

## [GSOC: p5.js web editor Idea](https://discourse.processing.org/t/gsoc-p5-js-web-editor-idea/10135)

<div class="topic-metadata">

**Author:** [@Shubhanshu](https://discourse.processing.org/u/Shubhanshu)\
**Replies:** 2\
**Last updated:** [April 15, 2019, 11:29pm UTC](https://discourse.processing.org/t/gsoc-p5-js-web-editor-idea/10135 "2019-04-15T23:29:53Z")

</div>

Hello everyone! Myself Shubhanshu Gairola, a student from NIT Kurukshetra, India. I have been a huge admirer of Processing and the p5.js library as well as the p5.js web editor. I am interested in adding Internationaliz…

---

## [Livestream from web to Processing](https://discourse.processing.org/t/livestream-from-web-to-processing/10163)

<div class="topic-metadata">

**Author:** [@zuoto](https://discourse.processing.org/u/zuoto)\
**Replies:** 3\
**Last updated:** [April 15, 2019, 10:52pm UTC](https://discourse.processing.org/t/livestream-from-web-to-processing/10163 "2019-04-15T22:52:51Z")

</div>

Hello! I am building an art project and I need to fetch a live recording from a camera to Processing to manipulate the image. I have tried to connect the camera to the computer but it seems that only live streaming to a…

---

## [Anyone tried Observable? It looks awesome!](https://discourse.processing.org/t/anyone-tried-observable-it-looks-awesome/10112)

<div class="topic-metadata">

**Author:** [@Oskar](https://discourse.processing.org/u/Oskar)\
**Replies:** 2\
**Last updated:** [April 15, 2019, 10:15pm UTC](https://discourse.processing.org/t/anyone-tried-observable-it-looks-awesome/10112 "2019-04-15T22:15:21Z")

</div>

So, I stumbled into this while browsing D3’s website. I think it looks pretty awesome, and may be useful for some members in the community. @kll would something like this help out with what you were looking for? https:…

---

## [Processing job oppurtunity in NYC](https://discourse.processing.org/t/processing-job-oppurtunity-in-nyc/10310)

<div class="topic-metadata">

**Author:** [@gilsperling](https://discourse.processing.org/u/gilsperling)\
**Replies:** 0\
**Last updated:** [April 15, 2019, 7:26pm UTC](https://discourse.processing.org/t/processing-job-oppurtunity-in-nyc/10310 "2019-04-15T19:26:55Z")

</div>

I’m looking for a Processing coder available to work at an event in NYC on May 1st. The code (pulling data from Google spreadsheet and presenting it visually) is already written, and would just need a few adjustments. …

---

## [How do I convert processing code so that it'd work on leapmotion?](https://discourse.processing.org/t/how-do-i-convert-processing-code-so-that-itd-work-on-leapmotion/10281)

<div class="topic-metadata">

**Author:** [@cesca](https://discourse.processing.org/u/cesca)\
**Replies:** 2\
**Last updated:** [April 15, 2019, 2:59pm UTC](https://discourse.processing.org/t/how-do-i-convert-processing-code-so-that-itd-work-on-leapmotion/10281 "2019-04-15T14:59:29Z")

</div>

I’m super new to processing and my prof is just as clueless as I am. ArrayList\<Flower\> flowers; void setup() { size(1080, 720); background(190,220,226); frameRate(30); flowers = new ArrayList\<Flower\>(); } //t…

---

## [GSOC 2019 : An implementation for drawing GIFs on the canvas](https://discourse.processing.org/t/gsoc-2019-an-implementation-for-drawing-gifs-on-the-canvas/9046)

<div class="topic-metadata">

**Author:** [@Ajayneethikannan](https://discourse.processing.org/u/Ajayneethikannan)\
**Replies:** 4\
**Last updated:** [April 15, 2019, 1:26pm UTC](https://discourse.processing.org/t/gsoc-2019-an-implementation-for-drawing-gifs-on-the-canvas/9046 "2019-04-15T13:26:45Z")

</div>

Hello I am Ajay Neethi Kannan, and I would like to work with the processing foundation by contributing to the p5.js library this summer. Here I discuss about an approach to draw GIFs in the library. To implement the GI…

---

## [Getting an If statement to revert to previous state after else?](https://discourse.processing.org/t/getting-an-if-statement-to-revert-to-previous-state-after-else/10278)

<div class="topic-metadata">

**Author:** [@1schroeteeri](https://discourse.processing.org/u/1schroeteeri)\
**Replies:** 1\
**Last updated:** [April 14, 2019, 9:03pm UTC](https://discourse.processing.org/t/getting-an-if-statement-to-revert-to-previous-state-after-else/10278 "2019-04-14T21:03:15Z")

</div>

Hi, I’m trying to get my if statement (which I’m trying to have stay “activated” for a few moments upon triggering it then disappear after staying up for a few seconds) to revert back to it’s state before the else if up…

---

## [Button Raspberry Pi](https://discourse.processing.org/t/button-raspberry-pi/1823)

<div class="topic-metadata">

**Author:** [@EllenBogen](https://discourse.processing.org/u/EllenBogen)\
**Replies:** 5\
**Last updated:** [April 14, 2019, 6:58pm UTC](https://discourse.processing.org/t/button-raspberry-pi/1823 "2019-04-14T18:58:40Z")

</div>

Hi, I´m a beginner in using the raspberry pi. I am trying to set up a button to turn on an image and have a black screen, if the button is not pushed. To start with simple Code, I startet with changing between two colo…

---

## [Google Summer of Code 2019](https://discourse.processing.org/t/google-summer-of-code-2019/9278)

<div class="topic-metadata">

**Author:** [@mercuretony](https://discourse.processing.org/u/mercuretony)\
**Replies:** 2\
**Last updated:** [April 14, 2019, 6:53pm UTC](https://discourse.processing.org/t/google-summer-of-code-2019/9278 "2019-04-14T18:53:23Z")

</div>

Hello! I am Anthony and I am currently an undergraduate student in the BSC of Computer Science and Mathematics. It’s my first time applying for this kind of application . I am very interested in several projects concer…

---

## [How to make ball bouncy in matterjs](https://discourse.processing.org/t/how-to-make-ball-bouncy-in-matterjs/10250)

<div class="topic-metadata">

**Author:** [@blkpanther](https://discourse.processing.org/u/blkpanther)\
**Replies:** 4\
**Last updated:** [April 14, 2019, 6:42pm UTC](https://discourse.processing.org/t/how-to-make-ball-bouncy-in-matterjs/10250 "2019-04-14T18:42:43Z")

</div>

Hi I adapted this snippet of code from here However, despite the restitution, the objects aren’t bouncy at all. Is there anything I need to change? // This example is based on examples from: http://brm.io/matter-js/ va…

---

## [Autocomplete in IDE](https://discourse.processing.org/t/autocomplete-in-ide/10220)

<div class="topic-metadata">

**Author:** [@securet](https://discourse.processing.org/u/securet)\
**Replies:** 3\
**Last updated:** [April 14, 2019, 6:41pm UTC](https://discourse.processing.org/t/autocomplete-in-ide/10220 "2019-04-14T18:41:59Z")

</div>

is there something like autocomplete? In the IDE. Actually it look similar 2 the Arduino IDE and I’m wondering if there is autocomplete in the Arduino IDE as well

---

## [Send regular UPD String with oscP5 / netP5](https://discourse.processing.org/t/send-regular-upd-string-with-oscp5-netp5/10265)

<div class="topic-metadata">

**Author:** [@tombass](https://discourse.processing.org/u/tombass)\
**Replies:** 3\
**Last updated:** [April 14, 2019, 4:22pm UTC](https://discourse.processing.org/t/send-regular-upd-string-with-oscp5-netp5/10265 "2019-04-14T16:22:15Z")

</div>

Hi I have a project where i want to receive OSC and send out regular plain UPD text - i’ve got all the OSC side working but i can’t work out how to use netP5 to send a regular UDP string, rather than an OSC formatted da…

---

## [oscP5 multiple sketches question](https://discourse.processing.org/t/oscp5-multiple-sketches-question/10242)

<div class="topic-metadata">

**Author:** [@cucurbit](https://discourse.processing.org/u/cucurbit)\
**Replies:** 4\
**Last updated:** [April 14, 2019, 3:22pm UTC](https://discourse.processing.org/t/oscp5-multiple-sketches-question/10242 "2019-04-14T15:22:23Z")

</div>

Hello. I’m trying to learn about OSC, through the oscP5 library. I have gotten it to work for me in limited circumstances (one Processing sketch sending, one other program receiving (Vuo, in my case). In trying to under…

---

## [Stumped by something simple](https://discourse.processing.org/t/stumped-by-something-simple/10057)

<div class="topic-metadata">

**Author:** [@cucurbit](https://discourse.processing.org/u/cucurbit)\
**Replies:** 11\
**Last updated:** [April 14, 2019, 2:46pm UTC](https://discourse.processing.org/t/stumped-by-something-simple/10057 "2019-04-14T14:46:17Z")

</div>

Hello. This is my first post here. I am trying to learn to use the oscP5 library, and I’m making a tester sketch based on one of the examples. The attached code is supposed to send and receive osc messages, and help me…

---

## [Using a string as parameter name](https://discourse.processing.org/t/using-a-string-as-parameter-name/10246)

<div class="topic-metadata">

**Author:** [@b\_and\_z](https://discourse.processing.org/u/b_and_z)\
**Replies:** 6\
**Last updated:** [April 14, 2019, 1:22pm UTC](https://discourse.processing.org/t/using-a-string-as-parameter-name/10246 "2019-04-14T13:22:14Z")

</div>

Hi everyone! I want to make a simple interactive sequencer for my homepage, but I’m running into a problem when trying to play the single notes. let ton1; let ton2; let ton3; let beats = 16; let tonName = \[\]; let sequ…

---

## [Function overwriting values outside of its vision](https://discourse.processing.org/t/function-overwriting-values-outside-of-its-vision/10259)

<div class="topic-metadata">

**Author:** [@Feltopi](https://discourse.processing.org/u/Feltopi)\
**Replies:** 11\
**Last updated:** [April 14, 2019, 12:44pm UTC](https://discourse.processing.org/t/function-overwriting-values-outside-of-its-vision/10259 "2019-04-14T12:44:04Z")

</div>

Hello, i have problem with overwriting totaly unrelated values with one function. In my class Populace i create class vector Prihrada\[\] prihrada\_array; and single object Prihrada BIS; Then i run it through my scrip…

---

## [Train move on mouse button, stop once I click again](https://discourse.processing.org/t/train-move-on-mouse-button-stop-once-i-click-again/10256)

<div class="topic-metadata">

**Author:** [@abigail](https://discourse.processing.org/u/abigail)\
**Replies:** 4\
**Last updated:** [April 14, 2019, 10:44am UTC](https://discourse.processing.org/t/train-move-on-mouse-button-stop-once-i-click-again/10256 "2019-04-14T10:44:41Z")

</div>

Hi, I’m making a simple program to make a train move across the screen. At the moment the train moves only when I hold down my mouse button. Would anyone be able to help me make the train move when I press the mouse butt…

---

## [Network library explanation](https://discourse.processing.org/t/network-library-explanation/10105)

<div class="topic-metadata">

**Author:** [@Wirtex](https://discourse.processing.org/u/Wirtex)\
**Replies:** 4\
**Last updated:** [April 14, 2019, 7:44am UTC](https://discourse.processing.org/t/network-library-explanation/10105 "2019-04-14T07:44:00Z")

</div>

Hi ! I am a boy of 14years old and I code in processing but, I have some questions unsolved : 1-does the network library can connect 2 or more computer connected to the same internet or form around the globe? 2- How do…

---

## [Processing+ SimpeOpenNI+Kinect](https://discourse.processing.org/t/processing-simpeopenni-kinect/9430)

<div class="topic-metadata">

**Author:** [@jiangjun](https://discourse.processing.org/u/jiangjun)\
**Replies:** 2\
**Last updated:** [April 14, 2019, 2:25am UTC](https://discourse.processing.org/t/processing-simpeopenni-kinect/9430 "2019-04-14T02:25:07Z")

</div>

Hi!Could anyone help me to solve the problem? I have copy the SimpleOpenNI in the library but everytime I use it, it said, SimpleOpenNI Error: Can’t open device: DeviceOpen using default: no devices found Can’t init…

---

## [Array Index Out of Bounds error on PGraphics.text()](https://discourse.processing.org/t/array-index-out-of-bounds-error-on-pgraphics-text/10239)

<div class="topic-metadata">

**Author:** [@JRH](https://discourse.processing.org/u/JRH)\
**Replies:** 5\
**Last updated:** [April 13, 2019, 11:25pm UTC](https://discourse.processing.org/t/array-index-out-of-bounds-error-on-pgraphics-text/10239 "2019-04-13T23:25:09Z")

</div>

Hello; new here. :wave: I have no idea what part of this is breaking. I have tried to reduce this as best as I can to a minimal example. I have a class defined in a separate tab which is meant to represent something li…

---

## [Why is perlin noise looping?](https://discourse.processing.org/t/why-is-perlin-noise-looping/10155)

<div class="topic-metadata">

**Author:** [@happymoep](https://discourse.processing.org/u/happymoep)\
**Replies:** 3\
**Last updated:** [April 13, 2019, 11:11pm UTC](https://discourse.processing.org/t/why-is-perlin-noise-looping/10155 "2019-04-13T23:11:24Z")

</div>

I was playing around with perlin noise and noticed repeating patterns. Having the ability to loop noise with such hardly noticeable seams would be a great feature but shouldn’t be occuring “naturally” here, right? Is t…

---

## [Finding all RShape children recursively (Geomerative)](https://discourse.processing.org/t/finding-all-rshape-children-recursively-geomerative/10241)

<div class="topic-metadata">

**Author:** [@cdaein](https://discourse.processing.org/u/cdaein)\
**Replies:** 3\
**Last updated:** [April 13, 2019, 7:15pm UTC](https://discourse.processing.org/t/finding-all-rshape-children-recursively-geomerative/10241 "2019-04-13T19:15:48Z")

</div>

I have an svg file with multiple levels of hierarchy. \<g\> within \<g\>, and different elements such as \<polygon\>, \<polyline\>, etc within each group. My goal is to create a function that will return me all children elements…

---

## [States and ControlP5](https://discourse.processing.org/t/states-and-controlp5/9792)

<div class="topic-metadata">

**Author:** [@AwreetusAwrightus](https://discourse.processing.org/u/AwreetusAwrightus)\
**Replies:** 6\
**Last updated:** [April 13, 2019, 6:05pm UTC](https://discourse.processing.org/t/states-and-controlp5/9792 "2019-04-13T18:05:19Z")

</div>

Hello everyone! Currently working into a final project for my degree in media and cinema studies. For that I envisioned a video-installation that consists into two steps. At first, we have the user inputting information…

---

## [How to solve "Disabling serialEvent for COM3 null"](https://discourse.processing.org/t/how-to-solve-disabling-serialevent-for-com3-null/10214)

<div class="topic-metadata">

**Author:** [@Frank-95](https://discourse.processing.org/u/Frank-95)\
**Replies:** 4\
**Last updated:** [April 13, 2019, 1:16pm UTC](https://discourse.processing.org/t/how-to-solve-disabling-serialevent-for-com3-null/10214 "2019-04-13T13:16:21Z")

</div>

Hello, sorry for another thread about serialEvent and NullPointerException. I’ve searched for this problem a lot, but actually found no solution to my problem (try/catch just solve the crash not the problem). import g4…

---

## [Program BMI - Random Point](https://discourse.processing.org/t/program-bmi-random-point/10230)

<div class="topic-metadata">

**Author:** [@EverybodyEthan](https://discourse.processing.org/u/EverybodyEthan)\
**Replies:** 7\
**Last updated:** [April 13, 2019, 12:20pm UTC](https://discourse.processing.org/t/program-bmi-random-point/10230 "2019-04-13T12:20:54Z")

</div>

Hey guys ! I’m new on the forum and I need help about my final project for exams. I’ve made over 90% of the job and I need few help to finish this. Since 2/3 weeks I’m searching for a way but it continues to be wrong :…

---

## [Help with some fixing up (geometry)](https://discourse.processing.org/t/help-with-some-fixing-up-geometry/10187)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 2\
**Last updated:** [April 13, 2019, 12:19pm UTC](https://discourse.processing.org/t/help-with-some-fixing-up-geometry/10187 "2019-04-13T12:19:31Z")

</div>

Hi, how can i fix this? int np = 20; //num of points float x,y; float xpos\[\]\[\] = new float \[np+2\]\[100\]; float ypos\[\]\[\] = new float \[np+2\]\[100\]; float angle = TWO\_PI/np; float r; int num = 100; void setup() { size(60…

---

## [Size() not recognised by PVector?](https://discourse.processing.org/t/size-not-recognised-by-pvector/10235)

<div class="topic-metadata">

**Author:** [@itch](https://discourse.processing.org/u/itch)\
**Replies:** 2\
**Last updated:** [April 13, 2019, 10:58am UTC](https://discourse.processing.org/t/size-not-recognised-by-pvector/10235 "2019-04-13T10:58:33Z")

</div>

Hi all, I’ve been reading about the issue with size() not working in void setup() through version 3, and the fix of moving size() into void settings(). I have run into a similar scenario but it seems to be directly rela…

---

## [Why does my bubble not stop at the top?](https://discourse.processing.org/t/why-does-my-bubble-not-stop-at-the-top/10232)

<div class="topic-metadata">

**Author:** [@abigail](https://discourse.processing.org/u/abigail)\
**Replies:** 8\
**Last updated:** [April 13, 2019, 10:57am UTC](https://discourse.processing.org/t/why-does-my-bubble-not-stop-at-the-top/10232 "2019-04-13T10:57:45Z")

</div>

Hi, if anyone could help me figure out why my bubble does not stop once y is greater than the height that would be great :slight\_smile: Thanks in advance. Bubble b; void setup() { size(600, 400); b = new Bubble();…

---

## [Problem with Particle and Black hole](https://discourse.processing.org/t/problem-with-particle-and-black-hole/10226)

<div class="topic-metadata">

**Author:** [@techMatt](https://discourse.processing.org/u/techMatt)\
**Replies:** 1\
**Last updated:** [April 13, 2019, 8:04am UTC](https://discourse.processing.org/t/problem-with-particle-and-black-hole/10226 "2019-04-13T08:04:48Z")

</div>

Hello guys. I’m writing a code where a particle is attracted by a black hole. The particle should spiral into the black hole but something strange happens. When the xPos of the Particle is = 250 it begins to move downwar…

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

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