# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?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

---

## [Error opening SVG with PShape](https://discourse.processing.org/t/error-opening-svg-with-pshape/23902)

<div class="topic-metadata">

**Author:** [@Zabot](https://discourse.processing.org/u/Zabot)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 11:30am UTC](https://discourse.processing.org/t/error-opening-svg-with-pshape/23902 "2020-09-17T11:30:44Z")

</div>

Hello, I’m getting started with PShape with SVG exported from Illustrator, but i keep always receiving the following error message: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at processing.…

---

## [Delay occurs in real time plotting using threads](https://discourse.processing.org/t/delay-occurs-in-real-time-plotting-using-threads/23885)

<div class="topic-metadata">

**Author:** [@KGS](https://discourse.processing.org/u/KGS)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 7:54am UTC](https://discourse.processing.org/t/delay-occurs-in-real-time-plotting-using-threads/23885 "2020-09-17T07:54:39Z")

</div>

I’m using 7 serial ports with 7 sensors required to be plotted in rela time without any delays. I have used separate thread functions to plot the data. However, after 5 minutes of plotting I have observed there is a dela…

---

## [Processing closes before fully launching. (help me read --l4j-debug)](https://discourse.processing.org/t/processing-closes-before-fully-launching-help-me-read-l4j-debug/23786)

<div class="topic-metadata">

**Author:** [@AndersLind99](https://discourse.processing.org/u/AndersLind99)\
**Replies:** 4\
**Last updated:** [September 17, 2020, 7:21am UTC](https://discourse.processing.org/t/processing-closes-before-fully-launching-help-me-read-l4j-debug/23786 "2020-09-17T07:21:21Z")

</div>

Hello I’m trying to install processing on my desktop but for some reason the program won’t open, i’ve tried the different solutions posted on the troubleshooting site and other posts. but the problem remains. I tried to …

---

## [Different Rendering Output when Processing is used with IntelliJ, please help](https://discourse.processing.org/t/different-rendering-output-when-processing-is-used-with-intellij-please-help/21362)

<div class="topic-metadata">

**Author:** [@Bufofa](https://discourse.processing.org/u/Bufofa)\
**Replies:** 3\
**Last updated:** [September 17, 2020, 3:08am UTC](https://discourse.processing.org/t/different-rendering-output-when-processing-is-used-with-intellij-please-help/21362 "2020-09-17T03:08:50Z")

</div>

Hello I want to use Processing on IntelliJ, so I did the basic setup to keep things working but every time I try to render something, the border of the shapes look jagged. What is interesting is that if I run the same …

---

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

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

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