# Processing

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

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

**Page:** 328

---

## [Adding parent class to arraylist with internal function](https://discourse.processing.org/t/adding-parent-class-to-arraylist-with-internal-function/7766)

<div class="topic-metadata">

**Author:** [@Bluu](https://discourse.processing.org/u/Bluu)\
**Replies:** 9\
**Last updated:** [January 25, 2019, 3:51am UTC](https://discourse.processing.org/t/adding-parent-class-to-arraylist-with-internal-function/7766 "2019-01-25T03:51:43Z")

</div>

I’m trying to build a game where you connect different pipes to complete a rube-goldberg machine level, this class is meant to be a connector wire between two blocks. I’m having an issue within the internal findend() fun…

---

## [Carnivore library for Windows](https://discourse.processing.org/t/carnivore-library-for-windows/7819)

<div class="topic-metadata">

**Author:** [@Pr0tonX](https://discourse.processing.org/u/Pr0tonX)\
**Replies:** 0\
**Last updated:** [January 24, 2019, 8:01pm UTC](https://discourse.processing.org/t/carnivore-library-for-windows/7819 "2019-01-24T20:01:04Z")

</div>

Hi everyone, I wanted to know if some of you had already tried to play with the Carnivore library ; wich require WinPCap to be used on Windows. Do I have to do something with it ;or just launch it and the sniffing will …

---

## [Processing skips forward and jumps to loop](https://discourse.processing.org/t/processing-skips-forward-and-jumps-to-loop/7169)

<div class="topic-metadata">

**Author:** [@carlijnob](https://discourse.processing.org/u/carlijnob)\
**Replies:** 0\
**Last updated:** [January 4, 2019, 2:56pm UTC](https://discourse.processing.org/t/processing-skips-forward-and-jumps-to-loop/7169 "2019-01-04T14:56:05Z")

</div>

Hello everybody, I am trying to finish the code I wrote together with someone with more experience. Unfortunately, this person is on holiday right now and I cannot find the solution of my problem. The problem is that t…

---

## [Cant get this library to work - launchpad libarary](https://discourse.processing.org/t/cant-get-this-library-to-work-launchpad-libarary/7210)

<div class="topic-metadata">

**Author:** [@Brastin](https://discourse.processing.org/u/Brastin)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 6:01pm UTC](https://discourse.processing.org/t/cant-get-this-library-to-work-launchpad-libarary/7210 "2019-01-24T18:01:06Z")

</div>

I’ve been trying forever to get this launchpad library to work with processing. I’ve looked everywhere for any info on how to get it to work but I just can’t find anything. The library seems to be made for an older versi…

---

## [Processing memory card game](https://discourse.processing.org/t/processing-memory-card-game/7191)

<div class="topic-metadata">

**Author:** [@roeludh1](https://discourse.processing.org/u/roeludh1)\
**Replies:** 11\
**Last updated:** [January 5, 2019, 11:51am UTC](https://discourse.processing.org/t/processing-memory-card-game/7191 "2019-01-05T11:51:34Z")

</div>

Hi, I have to make this memory card game in processing and Im a little stuck somewhere. I have three screens and on the third screen the game is displayed based on the selected number of cards in the second screen. This…

---

## [Grafica Library, changing colour of specific points](https://discourse.processing.org/t/grafica-library-changing-colour-of-specific-points/7151)

<div class="topic-metadata">

**Author:** [@simmi](https://discourse.processing.org/u/simmi)\
**Replies:** 2\
**Last updated:** [January 24, 2019, 4:45pm UTC](https://discourse.processing.org/t/grafica-library-changing-colour-of-specific-points/7151 "2019-01-24T16:45:42Z")

</div>

I want to plot the graph of reading of gyroscope data vs Time. I am using grafica library. I am adding the point in the points in the loop and want to change the color of specific points when certain condition is detect…

---

## [\[SOLVED\] How do you individually rotate objects in a grid?](https://discourse.processing.org/t/solved-how-do-you-individually-rotate-objects-in-a-grid/7510)

<div class="topic-metadata">

**Author:** [@Namrad](https://discourse.processing.org/u/Namrad)\
**Replies:** 6\
**Last updated:** [January 23, 2019, 9:07pm UTC](https://discourse.processing.org/t/solved-how-do-you-individually-rotate-objects-in-a-grid/7510 "2019-01-23T21:07:54Z")

</div>

Hello, I’m fairly new to this forum, and a mostly autodidact Processing user and learner. Apologies if I’m not making myself properly clear, or if I’m making rookie formatting mistakes. I have created an array of objec…

---

## [Crazy ball movement and collision](https://discourse.processing.org/t/crazy-ball-movement-and-collision/7777)

<div class="topic-metadata">

**Author:** [@hmilch](https://discourse.processing.org/u/hmilch)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 4:44pm UTC](https://discourse.processing.org/t/crazy-ball-movement-and-collision/7777 "2019-01-24T16:44:06Z")

</div>

Hi, So i’m new to processing and coding as i just started talking a Comp. Sci class this year. Anyways, for the end of the first semester, we were tasked with making a game. Doesn’t matter what kind or how, just as long…

---

## [Adding str() array to a single string](https://discourse.processing.org/t/adding-str-array-to-a-single-string/7762)

<div class="topic-metadata">

**Author:** [@Hieronymus](https://discourse.processing.org/u/Hieronymus)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 3:32pm UTC](https://discourse.processing.org/t/adding-str-array-to-a-single-string/7762 "2019-01-24T15:32:11Z")

</div>

I’m having an array of individual strings. Basically, these are ascii codes converted to a string. a = a counter str(char(txtArray\[a\])) I could add all strings from the array to a single string ‘ab’ like the followin…

---

## [Make the game called Sets](https://discourse.processing.org/t/make-the-game-called-sets/7761)

<div class="topic-metadata">

**Author:** [@henk\_peter](https://discourse.processing.org/u/henk_peter)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 2:25am UTC](https://discourse.processing.org/t/make-the-game-called-sets/7761 "2019-01-24T02:25:36Z")

</div>

Hello, I’m trying to make the game sets This is the game I have 27 cards, which are all diferent by one (or more) of each item: colors: red,blue,green Shape: triangle, square, circle Amout: 1,2,3 I already made ful…

---

## [Position problem](https://discourse.processing.org/t/position-problem/7782)

<div class="topic-metadata">

**Author:** [@vincentstrebelle](https://discourse.processing.org/u/vincentstrebelle)\
**Replies:** 12\
**Last updated:** [January 24, 2019, 10:57am UTC](https://discourse.processing.org/t/position-problem/7782 "2019-01-24T10:57:45Z")

</div>

Hi everyone, i have a problem with my player, i cant find a way to put it properly in my world. For now it spawn in the middle of my screen and so all his coordonates are wrong. here is my World: public class World2 {…

---

## [Problems Exporting a Sketch on Mac](https://discourse.processing.org/t/problems-exporting-a-sketch-on-mac/1329)

<div class="topic-metadata">

**Author:** [@JavaWax](https://discourse.processing.org/u/JavaWax)\
**Replies:** 9\
**Last updated:** [January 24, 2019, 10:47am UTC](https://discourse.processing.org/t/problems-exporting-a-sketch-on-mac/1329 "2019-01-24T10:47:42Z")

</div>

Hi there! I have written a program which utilises multiple libraries to control a particle system using a kinect. All data is stored within the data folder. It runs fine within the processing environment. My problem is …

---

## [Master Pgraphics for Syphon](https://discourse.processing.org/t/master-pgraphics-for-syphon/7785)

<div class="topic-metadata">

**Author:** [@mattleaf](https://discourse.processing.org/u/mattleaf)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 10:29am UTC](https://discourse.processing.org/t/master-pgraphics-for-syphon/7785 "2019-01-24T10:29:56Z")

</div>

hiya, had an account a while back but seems i needed a new one anyway, weird Q. I’m using layers of PGraphics objects pretty extensively in a project, however I’m now in a position where i need to use Syphon to do a re…

---

## [John Whitney Arabesque](https://discourse.processing.org/t/john-whitney-arabesque/7781)

<div class="topic-metadata">

**Author:** [@mchangxe](https://discourse.processing.org/u/mchangxe)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 9:29am UTC](https://discourse.processing.org/t/john-whitney-arabesque/7781 "2019-01-24T09:29:48Z")

</div>

has anyone else tried to recreate the first animation in john whitney’s film “arabesque” (https://www.youtube.com/watch?v=sQrq7S0dP54&frags=pl%2Cwn)? im stuck on getting the second motion (from 1:21 to roughly 1:26) any …

---

## [【text\_to\_path】two lines cannot reveal along the path](https://discourse.processing.org/t/text-to-path-two-lines-cannot-reveal-along-the-path/7154)

<div class="topic-metadata">

**Author:** [@shang](https://discourse.processing.org/u/shang)\
**Replies:** 2\
**Last updated:** [January 24, 2019, 9:02am UTC](https://discourse.processing.org/t/text-to-path-two-lines-cannot-reveal-along-the-path/7154 "2019-01-24T09:02:30Z")

</div>

hi guys, i stuck in the situation that the tow text-line cannot reveal along the path. Following is the code … import tracer.\*; import tracer.paths.\*; //style int fgColor = #FFFFFF; //foreground color int bgColor = #DC…

---

## [Draw images (not movie)](https://discourse.processing.org/t/draw-images-not-movie/7740)

<div class="topic-metadata">

**Author:** [@Renaud](https://discourse.processing.org/u/Renaud)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 8:49am UTC](https://discourse.processing.org/t/draw-images-not-movie/7740 "2019-01-24T08:49:23Z")

</div>

Hi everyone, Very easy question I guess… I am new to Processing and am trying the example codes proposed on Processing.org. I have tried the recursive tree which I find very nice. To make it a bit funnier I wanted to …

---

## [Output in Text file or spreadsheet possible with Processing?](https://discourse.processing.org/t/output-in-text-file-or-spreadsheet-possible-with-processing/7249)

<div class="topic-metadata">

**Author:** [@Astrid](https://discourse.processing.org/u/Astrid)\
**Replies:** 9\
**Last updated:** [January 24, 2019, 7:47am UTC](https://discourse.processing.org/t/output-in-text-file-or-spreadsheet-possible-with-processing/7249 "2019-01-24T07:47:23Z")

</div>

Hello dear Processing-Community! I am completely new to Processing as well as relatively new to programming in general. Someone suggested to use Processing for a task I wanted to achieve but now other people are telling…

---

## [Loading on PImage on top of another](https://discourse.processing.org/t/loading-on-pimage-on-top-of-another/7752)

<div class="topic-metadata">

**Author:** [@Cres](https://discourse.processing.org/u/Cres)\
**Replies:** 5\
**Last updated:** [January 24, 2019, 1:35am UTC](https://discourse.processing.org/t/loading-on-pimage-on-top-of-another/7752 "2019-01-24T01:35:26Z")

</div>

Hello I’m trying to load several images into a single PImage object but I’m having issues with transparancy. Rendering the images directly onto the screen goes flawlessly but I’m trying to “buffer” all the layers that m…

---

## [Better networking documentation?](https://discourse.processing.org/t/better-networking-documentation/7436)

<div class="topic-metadata">

**Author:** [@Bluu](https://discourse.processing.org/u/Bluu)\
**Replies:** 6\
**Last updated:** [January 23, 2019, 4:28pm UTC](https://discourse.processing.org/t/better-networking-documentation/7436 "2019-01-23T16:28:45Z")

</div>

I was looking at the processing.org documentation for networking, but it seemed to be just walls of useless text rather than a practical list of processing network commands. Is there a better resource for this?

---

## [Points appearing "transparent"](https://discourse.processing.org/t/points-appearing-transparent/7729)

<div class="topic-metadata">

**Author:** [@Sarah](https://discourse.processing.org/u/Sarah)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 10:28pm UTC](https://discourse.processing.org/t/points-appearing-transparent/7729 "2019-01-22T22:28:55Z")

</div>

When I’ve tried drawing points using a for loop to cover the screen it doesn’t appear to be completely solid: size(255, 255); noStroke(); fill(255, 0, 0); ellipse(100, 100, 100, 100); for (int i = 0; i \< 255; i++) { …

---

## [Eclipse exporting as jar (not runnable jar)](https://discourse.processing.org/t/eclipse-exporting-as-jar-not-runnable-jar/7710)

<div class="topic-metadata">

**Author:** [@Mastermori](https://discourse.processing.org/u/Mastermori)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 7:45pm UTC](https://discourse.processing.org/t/eclipse-exporting-as-jar-not-runnable-jar/7710 "2019-01-22T19:45:03Z")

</div>

This is my first post so please ignore if I should be a bit inapt handling this ^^ So I am currently having a problem exporting a project I did with processing in eclipse. I imported the core.jar and set up everything …

---

## [How to press space key to toggle doubling the size of the rectangle?](https://discourse.processing.org/t/how-to-press-space-key-to-toggle-doubling-the-size-of-the-rectangle/7746)

<div class="topic-metadata">

**Author:** [@dxh188](https://discourse.processing.org/u/dxh188)\
**Replies:** 1\
**Last updated:** [January 22, 2019, 6:38pm UTC](https://discourse.processing.org/t/how-to-press-space-key-to-toggle-doubling-the-size-of-the-rectangle/7746 "2019-01-22T18:38:23Z")

</div>

float x = 400, y=100; int a=20,b=10; void setup() { size(800, 200); } void draw() { rect(x-10, y-5, a, b); } void keyPressed() { int k=' '; if (keyCode == RIGHT) …

---

## [Rounding float number](https://discourse.processing.org/t/rounding-float-number/7091)

<div class="topic-metadata">

**Author:** [@lodolfo](https://discourse.processing.org/u/lodolfo)\
**Replies:** 18\
**Last updated:** [January 22, 2019, 6:34pm UTC](https://discourse.processing.org/t/rounding-float-number/7091 "2019-01-22T18:34:19Z")

</div>

Hi, I’m a new person with Processing and Java language also. So I’m sorry if my question is stupid and it bothers you. I’m trying to calculate float numbers then print out the result. My code as below: float x, y ; fl…

---

## [Using Clear in CP5 to begin again. (I am very new)](https://discourse.processing.org/t/using-clear-in-cp5-to-begin-again-i-am-very-new/7724)

<div class="topic-metadata">

**Author:** [@angelman](https://discourse.processing.org/u/angelman)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 8:16am UTC](https://discourse.processing.org/t/using-clear-in-cp5-to-begin-again-i-am-very-new/7724 "2019-01-22T08:16:25Z")

</div>

This is my sketch. The idea is to take a 6 digit number entry and display as a color bar the colors according to the numbers. I have 2 queries. Why is there a white bar at the beginning, and how to clear the display and…

---

## [Using open() in processing 2](https://discourse.processing.org/t/using-open-in-processing-2/7606)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 4\
**Last updated:** [January 22, 2019, 6:19am UTC](https://discourse.processing.org/t/using-open-in-processing-2/7606 "2019-01-22T06:19:13Z")

</div>

I know launch is the new open in 3.0+ but I use open to run .exe 's and everything works fine. I want to rename a file using open and the cmd .exe i tried: open(“rename c:\\path\\file.fil file.bak”) and nothing hap…

---

## [Parallax 3D effect](https://discourse.processing.org/t/parallax-3d-effect/7235)

<div class="topic-metadata">

**Author:** [@bryan](https://discourse.processing.org/u/bryan)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 5:56am UTC](https://discourse.processing.org/t/parallax-3d-effect/7235 "2019-01-22T05:56:20Z")

</div>

Hi everyone, i want to recreate the parallax effect as shown in https://www.youtube.com/watch?v=Jd3-eiid-Uw. but instead of using the wii control i’m gonna use the kinect for head tracking including his depth in the spac…

---

## [Find object center point coordinate with webcam](https://discourse.processing.org/t/find-object-center-point-coordinate-with-webcam/7722)

<div class="topic-metadata">

**Author:** [@yoshvale](https://discourse.processing.org/u/yoshvale)\
**Replies:** 1\
**Last updated:** [January 22, 2019, 5:30am UTC](https://discourse.processing.org/t/find-object-center-point-coordinate-with-webcam/7722 "2019-01-22T05:30:41Z")

</div>

Can processing capture an object and find the center point of the object (center point coordinate) In this case the object is QR Code, i want to move camera (which attached to robot arm) closer to object that i placed i…

---

## [Trying to make a google dinosaur game rip-off?](https://discourse.processing.org/t/trying-to-make-a-google-dinosaur-game-rip-off/5554)

<div class="topic-metadata">

**Author:** [@CyanNi](https://discourse.processing.org/u/CyanNi)\
**Replies:** 7\
**Last updated:** [January 22, 2019, 4:18am UTC](https://discourse.processing.org/t/trying-to-make-a-google-dinosaur-game-rip-off/5554 "2019-01-22T04:18:24Z")

</div>

Well, flappy bun?? The problem I have is that the image instead of going up and down—it stretches… Here’s the code! float bunHeight = 2; float speed = 1; PImage bun; void setup() { size(500,500); bun = loadImage(…

---

## [Using Quaternions to rotate(3D)](https://discourse.processing.org/t/using-quaternions-to-rotate-3d/7624)

<div class="topic-metadata">

**Author:** [@aryakeyvan](https://discourse.processing.org/u/aryakeyvan)\
**Replies:** 6\
**Last updated:** [January 22, 2019, 1:24am UTC](https://discourse.processing.org/t/using-quaternions-to-rotate-3d/7624 "2019-01-22T01:24:21Z")

</div>

In my project I have used a complimentary filter to generate yaw, roll, and pitch angles. I used the rotateX, rotateY, and rotateZ functions to rotate a box in 3d. I ran into problems like gimbal lock when using this m…

---

## [Need help with collision detection of arrays](https://discourse.processing.org/t/need-help-with-collision-detection-of-arrays/7717)

<div class="topic-metadata">

**Author:** [@squirrel1969](https://discourse.processing.org/u/squirrel1969)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 1:11am UTC](https://discourse.processing.org/t/need-help-with-collision-detection-of-arrays/7717 "2019-01-22T01:11:59Z")

</div>

Hello! I am trying to have a game where you shoot falling balls with a laser. I used an array to make the balls fall, so when I shoot one of the multiple balls they all reset. How do I make it so that you have to shoot …

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

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