# Processing

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

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

**Page:** 184

---

## [Bubble popping animation](https://discourse.processing.org/t/bubble-popping-animation/15341)

<div class="topic-metadata">

**Author:** [@Teljemo](https://discourse.processing.org/u/Teljemo)\
**Replies:** 33\
**Last updated:** [September 16, 2020, 9:16am UTC](https://discourse.processing.org/t/bubble-popping-animation/15341 "2020-09-16T09:16:32Z")

</div>

Hi Me and my son are following Daniel Shiffman’s learn processing guide on YT. We are on creating objects and are want to make a bubble. This bubble is wobbling and rising but we also want it to pop when clicked on. …

---

## [How do I use the encryption (secure) random method?](https://discourse.processing.org/t/how-do-i-use-the-encryption-secure-random-method/23728)

<div class="topic-metadata">

**Author:** [@AntiViral\_Builder](https://discourse.processing.org/u/AntiViral_Builder)\
**Replies:** 1\
**Last updated:** [September 15, 2020, 6:17pm UTC](https://discourse.processing.org/t/how-do-i-use-the-encryption-secure-random-method/23728 "2020-09-15T18:17:01Z")

</div>

So I would just like to know how to generate arrays with a size and number range.

---

## [Separate objects in an ArrayList](https://discourse.processing.org/t/separate-objects-in-an-arraylist/23823)

<div class="topic-metadata">

**Author:** [@yanze03](https://discourse.processing.org/u/yanze03)\
**Replies:** 16\
**Last updated:** [September 15, 2020, 4:41pm UTC](https://discourse.processing.org/t/separate-objects-in-an-arraylist/23823 "2020-09-15T16:41:47Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello fellow processing members, I am working on a project where Iam trying to make a program using an ArrayList. The goal is to have a square…

---

## [Problem with mouseClicked Function](https://discourse.processing.org/t/problem-with-mouseclicked-function/23852)

<div class="topic-metadata">

**Author:** [@lkalotihos](https://discourse.processing.org/u/lkalotihos)\
**Replies:** 2\
**Last updated:** [September 15, 2020, 4:31pm UTC](https://discourse.processing.org/t/problem-with-mouseclicked-function/23852 "2020-09-15T16:31:14Z")

</div>

Hi there, I’m trying to get the ellipses that make up the “interactive eyes” change to a random color when mouse is pressed. I tried fill(random(255), random(255), random(255)); but it doesn’t seem to be working. Wh…

---

## [3D camera rotation](https://discourse.processing.org/t/3d-camera-rotation/23742)

<div class="topic-metadata">

**Author:** [@Kport1](https://discourse.processing.org/u/Kport1)\
**Replies:** 14\
**Last updated:** [September 15, 2020, 6:12am UTC](https://discourse.processing.org/t/3d-camera-rotation/23742 "2020-09-15T06:12:11Z")

</div>

Hello! im trying to create a 3D camera that rotates when mouse is dragged. I created something that works, but the movement feels very strange. Here’s my code: Planet p = new Planet(new PVector(width / 2, height / 2, …

---

## [Java.lang.RuntimeException Error in Processing](https://discourse.processing.org/t/java-lang-runtimeexception-error-in-processing/23860)

<div class="topic-metadata">

**Author:** [@cottonchipper](https://discourse.processing.org/u/cottonchipper)\
**Replies:** 1\
**Last updated:** [September 14, 2020, 8:42pm UTC](https://discourse.processing.org/t/java-lang-runtimeexception-error-in-processing/23860 "2020-09-14T20:42:34Z")

</div>

I’m very new to learning Processing on my own and would like to work with a sketch I found that mimics the old Solari train station timetable displays. I found the sketch here: https://github.com/lukecyca/Solari The ske…

---

## [Why is an ellipse in the wrong spot?](https://discourse.processing.org/t/why-is-an-ellipse-in-the-wrong-spot/23843)

<div class="topic-metadata">

**Author:** [@alejo\_rgb](https://discourse.processing.org/u/alejo_rgb)\
**Replies:** 5\
**Last updated:** [September 14, 2020, 1:24pm UTC](https://discourse.processing.org/t/why-is-an-ellipse-in-the-wrong-spot/23843 "2020-09-14T13:24:56Z")

</div>

Hi Why my code is drawing an ellipse in the top left corner? Circulo\[\] circ = new Circulo\[49\]; void setup() { size(800, 800); for (int i = 0; i \< 48; i++) { circ\[i\] = new Circulo(); } } void draw() { bac…

---

## [Streaming from Processing to a Web Page](https://discourse.processing.org/t/streaming-from-processing-to-a-web-page/23800)

<div class="topic-metadata">

**Author:** [@oduibhdiorma](https://discourse.processing.org/u/oduibhdiorma)\
**Replies:** 2\
**Last updated:** [September 14, 2020, 1:13pm UTC](https://discourse.processing.org/t/streaming-from-processing-to-a-web-page/23800 "2020-09-14T13:13:49Z")

</div>

Has anyone had success streaming from a Processing sketch on a desktop to a website, preferably via NodeJS? Thanks!

---

## [G4P 4.3.3 preview new controls - comments welcome](https://discourse.processing.org/t/g4p-4-3-3-preview-new-controls-comments-welcome/18450)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 8\
**Last updated:** [September 14, 2020, 11:44am UTC](https://discourse.processing.org/t/g4p-4-3-3-preview-new-controls-comments-welcome/18450 "2020-09-14T11:44:49Z")

</div>

The next version of G4P will include 2 new controls based on ideas from this discussion. The controls are the GContolPalette (API) (source code) (video) GSpinner (API) (source code) the GTextField control has also be…

---

## [\[SOLVED\] Running a sketch at a low resolution in fullscreen](https://discourse.processing.org/t/solved-running-a-sketch-at-a-low-resolution-in-fullscreen/2461)

<div class="topic-metadata">

**Author:** [@Upow](https://discourse.processing.org/u/Upow)\
**Replies:** 18\
**Last updated:** [September 14, 2020, 9:59am UTC](https://discourse.processing.org/t/solved-running-a-sketch-at-a-low-resolution-in-fullscreen/2461 "2020-09-14T09:59:25Z")

</div>

Hello everyone, Is there a good way to run a sketch at a low resolution, say with size(640, 480), but then run that low resolution size at a full screen size? In addition it would be important to be able to run on a sec…

---

## [Checking if all elements in an array are the same](https://discourse.processing.org/t/checking-if-all-elements-in-an-array-are-the-same/23708)

<div class="topic-metadata">

**Author:** [@TheEternalDragon](https://discourse.processing.org/u/TheEternalDragon)\
**Replies:** 5\
**Last updated:** [September 14, 2020, 5:59am UTC](https://discourse.processing.org/t/checking-if-all-elements-in-an-array-are-the-same/23708 "2020-09-14T05:59:42Z")

</div>

So I have been trying to get a program to work, the point of the program is to display every image in an arraylist in a random order (taking the mouse as input to go to the next image) and then reset and repeat to do thi…

---

## [\[Help\] g4p library window related to new window](https://discourse.processing.org/t/help-g4p-library-window-related-to-new-window/23499)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [September 14, 2020, 1:46am UTC](https://discourse.processing.org/t/help-g4p-library-window-related-to-new-window/23499 "2020-09-14T01:46:37Z")

</div>

\[Help\] g4p library window related to new window Hello. Thank you for your interest in my problem. I made a new window through the’g4p’ library. It would be nice if the created new window was above the’MAIN Windows prog…

---

## [Player keeps moving with the bullet](https://discourse.processing.org/t/player-keeps-moving-with-the-bullet/23320)

<div class="topic-metadata">

**Author:** [@Cybernet](https://discourse.processing.org/u/Cybernet)\
**Replies:** 3\
**Last updated:** [September 13, 2020, 10:00pm UTC](https://discourse.processing.org/t/player-keeps-moving-with-the-bullet/23320 "2020-09-13T22:00:19Z")

</div>

I have this code, and there’s a player class and a bullet class. But when I shoot a bullet, it moves the player along with it… class Bullet { PVector pos; PVector vel; float rotation; Bullet(PVector pos, PVec…

---

## [Changing color fill with keyPressed in the function](https://discourse.processing.org/t/changing-color-fill-with-keypressed-in-the-function/23828)

<div class="topic-metadata">

**Author:** [@breadstixnsalad](https://discourse.processing.org/u/breadstixnsalad)\
**Replies:** 11\
**Last updated:** [September 13, 2020, 8:31pm UTC](https://discourse.processing.org/t/changing-color-fill-with-keypressed-in-the-function/23828 "2020-09-13T20:31:28Z")

</div>

I am a noob at Processing and looking to make it so that if you press an arrow, t hebackground goes from ‘day’ color to either ‘sunset’ or ‘night’, while hiding the trails left by the moving cloud when it follows your m…

---

## [Running old Processing app with old G4P on latest Mac](https://discourse.processing.org/t/running-old-processing-app-with-old-g4p-on-latest-mac/23792)

<div class="topic-metadata">

**Author:** [@diyoyo](https://discourse.processing.org/u/diyoyo)\
**Replies:** 7\
**Last updated:** [September 13, 2020, 2:56pm UTC](https://discourse.processing.org/t/running-old-processing-app-with-old-g4p-on-latest-mac/23792 "2020-09-13T14:56:49Z")

</div>

Hi, I am having trouble running a 5-year old code that used G4P. I tried installing the old G4P and G4P Builder inside a dedicated folder accessed by a separate install of Processing 3.4, since I also have the latest P…

---

## [Fisica Library removing body collision](https://discourse.processing.org/t/fisica-library-removing-body-collision/10691)

<div class="topic-metadata">

**Author:** [@macarrony00](https://discourse.processing.org/u/macarrony00)\
**Replies:** 2\
**Last updated:** [September 13, 2020, 2:10pm UTC](https://discourse.processing.org/t/fisica-library-removing-body-collision/10691 "2020-09-13T14:10:13Z")

</div>

Hi all, I am starting a new processing project, I need some kind of world physics, for that I am using the Fisica Library. I am trying to add a specific body that do not collide with one of the others, but can’t find a …

---

## [Drag and Drop Boolean Array](https://discourse.processing.org/t/drag-and-drop-boolean-array/23803)

<div class="topic-metadata">

**Author:** [@jaspervb](https://discourse.processing.org/u/jaspervb)\
**Replies:** 6\
**Last updated:** [September 13, 2020, 3:14am UTC](https://discourse.processing.org/t/drag-and-drop-boolean-array/23803 "2020-09-13T03:14:11Z")

</div>

Hello there, I need help with processing. I want to make a drag&drop example in a array of elements. Unfortunaly, it still does not work after struggling in processing. int num = 3; Drag\[\] element = new Drag\[int(num…

---

## [Fullscreen width and height variables returning 100](https://discourse.processing.org/t/fullscreen-width-and-height-variables-returning-100/20351)

<div class="topic-metadata">

**Author:** [@kikomali2517](https://discourse.processing.org/u/kikomali2517)\
**Replies:** 5\
**Last updated:** [September 12, 2020, 7:37pm UTC](https://discourse.processing.org/t/fullscreen-width-and-height-variables-returning-100/20351 "2020-09-12T19:37:59Z")

</div>

Hi! I have seen width and height returning 100 or incorrect values when a sketch is run in fullScreen() many times. Is there a way to get the accurate dimensions of the screen?

---

## [Limiting rotation](https://discourse.processing.org/t/limiting-rotation/23825)

<div class="topic-metadata">

**Author:** [@BACI821](https://discourse.processing.org/u/BACI821)\
**Replies:** 2\
**Last updated:** [September 12, 2020, 5:58pm UTC](https://discourse.processing.org/t/limiting-rotation/23825 "2020-09-12T17:58:36Z")

</div>

Hello Alll, Newbie programmer here (just learning the ropes). I’m trying to create a dash for a boat which runs off arduino. I’m trying to make the UI right now.I need to limit the rotation of my indicator. The indicato…

---

## [Thoroughly seeding random()](https://discourse.processing.org/t/thoroughly-seeding-random/23819)

<div class="topic-metadata">

**Author:** [@somegrue](https://discourse.processing.org/u/somegrue)\
**Replies:** 4\
**Last updated:** [September 12, 2020, 3:00pm UTC](https://discourse.processing.org/t/thoroughly-seeding-random/23819 "2020-09-12T15:00:57Z")

</div>

Hello board, so, I want to generate numbers that are random but, optionally, repeatable. What I gleaned from other threads is that the most straightforward way to do that is along these lines: By default, use random()…

---

## [IDE fails to load](https://discourse.processing.org/t/ide-fails-to-load/23796)

<div class="topic-metadata">

**Author:** [@rhole](https://discourse.processing.org/u/rhole)\
**Replies:** 0\
**Last updated:** [September 11, 2020, 3:43pm UTC](https://discourse.processing.org/t/ide-fails-to-load/23796 "2020-09-11T15:43:27Z")

</div>

I have been using Processing 3 for several years (RPi 3B). Lately I cannot start the IDE. Clicking on the desktop the splash screen flashes, disapperars, and nothing more. When I invoke it from a C program I get error…

---

## [Unrecognized Library](https://discourse.processing.org/t/unrecognized-library/23751)

<div class="topic-metadata">

**Author:** [@Yarmond15](https://discourse.processing.org/u/Yarmond15)\
**Replies:** 4\
**Last updated:** [September 12, 2020, 8:48am UTC](https://discourse.processing.org/t/unrecognized-library/23751 "2020-09-12T08:48:14Z")

</div>

I have managed my way through most the issues but am on what I believe to be the last step. I’m getting an error message that one of my libraries is not recognized. I attached two images, the first is of the error messag…

---

## [Bubble shooter game mechanics](https://discourse.processing.org/t/bubble-shooter-game-mechanics/23774)

<div class="topic-metadata">

**Author:** [@koenterheegde57](https://discourse.processing.org/u/koenterheegde57)\
**Replies:** 1\
**Last updated:** [September 12, 2020, 8:07am UTC](https://discourse.processing.org/t/bubble-shooter-game-mechanics/23774 "2020-09-12T08:07:52Z")

</div>

Hi everybody, I want to recreate the bubbleshooter game but I can’t figure out how to get a ‘bullet’ moving towards my mouse, which will be the direction of the bullet. I tried using the formula y=ax+b and also tried to…

---

## [Processing software not working](https://discourse.processing.org/t/processing-software-not-working/23784)

<div class="topic-metadata">

**Author:** [@jayvaidya](https://discourse.processing.org/u/jayvaidya)\
**Replies:** 5\
**Last updated:** [September 11, 2020, 4:04pm UTC](https://discourse.processing.org/t/processing-software-not-working/23784 "2020-09-11T16:04:57Z")

</div>

I searched but most of the people have issues like the software is crashing after the logo is displayed. But, in my case, I can open the editor and my code. But when I click on the Run button to execute the code, I see…

---

## [P3D and noSmooth(), points disappear](https://discourse.processing.org/t/p3d-and-nosmooth-points-disappear/23770)

<div class="topic-metadata">

**Author:** [@jimyoung](https://discourse.processing.org/u/jimyoung)\
**Replies:** 7\
**Last updated:** [September 11, 2020, 4:15pm UTC](https://discourse.processing.org/t/p3d-and-nosmooth-points-disappear/23770 "2020-09-11T16:15:25Z")

</div>

Hi everyone - I am having a strange bug, and I hope I’m just overlooking something really simple. I’m using the P3D renderer to do opengl-like calls, and I’m not a fan of the antialiasing. However, if I use noSmooth, poi…

---

## [ImageLoader, Could not find a method to load](https://discourse.processing.org/t/imageloader-could-not-find-a-method-to-load/4867)

<div class="topic-metadata">

**Author:** [@seo](https://discourse.processing.org/u/seo)\
**Replies:** 9\
**Last updated:** [September 11, 2020, 10:19am UTC](https://discourse.processing.org/t/imageloader-could-not-find-a-method-to-load/4867 "2020-09-11T10:19:31Z")

</div>

hi! I am using imageloader very well. But sometimes I get an error like this: Could not find a method to load: https: //openclipart.org/download/279040/CigCardHoudanCock.svg. Why is there an error? And even when there …

---

## [Issues on installing Kinect - Cataline osx](https://discourse.processing.org/t/issues-on-installing-kinect-cataline-osx/23781)

<div class="topic-metadata">

**Author:** [@shade594](https://discourse.processing.org/u/shade594)\
**Replies:** 0\
**Last updated:** [September 10, 2020, 7:02pm UTC](https://discourse.processing.org/t/issues-on-installing-kinect-cataline-osx/23781 "2020-09-10T19:02:44Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello everyone. I just started using kinect and facing some issues on install it. I tried every tutorial I’ve seen on the internet and I still…

---

## [Using the recorder and the beat detect simultaneously with minim library](https://discourse.processing.org/t/using-the-recorder-and-the-beat-detect-simultaneously-with-minim-library/23778)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [September 10, 2020, 3:04pm UTC](https://discourse.processing.org/t/using-the-recorder-and-the-beat-detect-simultaneously-with-minim-library/23778 "2020-09-10T15:04:07Z")

</div>

Hello, Maybe I should ask this question the creator of minim library but maybe some can help me. I have mix both example of the minim library, the record and playback and the FrequencyEnergyBeatDetection. The last exa…

---

## [Display trouble](https://discourse.processing.org/t/display-trouble/23777)

<div class="topic-metadata">

**Author:** [@mike\_z](https://discourse.processing.org/u/mike_z)\
**Replies:** 2\
**Last updated:** [September 10, 2020, 4:14pm UTC](https://discourse.processing.org/t/display-trouble/23777 "2020-09-10T16:14:57Z")

</div>

I’m rather new at Processing. It is different from the programing that I’m used to. I’m an old timer that found Arduino and Processing as something to do during retirement. Anyway, I wrote a short routine that should dis…

---

## [Problem with Record and Playback with minim library](https://discourse.processing.org/t/problem-with-record-and-playback-with-minim-library/23680)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 1\
**Last updated:** [September 10, 2020, 12:39pm UTC](https://discourse.processing.org/t/problem-with-record-and-playback-with-minim-library/23680 "2020-09-10T12:39:03Z")

</div>

Hello I have tried the example of the minim library with a laptop MacBook Pro. The program doesn’t record anything whereas with an other software my computer can record. Do I have to set something in Processing? Than…

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

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