# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=307

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

**Page:** 308

---

## [Problems with true false](https://discourse.processing.org/t/problems-with-true-false/10348)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 6\
**Last updated:** [April 16, 2019, 1:32pm UTC](https://discourse.processing.org/t/problems-with-true-false/10348 "2019-04-16T13:32:15Z")

</div>

Hi, I have some troubles. I want to make a boolean true when I press a bottom and then stay true but it always changes back to false

---

## [Coding AxiDraw as I want](https://discourse.processing.org/t/coding-axidraw-as-i-want/10329)

<div class="topic-metadata">

**Author:** [@duddy](https://discourse.processing.org/u/duddy)\
**Replies:** 10\
**Last updated:** [April 16, 2019, 8:00am UTC](https://discourse.processing.org/t/coding-axidraw-as-i-want/10329 "2019-04-16T08:00:42Z")

</div>

Hello everybody ! Just want to precise first that I’m not a native English speaker so please be merciful with me if you spot grammar mistakes or anything… I need help on a project about making an AxiDraw v3 robot (pain…

---

## [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…

---

## [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…

---

## [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…

---

## [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…

---

## [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…

---

## [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…

---

## [How can I link multiple Kinects in one processing sketch?](https://discourse.processing.org/t/how-can-i-link-multiple-kinects-in-one-processing-sketch/10169)

<div class="topic-metadata">

**Author:** [@nicoles](https://discourse.processing.org/u/nicoles)\
**Replies:** 3\
**Last updated:** [April 13, 2019, 1:44am UTC](https://discourse.processing.org/t/how-can-i-link-multiple-kinects-in-one-processing-sketch/10169 "2019-04-13T01:44:55Z")

</div>

I am having trouble connecting multiple Kinects within one Processing sketch. I want to be able to use the data from multiple Kinects to create one extended image. Is there any way to do this?

---

## [Why does only p2 show up?](https://discourse.processing.org/t/why-does-only-p2-show-up/10217)

<div class="topic-metadata">

**Author:** [@abigail](https://discourse.processing.org/u/abigail)\
**Replies:** 2\
**Last updated:** [April 12, 2019, 6:02pm UTC](https://discourse.processing.org/t/why-does-only-p2-show-up/10217 "2019-04-12T18:02:36Z")

</div>

Hi I’m very new to programming so excuse if this is an easy question, but why is only one of my particles showing up (p2)? Thanks in advance :slight\_smile: Particle p1; Particle p2; void setup() { size(600,400); p…

---

## [How do I save a HIGHSCORE](https://discourse.processing.org/t/how-do-i-save-a-highscore/10201)

<div class="topic-metadata">

**Author:** [@Nolan](https://discourse.processing.org/u/Nolan)\
**Replies:** 2\
**Last updated:** [April 12, 2019, 5:11pm UTC](https://discourse.processing.org/t/how-do-i-save-a-highscore/10201 "2019-04-12T17:11:08Z")

</div>

// Variables int STOP = 1; float count = 0; PImage B1; PImage Background; PImage B2; PImage B3; PImage Start; float x = 0; float x2 = 0; float y = 1080; float y2 = 1080; int Score = 0; int Highscore; float speed = 3; fl…

---

## [Hi guys why my text doesn't show?](https://discourse.processing.org/t/hi-guys-why-my-text-doesnt-show/10075)

<div class="topic-metadata">

**Author:** [@fwtini](https://discourse.processing.org/u/fwtini)\
**Replies:** 13\
**Last updated:** [April 12, 2019, 4:01pm UTC](https://discourse.processing.org/t/hi-guys-why-my-text-doesnt-show/10075 "2019-04-12T16:01:50Z")

</div>

I want to direct the text from left to right and from up to down PFont myFont; String s= "test"; float x=100; float y=100; float speed=0.5; int direction=1; void setup(){ size(700,700); background(255); myFon…

---

## [Rotation 3d text](https://discourse.processing.org/t/rotation-3d-text/10213)

<div class="topic-metadata">

**Author:** [@fwtini](https://discourse.processing.org/u/fwtini)\
**Replies:** 18\
**Last updated:** [April 12, 2019, 4:03pm UTC](https://discourse.processing.org/t/rotation-3d-text/10213 "2019-04-12T16:03:35Z")

</div>

If I want to rotate my text in 360 degrees what parameter can I use? PFont myFont; float rotateVal=0.4; String s1= ("test"); float x,y; float rotateX; float rotateY; int offset =4; float speed = 0.1; float rad…

---

## [Is there something like beginRecord() that works with P2D/texture()?](https://discourse.processing.org/t/is-there-something-like-beginrecord-that-works-with-p2d-texture/10120)

<div class="topic-metadata">

**Author:** [@vielleicht](https://discourse.processing.org/u/vielleicht)\
**Replies:** 1\
**Last updated:** [April 12, 2019, 3:30pm UTC](https://discourse.processing.org/t/is-there-something-like-beginrecord-that-works-with-p2d-texture/10120 "2019-04-12T15:30:48Z")

</div>

I’m creating a kaleidoscope program using texture() to mirror things and then I want to be able to redraw and save everything at a higher resolution. I found a method of redrawing and saving the screen but it uses JAVA2D…

---

## [Why my class doesn't work?!](https://discourse.processing.org/t/why-my-class-doesnt-work/10189)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 8\
**Last updated:** [April 12, 2019, 3:13pm UTC](https://discourse.processing.org/t/why-my-class-doesnt-work/10189 "2019-04-12T15:13:26Z")

</div>

Hello, I’d like to deform a text according to an attractor encapsulated into a class, but it doesn’t work! Why? What is wrong with my constructor? Thanks a lot in advance for your help. Best, L import processing.pd…

---

## [Shift Key Creating Box Character](https://discourse.processing.org/t/shift-key-creating-box-character/10197)

<div class="topic-metadata">

**Author:** [@clevelandbrowns](https://discourse.processing.org/u/clevelandbrowns)\
**Replies:** 5\
**Last updated:** [April 12, 2019, 1:07pm UTC](https://discourse.processing.org/t/shift-key-creating-box-character/10197 "2019-04-12T13:07:06Z")

</div>

When I input characters, my shift keys are producing a box character when pressed. For example, if I’m typing the name Bob, it comes up as \[box\]Bob. How can I prevent this? This is for console output by the way.

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=306)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=308)
