# Latest

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

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

**Page:** 618

---

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

---

## [Using Sound in Android](https://discourse.processing.org/t/using-sound-in-android/762)

<div class="topic-metadata">

**Author:** [@CrispyCabot](https://discourse.processing.org/u/CrispyCabot)\
**Replies:** 3\
**Last updated:** [June 7, 2018, 1:45pm UTC](https://discourse.processing.org/t/using-sound-in-android/762 "2018-06-07T13:45:39Z")

</div>

I’m trying to use apwidgets and I don’t understand why what I’m doing isn’t working. I downloaded apwidgets\_r44\_for\_Java1.5.zip and extracted it, and moved the apwidgets folder into the libraries folder for processing. …

---

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

---

## [Animation not visible after converting code to typescript](https://discourse.processing.org/t/animation-not-visible-after-converting-code-to-typescript/693)

<div class="topic-metadata">

**Author:** [@mictadlo](https://discourse.processing.org/u/mictadlo)\
**Replies:** 9\
**Last updated:** [June 7, 2018, 4:02am UTC](https://discourse.processing.org/t/animation-not-visible-after-converting-code-to-typescript/693 "2018-06-07T04:02:57Z")

</div>

Hello, I took an example from codingtrain and rewrote it to typescritpt. Unfortunately, it does not show any animation in the browser. Here is the code: src/sketch.ts: import 'p5'; import { Bubble } from "./Bubble"; …

---

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

---

## [Bullet Array not responding](https://discourse.processing.org/t/bullet-array-not-responding/754)

<div class="topic-metadata">

**Author:** [@Carson147](https://discourse.processing.org/u/Carson147)\
**Replies:** 2\
**Last updated:** [June 6, 2018, 7:41pm UTC](https://discourse.processing.org/t/bullet-array-not-responding/754 "2018-06-06T19:41:41Z")

</div>

I created a bullet function in this mini game where an ellipse will spawn on where the player is and move to the right. I then created a console.log command for when the ellipse goes off screen. But nothing seems to happ…

---

## [listFiles() works in Java mode, but can't get it working for Android](https://discourse.processing.org/t/listfiles-works-in-java-mode-but-cant-get-it-working-for-android/750)

<div class="topic-metadata">

**Author:** [@helloDolly](https://discourse.processing.org/u/helloDolly)\
**Replies:** 2\
**Last updated:** [June 6, 2018, 2:03pm UTC](https://discourse.processing.org/t/listfiles-works-in-java-mode-but-cant-get-it-working-for-android/750 "2018-06-06T14:03:03Z")

</div>

String path = "/data/"; File\[\] files = listFiles(path); for (File i: files){ println("file: ", i); } This bit of code is causing me bothers. listFiles(path) just returns null in the Android emulator instead of a list…

---

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

---

## [\[Processing\] Unfolding columns](https://discourse.processing.org/t/processing-unfolding-columns/610)

<div class="topic-metadata">

**Author:** [@WakeMeAtThree](https://discourse.processing.org/u/WakeMeAtThree)\
**Replies:** 6\
**Last updated:** [June 6, 2018, 1:25pm UTC](https://discourse.processing.org/t/processing-unfolding-columns/610 "2018-06-06T13:25:12Z")

</div>

Hello! I’m sharing the latest iteration of my morph explorations. Recently, I’ve been exploring 2D to 2D, 3D to 3D (you can check some of it on my instagram @WakeMeAtThree). This time I wanted to explore 2D to 3D. I sta…

---

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

---

## [Irregular Polygon Generator](https://discourse.processing.org/t/irregular-polygon-generator/742)

<div class="topic-metadata">

**Author:** [@Trilobyte](https://discourse.processing.org/u/Trilobyte)\
**Replies:** 1\
**Last updated:** [June 5, 2018, 11:14pm UTC](https://discourse.processing.org/t/irregular-polygon-generator/742 "2018-06-05T23:14:41Z")

</div>

Hello there! I’m Trilobyte, and I just wanted to share a program I wrote that generates irregular polygons. I wanted to share this code because the topic came up during a Processing question from another user, and I thou…

---

## [createCapture(VIDEO) way to select webcam?](https://discourse.processing.org/t/createcapture-video-way-to-select-webcam/738)

<div class="topic-metadata">

**Author:** [@AndrewCraigie](https://discourse.processing.org/u/AndrewCraigie)\
**Replies:** 1\
**Last updated:** [June 5, 2018, 10:24pm UTC](https://discourse.processing.org/t/createcapture-video-way-to-select-webcam/738 "2018-06-05T22:24:40Z")

</div>

Is there a way to select which webcam to capture video from when a computer has more than one video source available? I’ve looked in the source code but there doesn’t seem to be any way to list available webcams or indic…

---

## [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/latest.md?page=616)

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