# Processing

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

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

**Page:** 389

---

## [Upcoming changes for OpenGL on Mac](https://discourse.processing.org/t/upcoming-changes-for-opengl-on-mac/756)

<div class="topic-metadata">

**Author:** [@justin\_lincoln](https://discourse.processing.org/u/justin_lincoln)\
**Replies:** 3\
**Last updated:** [June 8, 2018, 2:30am UTC](https://discourse.processing.org/t/upcoming-changes-for-opengl-on-mac/756 "2018-06-08T02:30:25Z")

</div>

http://cdm.link/2018/06/apple-to-open-source-cross-platform-gpu-tech-drop-dead/ . Curious if anyone knows what this will mean for Processing? I’m aware that it uses OpenGL. Eventually will it only be available for PC?

---

## [Need to know how to make a draggable Tower of Hanoi game for a school project](https://discourse.processing.org/t/need-to-know-how-to-make-a-draggable-tower-of-hanoi-game-for-a-school-project/617)

<div class="topic-metadata">

**Author:** [@Dankid\_123](https://discourse.processing.org/u/Dankid_123)\
**Replies:** 3\
**Last updated:** [June 8, 2018, 2:25am UTC](https://discourse.processing.org/t/need-to-know-how-to-make-a-draggable-tower-of-hanoi-game-for-a-school-project/617 "2018-06-08T02:25:24Z")

</div>

Hi, I have a school project about to make a Tower of Hanoi game, I’ve made all the rings and stuff, but I have very little knowledge about dragging and other interaction options in Processing. I haven’t finished, but her…

---

## [Multiple parallel animations](https://discourse.processing.org/t/multiple-parallel-animations/780)

<div class="topic-metadata">

**Author:** [@Aravindh](https://discourse.processing.org/u/Aravindh)\
**Replies:** 2\
**Last updated:** [June 7, 2018, 11:14pm UTC](https://discourse.processing.org/t/multiple-parallel-animations/780 "2018-06-07T23:14:00Z")

</div>

Hello, I wanted to ask if it is possible to have multiple parallel animations at the same time in processing. Something likehttps://youtu.be/spUNpyF58BY?t=271. Basically I want two sections displayed at the same time, ea…

---

## [For Loop with Text Array](https://discourse.processing.org/t/for-loop-with-text-array/787)

<div class="topic-metadata">

**Author:** [@deanomite](https://discourse.processing.org/u/deanomite)\
**Replies:** 3\
**Last updated:** [June 7, 2018, 10:28pm UTC](https://discourse.processing.org/t/for-loop-with-text-array/787 "2018-06-07T22:28:15Z")

</div>

Hi there, Am having some trouble figuring this exercise out. It’s a basic grid of text but I want the letters spread out across the rows and columns. Right now all text from the array appears one on top of each other a…

---

## [Keyboard buttons](https://discourse.processing.org/t/keyboard-buttons/717)

<div class="topic-metadata">

**Author:** [@nethaniel](https://discourse.processing.org/u/nethaniel)\
**Replies:** 4\
**Last updated:** [June 7, 2018, 7:34pm UTC](https://discourse.processing.org/t/keyboard-buttons/717 "2018-06-07T19:34:43Z")

</div>

i am trying to make a program that has a two shapes that move around with keyboard buttons i am somewhat new to coding and do not know how to make the keyboard recognize two different keys at the same time this is what i…

---

## [Can't Find NullPointerException](https://discourse.processing.org/t/cant-find-nullpointerexception/778)

<div class="topic-metadata">

**Author:** [@PeachAlmond9077](https://discourse.processing.org/u/PeachAlmond9077)\
**Replies:** 3\
**Last updated:** [June 7, 2018, 7:17pm UTC](https://discourse.processing.org/t/cant-find-nullpointerexception/778 "2018-06-07T19:17:47Z")

</div>

I am trying to code a Snake Game in which the snake eats square orbs When I was running the program a couple of days ago, the program throws a NullPointerException, which is saying that Line 14 in my Snake class is caus…

---

## [Collision and Boundaries help(Mario)?](https://discourse.processing.org/t/collision-and-boundaries-help-mario/716)

<div class="topic-metadata">

**Author:** [@tokyo](https://discourse.processing.org/u/tokyo)\
**Replies:** 14\
**Last updated:** [June 7, 2018, 5:10pm UTC](https://discourse.processing.org/t/collision-and-boundaries-help-mario/716 "2018-06-07T17:10:30Z")

</div>

Hi, I was working on a game and I had a couple questions. First, can you make a boundary by color? For example, I have a Mario and some pipes for him to jump over. The pipes are green so is there any code that prevents M…

---

## [Is it possible to save data on Firebase using Processing 3.3.7?](https://discourse.processing.org/t/is-it-possible-to-save-data-on-firebase-using-processing-3-3-7/776)

<div class="topic-metadata">

**Author:** [@Rkardo581](https://discourse.processing.org/u/Rkardo581)\
**Replies:** 1\
**Last updated:** [June 7, 2018, 5:03pm UTC](https://discourse.processing.org/t/is-it-possible-to-save-data-on-firebase-using-processing-3-3-7/776 "2018-06-07T17:03:14Z")

</div>

I have a software made in processing that saves data in a local sercer ( using xampp) and I made an android app that gets data from Firebase. Is it possible to have the Processing App to send the data to the firebase se…

---

## [Shooting ball from a moving object](https://discourse.processing.org/t/shooting-ball-from-a-moving-object/730)

<div class="topic-metadata">

**Author:** [@ProcessingNoob](https://discourse.processing.org/u/ProcessingNoob)\
**Replies:** 1\
**Last updated:** [June 7, 2018, 4:58am UTC](https://discourse.processing.org/t/shooting-ball-from-a-moving-object/730 "2018-06-07T04:58:57Z")

</div>

Complete noob to processing here. Writing in Java and doing a uni project on shooting aliens with a cannon. I want the cannonball to fire from a cannon, which is moving up and down based on a spaceship’s coordinates. Th…

---

## [How to pace the appearance of recursion objects?](https://discourse.processing.org/t/how-to-pace-the-appearance-of-recursion-objects/748)

<div class="topic-metadata">

**Author:** [@rolando](https://discourse.processing.org/u/rolando)\
**Replies:** 6\
**Last updated:** [June 6, 2018, 8:37pm UTC](https://discourse.processing.org/t/how-to-pace-the-appearance-of-recursion-objects/748 "2018-06-06T20:37:20Z")

</div>

Hello all, This follows up on my previous post still associated with a fractal project Im currently working on. I am aware that the following question may involve arraylists of which Im not yet familiar with, Im hoping…

---

## [Beginner/easy Platformer game example?](https://discourse.processing.org/t/beginner-easy-platformer-game-example/746)

<div class="topic-metadata">

**Author:** [@tokyo](https://discourse.processing.org/u/tokyo)\
**Replies:** 7\
**Last updated:** [June 6, 2018, 1:26pm UTC](https://discourse.processing.org/t/beginner-easy-platformer-game-example/746 "2018-06-06T13:26:44Z")

</div>

Hi, I’ve asked a couple questions here but was wondering if anyone had a platformer game example code that is very simple without much. I just need to get how to place platforms. Thanks!

---

## [Help! Struggling with an IF statement to change color](https://discourse.processing.org/t/help-struggling-with-an-if-statement-to-change-color/687)

<div class="topic-metadata">

**Author:** [@rolando](https://discourse.processing.org/u/rolando)\
**Replies:** 4\
**Last updated:** [June 6, 2018, 6:30am UTC](https://discourse.processing.org/t/help-struggling-with-an-if-statement-to-change-color/687 "2018-06-06T06:30:54Z")

</div>

Hello! I am writing a sketch to animate the drawing of a circle (arc); what I would like to do is to change to a random color every time the full arc is drawn, I have so far gotten to change it once only, how to continue…

---

## [Mario game help! Move background screen when image is moved?](https://discourse.processing.org/t/mario-game-help-move-background-screen-when-image-is-moved/659)

<div class="topic-metadata">

**Author:** [@tokyo](https://discourse.processing.org/u/tokyo)\
**Replies:** 6\
**Last updated:** [June 6, 2018, 6:30am UTC](https://discourse.processing.org/t/mario-game-help-move-background-screen-when-image-is-moved/659 "2018-06-06T06:30:40Z")

</div>

Hi I’m trying to code my own Mario game as a beginner but I’m having a lot of difficulty without a mentor. I needed help moving the background screen so when Mario moves too much to the right or left i want the screen to…

---

## [Resize sketch error](https://discourse.processing.org/t/resize-sketch-error/647)

<div class="topic-metadata">

**Author:** [@clab](https://discourse.processing.org/u/clab)\
**Replies:** 9\
**Last updated:** [June 6, 2018, 1:17am UTC](https://discourse.processing.org/t/resize-sketch-error/647 "2018-06-06T01:17:44Z")

</div>

Hi all I am trying to resize my sketch but I keep getting a horrible error, and I am not sure what to do. import SimpleOpenNI.\*; import processing.opengl.\*; SimpleOpenNI kinect; int closestValue; float minT = 500; floa…

---

## [Check if Objects are overlapping](https://discourse.processing.org/t/check-if-objects-are-overlapping/720)

<div class="topic-metadata">

**Author:** [@mikegiannak](https://discourse.processing.org/u/mikegiannak)\
**Replies:** 12\
**Last updated:** [June 6, 2018, 12:49am UTC](https://discourse.processing.org/t/check-if-objects-are-overlapping/720 "2018-06-06T00:49:22Z")

</div>

I have two calsses where the first one makes rectangles and the other one a ball. How can I check if they are overlapping ? If there where two balls I could use dist() and the radius but now that I have a rectangle and a…

---

## [Loop & bg problem](https://discourse.processing.org/t/loop-bg-problem/739)

<div class="topic-metadata">

**Author:** [@rioma7](https://discourse.processing.org/u/rioma7)\
**Replies:** 12\
**Last updated:** [June 5, 2018, 9:37pm UTC](https://discourse.processing.org/t/loop-bg-problem/739 "2018-06-05T21:37:54Z")

</div>

Hello!!! I have this code: import ddf.minim.\*; import ddf.minim.analysis.\*; Minim minim; FFT fft; AudioInput in; float amp = 20; // used to make signal stronger/weaker float ampWave = 20\*amp; float avgAudi…

---

## [Processing stuck at splash screen, what's next?](https://discourse.processing.org/t/processing-stuck-at-splash-screen-whats-next/729)

<div class="topic-metadata">

**Author:** [@ourocurro](https://discourse.processing.org/u/ourocurro)\
**Replies:** 3\
**Last updated:** [June 5, 2018, 8:56pm UTC](https://discourse.processing.org/t/processing-stuck-at-splash-screen-whats-next/729 "2018-06-05T20:56:30Z")

</div>

Hi I just came here because there is an error of Processing from the downloaded file.I try to open by double clicking processing.exe after unzipping to a new folder. The file opens but after the splash screen it does abs…

---

## [Gravity and collision](https://discourse.processing.org/t/gravity-and-collision/688)

<div class="topic-metadata">

**Author:** [@Neojames](https://discourse.processing.org/u/Neojames)\
**Replies:** 4\
**Last updated:** [June 5, 2018, 8:56pm UTC](https://discourse.processing.org/t/gravity-and-collision/688 "2018-06-05T20:56:16Z")

</div>

Hi everybody, I need help with my first processing project. I need to develop a mario like game for school, but I have some problems How can I set a gravity ? Because when I trie to set y = y+1 in the test, the smiley…

---

## [Conversion p5 -\> Processing](https://discourse.processing.org/t/conversion-p5-processing/368)

<div class="topic-metadata">

**Author:** [@shan](https://discourse.processing.org/u/shan)\
**Replies:** 2\
**Last updated:** [June 5, 2018, 11:27am UTC](https://discourse.processing.org/t/conversion-p5-processing/368 "2018-06-05T11:27:30Z")

</div>

Kindly help me convert p5 coding to processing. Anyone know about it? int VerletPhysics2D = toxi.physics2d.VerletPhysics2D, VerletParticle2D = toxi.physics2d.VerletParticle2D, VerletSpring2D = toxi.physics2d.Verle…

---

## [Item should not go out of the canvas](https://discourse.processing.org/t/item-should-not-go-out-of-the-canvas/695)

<div class="topic-metadata">

**Author:** [@deesha\_nayar](https://discourse.processing.org/u/deesha_nayar)\
**Replies:** 1\
**Last updated:** [June 5, 2018, 11:22am UTC](https://discourse.processing.org/t/item-should-not-go-out-of-the-canvas/695 "2018-06-05T11:22:21Z")

</div>

I made a dart board but it has some problems. Firstly it is not moving with the mouse and is following the mouse but I dont want that. Secondly I do not want my dart board to go out of the canvas Thirdly the size shou…

---

## [Shapes 3D Library: can't get stroke function to work for any shapes](https://discourse.processing.org/t/shapes-3d-library-cant-get-stroke-function-to-work-for-any-shapes/531)

<div class="topic-metadata">

**Author:** [@\_ther](https://discourse.processing.org/u/_ther)\
**Replies:** 8\
**Last updated:** [June 5, 2018, 10:49am UTC](https://discourse.processing.org/t/shapes-3d-library-cant-get-stroke-function-to-work-for-any-shapes/531 "2018-06-05T10:49:51Z")

</div>

according to Shapes 3D Box - Stroke Documentation i am attempting to add stroke to my box correctly, any of the other functions that I try are working (e.g. the .fill()) but not stroke. i want to be able to have no fill …

---

## [Make object run up ramps](https://discourse.processing.org/t/make-object-run-up-ramps/624)

<div class="topic-metadata">

**Author:** [@mikegiannak](https://discourse.processing.org/u/mikegiannak)\
**Replies:** 4\
**Last updated:** [June 5, 2018, 10:17am UTC](https://discourse.processing.org/t/make-object-run-up-ramps/624 "2018-06-05T10:17:17Z")

</div>

So, I am trying to make a 2D game where there is a ball going on forever and there is a black line dividing the screen in two halfs (upper half and lower half). There are also some objects that the ball must dodge. the o…

---

## [Error arduino processing codes](https://discourse.processing.org/t/error-arduino-processing-codes/706)

<div class="topic-metadata">

**Author:** [@la\_bapt](https://discourse.processing.org/u/la_bapt)\
**Replies:** 2\
**Last updated:** [June 5, 2018, 10:12am UTC](https://discourse.processing.org/t/error-arduino-processing-codes/706 "2018-06-05T10:12:05Z")

</div>

Hello processing community, for my first program with processing i have an error when reading the datas from the IMU that i’m coding when i convert my String from the serial port into float values. The error is “ArrayInd…

---

## [Snake game does not stop when snake touches itself](https://discourse.processing.org/t/snake-game-does-not-stop-when-snake-touches-itself/712)

<div class="topic-metadata">

**Author:** [@rayanne](https://discourse.processing.org/u/rayanne)\
**Replies:** 1\
**Last updated:** [June 5, 2018, 2:32am UTC](https://discourse.processing.org/t/snake-game-does-not-stop-when-snake-touches-itself/712 "2018-06-05T02:32:06Z")

</div>

I can not get the game to stop when the snake touches itself Help mee pleasse i have to finish it for tomorrow Thnx int \[\]\[\] fond; //tableau bidimensionnel int X; // position sur l'axe des X de la tete du train int …

---

## [Stop spawning near each other! - mouse input issues with ellipse](https://discourse.processing.org/t/stop-spawning-near-each-other-mouse-input-issues-with-ellipse/653)

<div class="topic-metadata">

**Author:** [@germaine](https://discourse.processing.org/u/germaine)\
**Replies:** 3\
**Last updated:** [June 5, 2018, 12:34am UTC](https://discourse.processing.org/t/stop-spawning-near-each-other-mouse-input-issues-with-ellipse/653 "2018-06-05T00:34:16Z")

</div>

Hello! I have a program that creates a new object that displays an ellipse whenever I click the mouse. I want a new object to be created only if I click outside of an existing ellipse. However currently it creates a new …

---

## [Send value to a object](https://discourse.processing.org/t/send-value-to-a-object/657)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 2\
**Last updated:** [June 4, 2018, 11:43pm UTC](https://discourse.processing.org/t/send-value-to-a-object/657 "2018-06-04T23:43:23Z")

</div>

Hello everybody. I\`ve a problem: I\`ve a array of ellipse Objects. Every object has his variable of size in the constructor. In a second screen, via controlP5, a slider that change the size of every ellipse. What i want …

---

## [YOLO object detection](https://discourse.processing.org/t/yolo-object-detection/598)

<div class="topic-metadata">

**Author:** [@josephh](https://discourse.processing.org/u/josephh)\
**Replies:** 3\
**Last updated:** [June 4, 2018, 8:40pm UTC](https://discourse.processing.org/t/yolo-object-detection/598 "2018-06-04T20:40:13Z")

</div>

Hello guys, Is there a way to do YOLO real time object detection in processing (or P5.js/processing.py) using a library like this : I already know OpenCV for computer vision but it doesn’t include object d…

---

## [Processing on an Udoo x86?](https://discourse.processing.org/t/processing-on-an-udoo-x86/607)

<div class="topic-metadata">

**Author:** [@Rene](https://discourse.processing.org/u/Rene)\
**Replies:** 3\
**Last updated:** [June 4, 2018, 8:28pm UTC](https://discourse.processing.org/t/processing-on-an-udoo-x86/607 "2018-06-04T20:28:39Z")

</div>

Hi, Does anyone have any experience with running Processing on a Udoo x86 ? There’s one discussion I’ve found on the Udoo forum, but that is from about 5 yrs ago. Was hoping someone has more recent experience and is wi…

---

## [Array and object moving and not moving Coding Questions](https://discourse.processing.org/t/array-and-object-moving-and-not-moving-coding-questions/698)

<div class="topic-metadata">

**Author:** [@ryanho123](https://discourse.processing.org/u/ryanho123)\
**Replies:** 1\
**Last updated:** [June 4, 2018, 12:39pm UTC](https://discourse.processing.org/t/array-and-object-moving-and-not-moving-coding-questions/698 "2018-06-04T12:39:58Z")

</div>

Hello, I am new in here. Currently I am trying to figure out how to make 200 circle objects moving left to right for 5 seconds (using array). After 5 second, circle will not be moving for 2 second, then return to moving…

---

## [Pitching a note](https://discourse.processing.org/t/pitching-a-note/555)

<div class="topic-metadata">

**Author:** [@Jusstmusic](https://discourse.processing.org/u/Jusstmusic)\
**Replies:** 7\
**Last updated:** [June 4, 2018, 10:05am UTC](https://discourse.processing.org/t/pitching-a-note/555 "2018-06-04T10:05:10Z")

</div>

Hi guys, For a school project i want to make a laser instrument were as you cut the laser beam, it will play a certain note. Now I know this is possible with some libraries but my question is: Can you change the pitch o…

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

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