# Processing

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

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

**Page:** 295

---

## [3d animation to flip a card](https://discourse.processing.org/t/3d-animation-to-flip-a-card/11687)

<div class="topic-metadata">

**Author:** [@minican1997](https://discourse.processing.org/u/minican1997)\
**Replies:** 9\
**Last updated:** [May 30, 2019, 2:05am UTC](https://discourse.processing.org/t/3d-animation-to-flip-a-card/11687 "2019-05-30T02:05:17Z")

</div>

hello i need some help i am new in processing and i dont know how to make an animation to flip a card when i click on it i need to make a memory card game and to have an flip animation on it please help me :(( Card\[\]…

---

## [Holding the ball in pong](https://discourse.processing.org/t/holding-the-ball-in-pong/11520)

<div class="topic-metadata">

**Author:** [@somedude](https://discourse.processing.org/u/somedude)\
**Replies:** 128\
**Last updated:** [May 30, 2019, 2:04am UTC](https://discourse.processing.org/t/holding-the-ball-in-pong/11520 "2019-05-30T02:04:29Z")

</div>

Hello im coding a pong game with a twist im trying to make it when the player holds the spacebar the bar holds the ball but im having trouble making the ball stop. thanks in advance if ( xpos \<= 30+size/2) { if (…

---

## [Using Noise to create "Biomes" for a map](https://discourse.processing.org/t/using-noise-to-create-biomes-for-a-map/11241)

<div class="topic-metadata">

**Author:** [@ILikePi](https://discourse.processing.org/u/ILikePi)\
**Replies:** 5\
**Last updated:** [May 30, 2019, 12:19am UTC](https://discourse.processing.org/t/using-noise-to-create-biomes-for-a-map/11241 "2019-05-30T00:19:21Z")

</div>

I currently am making some sort of map with biomes, I am attempting to use noise. I only know who to make simplex and perlin noise. I know there are many ways to make it so your noise does not repeat on itself… Right now…

---

## [Hi! I need some help in spawning ellipses at a set interval!](https://discourse.processing.org/t/hi-i-need-some-help-in-spawning-ellipses-at-a-set-interval/11691)

<div class="topic-metadata">

**Author:** [@imBrinCKER](https://discourse.processing.org/u/imBrinCKER)\
**Replies:** 17\
**Last updated:** [May 29, 2019, 11:12pm UTC](https://discourse.processing.org/t/hi-i-need-some-help-in-spawning-ellipses-at-a-set-interval/11691 "2019-05-29T23:12:08Z")

</div>

Hi, I was able to create the functionality of almost everything in the game I’m making, except the spawning of the orbs at a set interval. I looked up some forums and attempted multiple methods, but I’m stuck. Essentiall…

---

## [Pass the sketchname like a final](https://discourse.processing.org/t/pass-the-sketchname-like-a-final/11654)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 14\
**Last updated:** [May 29, 2019, 6:43pm UTC](https://discourse.processing.org/t/pass-the-sketchname-like-a-final/11654 "2019-05-29T18:43:57Z")

</div>

I try to pass my sketch name like a final but i don’t find a way to do that, is it possible ? sketch name in my case is call\_class\_itself.pdebut I try to find something more universel. void setup() { println(this.get…

---

## [Reading Arduino Pin](https://discourse.processing.org/t/reading-arduino-pin/11682)

<div class="topic-metadata">

**Author:** [@Aryn](https://discourse.processing.org/u/Aryn)\
**Replies:** 1\
**Last updated:** [May 29, 2019, 5:08pm UTC](https://discourse.processing.org/t/reading-arduino-pin/11682 "2019-05-29T17:08:26Z")

</div>

Hello, I’m working on a project but never used Processing before. I’m having some troubles in reading an Arduino pin state with Processing. I have a LED connected to my PIN13, I opened StandardFirmata in Arduino and set…

---

## [ArrayList interaction only recognizing one instance](https://discourse.processing.org/t/arraylist-interaction-only-recognizing-one-instance/11678)

<div class="topic-metadata">

**Author:** [@Lachieblue](https://discourse.processing.org/u/Lachieblue)\
**Replies:** 3\
**Last updated:** [May 29, 2019, 4:12pm UTC](https://discourse.processing.org/t/arraylist-interaction-only-recognizing-one-instance/11678 "2019-05-29T16:12:22Z")

</div>

Hello, I am trying to create a code that will link circles to squares if they are within a specified distance, I obviously want to expand upon this later but for now this is my code. int numBalls = 15; int numSquares = …

---

## [Sketch set-up - time of actions](https://discourse.processing.org/t/sketch-set-up-time-of-actions/11651)

<div class="topic-metadata">

**Author:** [@aleandrosinatra](https://discourse.processing.org/u/aleandrosinatra)\
**Replies:** 8\
**Last updated:** [May 29, 2019, 10:29am UTC](https://discourse.processing.org/t/sketch-set-up-time-of-actions/11651 "2019-05-29T10:29:45Z")

</div>

Hello guys, i need to help to set a project. I’d like to know how can i write the code by Processing. I don’t understand to set a counter to make some operations. I explain my project; there is a beamer will project a b…

---

## [Having a second window makes the first tiny](https://discourse.processing.org/t/having-a-second-window-makes-the-first-tiny/11667)

<div class="topic-metadata">

**Author:** [@DerekCresswell](https://discourse.processing.org/u/DerekCresswell)\
**Replies:** 0\
**Last updated:** [May 29, 2019, 5:07am UTC](https://discourse.processing.org/t/having-a-second-window-makes-the-first-tiny/11667 "2019-05-29T05:07:35Z")

</div>

Using a SecondApplet class extending PApplet to create a second window. Works great for the second window. But the first window gets really small when I have settings() and draw() in my second class. Why does this happen…

---

## [Drawing fire in processing](https://discourse.processing.org/t/drawing-fire-in-processing/11581)

<div class="topic-metadata">

**Author:** [@Lili1](https://discourse.processing.org/u/Lili1)\
**Replies:** 3\
**Last updated:** [May 29, 2019, 1:55am UTC](https://discourse.processing.org/t/drawing-fire-in-processing/11581 "2019-05-29T01:55:54Z")

</div>

Does anyone know how can I create a fire symbol in processing?

---

## [Trying to recreate undertale in processing](https://discourse.processing.org/t/trying-to-recreate-undertale-in-processing/4809)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 10\
**Last updated:** [May 28, 2019, 5:29pm UTC](https://discourse.processing.org/t/trying-to-recreate-undertale-in-processing/4809 "2019-05-28T17:29:33Z")

</div>

Hi I haven’t used processing for so long and i am kinda new to programming. I decided to challenge myself by trying to recreate the videogame undertale because I thought it would be a fun thing to spend my time on. I hav…

---

## [Alternatives for 3D scanning after Kinect](https://discourse.processing.org/t/alternatives-for-3d-scanning-after-kinect/2132)

<div class="topic-metadata">

**Author:** [@gerome](https://discourse.processing.org/u/gerome)\
**Replies:** 1\
**Last updated:** [May 28, 2019, 4:46pm UTC](https://discourse.processing.org/t/alternatives-for-3d-scanning-after-kinect/2132 "2019-05-28T16:46:36Z")

</div>

Hi, is there any alternative for the kinect sensor which even have a Proc library? I based I a quite big application on it and after MS stopped Kinect I worry about further development of devices, support and availabilit…

---

## [Import and initialize libraries from REPL console in Processing Live Coding (Hot Swap)](https://discourse.processing.org/t/import-and-initialize-libraries-from-repl-console-in-processing-live-coding-hot-swap/6851)

<div class="topic-metadata">

**Author:** [@kesson](https://discourse.processing.org/u/kesson)\
**Replies:** 6\
**Last updated:** [May 28, 2019, 4:36pm UTC](https://discourse.processing.org/t/import-and-initialize-libraries-from-repl-console-in-processing-live-coding-hot-swap/6851 "2019-05-28T16:36:17Z")

</div>

Hello everyone, I am not sure if this question has been asked already, but is there any way to import and initialize libraries from REPL console to a sketch running into Live Coding / Hot Swap Mode? I mean, I am runnin…

---

## [How to filter triangles from Delaunay to match human shape](https://discourse.processing.org/t/how-to-filter-triangles-from-delaunay-to-match-human-shape/11658)

<div class="topic-metadata">

**Author:** [@Dazzid](https://discourse.processing.org/u/Dazzid)\
**Replies:** 1\
**Last updated:** [May 28, 2019, 2:22pm UTC](https://discourse.processing.org/t/how-to-filter-triangles-from-delaunay-to-match-human-shape/11658 "2019-05-28T14:22:40Z")

</div>

I am working in an Interactive project and I am trying to define the correct area inside the body silhouette. The sketch is using OpenCV, Delaunay triangulation and the goal is to add Box2D for the interaction. My ques…

---

## [Time of actions](https://discourse.processing.org/t/time-of-actions/11629)

<div class="topic-metadata">

**Author:** [@aleandrosinatra](https://discourse.processing.org/u/aleandrosinatra)\
**Replies:** 4\
**Last updated:** [May 28, 2019, 8:30am UTC](https://discourse.processing.org/t/time-of-actions/11629 "2019-05-28T08:30:33Z")

</div>

Hello guys, i need to help to set a project. I’d like to know how can i write the code by Processing. I don’t understand to set a counter to make some operations. I explain my project; there is a beamer will project a b…

---

## [\[CLOSED\] Images appearing while using rect()](https://discourse.processing.org/t/closed-images-appearing-while-using-rect/11517)

<div class="topic-metadata">

**Author:** [@YDGames](https://discourse.processing.org/u/YDGames)\
**Replies:** 19\
**Last updated:** [May 28, 2019, 6:00am UTC](https://discourse.processing.org/t/closed-images-appearing-while-using-rect/11517 "2019-05-28T06:00:54Z")

</div>

In my game there are enemies wandering around, their draw() method is simple: if(facingRight) { core.displayBuffer.image(image, x, y + offsetY, 80, 80); } else { …

---

## [How to draw a simple brain sketch in processing?](https://discourse.processing.org/t/how-to-draw-a-simple-brain-sketch-in-processing/11580)

<div class="topic-metadata">

**Author:** [@Lili1](https://discourse.processing.org/u/Lili1)\
**Replies:** 4\
**Last updated:** [May 28, 2019, 5:45am UTC](https://discourse.processing.org/t/how-to-draw-a-simple-brain-sketch-in-processing/11580 "2019-05-28T05:45:40Z")

</div>

Can someone help me in drawing a brain sketch in processing? If I want to put 7 brain sketches on the same page, how can I do that? Thanks

---

## [Voice recognition](https://discourse.processing.org/t/voice-recognition/11563)

<div class="topic-metadata">

**Author:** [@Margu](https://discourse.processing.org/u/Margu)\
**Replies:** 1\
**Last updated:** [May 28, 2019, 5:33am UTC](https://discourse.processing.org/t/voice-recognition/11563 "2019-05-28T05:33:54Z")

</div>

Hello everyone! I’m really new to processing, I’m trying to do a voice recognition patch in which if certain words are said the program display images or text and so on… The voice recognition work, but I think I’m miss…

---

## [Fade in and Fade out shader to video](https://discourse.processing.org/t/fade-in-and-fade-out-shader-to-video/11585)

<div class="topic-metadata">

**Author:** [@karinalopez87](https://discourse.processing.org/u/karinalopez87)\
**Replies:** 5\
**Last updated:** [May 28, 2019, 12:43am UTC](https://discourse.processing.org/t/fade-in-and-fade-out-shader-to-video/11585 "2019-05-28T00:43:28Z")

</div>

Hello, I’m trying to make my shader fade in every 8 - 10 seconds and then fade out and have my video playing in the back. However, I just seem to make it fade in and can’t figure out how to make it fade out. I think ther…

---

## [From Application to OpenProcessing](https://discourse.processing.org/t/from-application-to-openprocessing/11645)

<div class="topic-metadata">

**Author:** [@leejones15](https://discourse.processing.org/u/leejones15)\
**Replies:** 1\
**Last updated:** [May 28, 2019, 12:28am UTC](https://discourse.processing.org/t/from-application-to-openprocessing/11645 "2019-05-28T00:28:35Z")

</div>

Hello, all. I am a CS teacher and wrapped up the year (after using MIT App Inventor) teaching my students to use text-based coding through Processing. I am looking for a platform to share student work that doesn’t invo…

---

## [TCP mail client session in Processing not working](https://discourse.processing.org/t/tcp-mail-client-session-in-processing-not-working/11618)

<div class="topic-metadata">

**Author:** [@Birb](https://discourse.processing.org/u/Birb)\
**Replies:** 7\
**Last updated:** [May 27, 2019, 11:13pm UTC](https://discourse.processing.org/t/tcp-mail-client-session-in-processing-not-working/11618 "2019-05-27T23:13:48Z")

</div>

I’m trying to open a TCP socket with a mail server and then send/read commands, but it isn’t working. After running for several minutes with no response I get the IOException catch error “Couldn’t get I/O for the connect…

---

## [Display and scale text size from .csv file](https://discourse.processing.org/t/display-and-scale-text-size-from-csv-file/11633)

<div class="topic-metadata">

**Author:** [@Darius](https://discourse.processing.org/u/Darius)\
**Replies:** 16\
**Last updated:** [May 27, 2019, 9:27pm UTC](https://discourse.processing.org/t/display-and-scale-text-size-from-csv-file/11633 "2019-05-27T21:27:42Z")

</div>

Hi there, I am stuck again… I am building a small program using a .csv file to display the text information of each row. The program display one row/line of text for each mouse click…so far so good. I then tried to adap…

---

## [Detect if over object when object is zoomed/scaled](https://discourse.processing.org/t/detect-if-over-object-when-object-is-zoomed-scaled/11557)

<div class="topic-metadata">

**Author:** [@mala](https://discourse.processing.org/u/mala)\
**Replies:** 5\
**Last updated:** [May 27, 2019, 5:06pm UTC](https://discourse.processing.org/t/detect-if-over-object-when-object-is-zoomed-scaled/11557 "2019-05-27T17:06:43Z")

</div>

This bascially comes from an attempt at zoom and pan (not using peasyCam ) it’s part of a much bigger project. I have a load of ‘cells’ that are clickable and I want to be able to scale them to ‘simulate’ a zoom in 2D, …

---

## [My camera is not working](https://discourse.processing.org/t/my-camera-is-not-working/9783)

<div class="topic-metadata">

**Author:** [@kripit](https://discourse.processing.org/u/kripit)\
**Replies:** 6\
**Last updated:** [May 27, 2019, 2:48pm UTC](https://discourse.processing.org/t/my-camera-is-not-working/9783 "2019-05-27T14:48:47Z")

</div>

I use processing 3.5.3 on windows7. I launched capture sketch. My camera is recognized in console but no image appeared… Where is the problem?

---

## [How to process the sound of a video?](https://discourse.processing.org/t/how-to-process-the-sound-of-a-video/11487)

<div class="topic-metadata">

**Author:** [@kaotiklabs](https://discourse.processing.org/u/kaotiklabs)\
**Replies:** 3\
**Last updated:** [May 27, 2019, 12:55pm UTC](https://discourse.processing.org/t/how-to-process-the-sound-of-a-video/11487 "2019-05-27T12:55:22Z")

</div>

Hi, I would like to access the movie sound data in order to detect high volume peaks to mark them as highlights. Any way to do it? Preferebly without having to play the whole movie. Thanks

---

## [Two mouse inputs](https://discourse.processing.org/t/two-mouse-inputs/11594)

<div class="topic-metadata">

**Author:** [@Abi](https://discourse.processing.org/u/Abi)\
**Replies:** 8\
**Last updated:** [May 27, 2019, 10:11am UTC](https://discourse.processing.org/t/two-mouse-inputs/11594 "2019-05-27T10:11:23Z")

</div>

I am making a game where I need two different mouse inputs. How can I do that with Processing?

---

## [Print all prime numbers from 1 to n in reverse order](https://discourse.processing.org/t/print-all-prime-numbers-from-1-to-n-in-reverse-order/11575)

<div class="topic-metadata">

**Author:** [@anonomous](https://discourse.processing.org/u/anonomous)\
**Replies:** 8\
**Last updated:** [May 27, 2019, 5:29am UTC](https://discourse.processing.org/t/print-all-prime-numbers-from-1-to-n-in-reverse-order/11575 "2019-05-27T05:29:41Z")

</div>

Hi! I just started learning Processing 3 weeks ago for a class, so I’ve only learned how to use strings/chars, if/else decision structures, and loops so far. I’m stumped on the very last exercise. Here is the assignment,…

---

## [How to run and read the results of command prompt/telnet from a processing sketch?](https://discourse.processing.org/t/how-to-run-and-read-the-results-of-command-prompt-telnet-from-a-processing-sketch/11571)

<div class="topic-metadata">

**Author:** [@Birb](https://discourse.processing.org/u/Birb)\
**Replies:** 5\
**Last updated:** [May 26, 2019, 10:31pm UTC](https://discourse.processing.org/t/how-to-run-and-read-the-results-of-command-prompt-telnet-from-a-processing-sketch/11571 "2019-05-26T22:31:14Z")

</div>

I’d like to run commands on cmd.exe from a processing sketch, reading the results. Is this possible, and is there a most simple example I can take a look at (such as executing dir and then reading the results to an array…

---

## [Gradient Loop Help](https://discourse.processing.org/t/gradient-loop-help/11608)

<div class="topic-metadata">

**Author:** [@Bobby](https://discourse.processing.org/u/Bobby)\
**Replies:** 3\
**Last updated:** [May 26, 2019, 9:12pm UTC](https://discourse.processing.org/t/gradient-loop-help/11608 "2019-05-26T21:12:22Z")

</div>

I am trying to make a background where the screen has rectangles that differ in shades of blue. I have tried putting my colours into an array (ik it not efficient), but i only result to getting 1 shade of blue for all re…

---

## [Real-Time Data from Web](https://discourse.processing.org/t/real-time-data-from-web/11537)

<div class="topic-metadata">

**Author:** [@anon57009815](https://discourse.processing.org/u/anon57009815)\
**Replies:** 4\
**Last updated:** [May 26, 2019, 7:36pm UTC](https://discourse.processing.org/t/real-time-data-from-web/11537 "2019-05-26T19:36:19Z")

</div>

Any help/examples on porting real time data to processing from the Web of satellites or oceans or the environment? Thanks in advance Luis

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

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