# Processing

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

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

**Page:** 242

---

## [Request to update "good-first-issue" labels](https://discourse.processing.org/t/request-to-update-good-first-issue-labels/17320)

<div class="topic-metadata">

**Author:** [@mariovimal](https://discourse.processing.org/u/mariovimal)\
**Replies:** 0\
**Last updated:** [January 24, 2020, 8:15pm UTC](https://discourse.processing.org/t/request-to-update-good-first-issue-labels/17320 "2020-01-24T20:15:21Z")

</div>

Hello, I recently got to know Processing and loved working with Processing Android. I was hoping that I could start contributing to Processing Android and I got the setup done. It would be great if someone could update…

---

## [Changing color according to the y variable](https://discourse.processing.org/t/changing-color-according-to-the-y-variable/17315)

<div class="topic-metadata">

**Author:** [@PhilRandom](https://discourse.processing.org/u/PhilRandom)\
**Replies:** 6\
**Last updated:** [January 24, 2020, 7:20pm UTC](https://discourse.processing.org/t/changing-color-according-to-the-y-variable/17315 "2020-01-24T19:20:37Z")

</div>

How should one go about changing the color according to the y variable, an ombré of sorts? Please and Thank You Best, Phil

---

## [Convert into arraylist to add elements](https://discourse.processing.org/t/convert-into-arraylist-to-add-elements/17317)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 1\
**Last updated:** [January 24, 2020, 6:31pm UTC](https://discourse.processing.org/t/convert-into-arraylist-to-add-elements/17317 "2020-01-24T18:31:34Z")

</div>

Hi, I am working with a code where there is a defined number of elements N\_ATOMS proportionate to the screen size. I would like to add elements using MousePressed. However, there is no ArrayList in the code and I am not…

---

## [Problem with coding](https://discourse.processing.org/t/problem-with-coding/17295)

<div class="topic-metadata">

**Author:** [@christiank79](https://discourse.processing.org/u/christiank79)\
**Replies:** 5\
**Last updated:** [January 24, 2020, 4:02pm UTC](https://discourse.processing.org/t/problem-with-coding/17295 "2020-01-24T16:02:41Z")

</div>

Hello, I have a problem with coding about AxiDraw: StippleGen,line number 316; See pic: What can I do? Thank you. Christian

---

## [Arcball Library error](https://discourse.processing.org/t/arcball-library-error/17292)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 3\
**Last updated:** [January 24, 2020, 11:15am UTC](https://discourse.processing.org/t/arcball-library-error/17292 "2020-01-24T11:15:50Z")

</div>

I tried to use the Arcball library https://github.com/RandomEtc/processing-arcball I get the error: java.lang.NoSuchMethodError:processing.core.PApplet.registerMouseEvent(Ljava/lang/Object;)V Does this mean a core proc…

---

## [Unable to open Processing](https://discourse.processing.org/t/unable-to-open-processing/17300)

<div class="topic-metadata">

**Author:** [@Itgotworse26](https://discourse.processing.org/u/Itgotworse26)\
**Replies:** 2\
**Last updated:** [January 24, 2020, 7:36am UTC](https://discourse.processing.org/t/unable-to-open-processing/17300 "2020-01-24T07:36:54Z")

</div>

Hello all. I recently downloaded Processing. However, every time I open it, I get this error: Does anybody know what this error means and how to fix it?

---

## [Clock project (Urgent please)](https://discourse.processing.org/t/clock-project-urgent-please/17298)

<div class="topic-metadata">

**Author:** [@laura](https://discourse.processing.org/u/laura)\
**Replies:** 4\
**Last updated:** [January 24, 2020, 7:28am UTC](https://discourse.processing.org/t/clock-project-urgent-please/17298 "2020-01-24T07:28:30Z")

</div>

Hello everyone, I have to create a clock for my animation class and I have some issues with processing. It’s the first time I’m using this app… Please if someone can help me, I want to create a line for every minute th…

---

## [Maximum size of a method in Processing](https://discourse.processing.org/t/maximum-size-of-a-method-in-processing/17136)

<div class="topic-metadata">

**Author:** [@Thomas](https://discourse.processing.org/u/Thomas)\
**Replies:** 29\
**Last updated:** [January 24, 2020, 2:11am UTC](https://discourse.processing.org/t/maximum-size-of-a-method-in-processing/17136 "2020-01-24T02:11:12Z")

</div>

Hi all, I am analysing the heat transfer through a satellite in orbit. I have different nodes, which all have a certain temperature, for which the formulas I obtained via Matlab (which can handle them just fine). I calc…

---

## [Creating an object from a class](https://discourse.processing.org/t/creating-an-object-from-a-class/17296)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 2\
**Last updated:** [January 23, 2020, 11:27pm UTC](https://discourse.processing.org/t/creating-an-object-from-a-class/17296 "2020-01-23T23:27:30Z")

</div>

hi, I would like to use the mousePressed function to create new objects from a class at the location of the mouse. But the class itself seems complicated (I’m working on an example I found). When I type: void mousePres…

---

## [Objects and class objects cannot be converted?](https://discourse.processing.org/t/objects-and-class-objects-cannot-be-converted/17276)

<div class="topic-metadata">

**Author:** [@Edudmas](https://discourse.processing.org/u/Edudmas)\
**Replies:** 3\
**Last updated:** [January 23, 2020, 10:55pm UTC](https://discourse.processing.org/t/objects-and-class-objects-cannot-be-converted/17276 "2020-01-23T22:55:21Z")

</div>

I don’t want to muck up the page, so there will be a pastebin at the bottom with my code on it. I am trying to create a HashMap and create multiple objects of a ‘Car’ class depending on the variable entered into my ‘Tra…

---

## [Main thread task context API (LWJGL)](https://discourse.processing.org/t/main-thread-task-context-api-lwjgl/17226)

<div class="topic-metadata">

**Author:** [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Replies:** 3\
**Last updated:** [January 23, 2020, 7:21pm UTC](https://discourse.processing.org/t/main-thread-task-context-api-lwjgl/17226 "2020-01-23T19:21:43Z")

</div>

I’ve no idea why this issue was closed - https://github.com/processing/processing4/issues/65 It makes trying to contribute to any development and discussion on Processing development exceedingly frustrating! I’ve been …

---

## [Action when mouse is on object](https://discourse.processing.org/t/action-when-mouse-is-on-object/17277)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 2\
**Last updated:** [January 23, 2020, 5:18pm UTC](https://discourse.processing.org/t/action-when-mouse-is-on-object/17277 "2020-01-23T17:18:59Z")

</div>

Hi, I now have a script with objects (i’m using Fisica library). I would like to have two classes of circles. When the mouse in on a circle, something happens to the other (ex. it scales up). I just don’t know how to co…

---

## [Mixing colours in Processing](https://discourse.processing.org/t/mixing-colours-in-processing/17280)

<div class="topic-metadata">

**Author:** [@Kate](https://discourse.processing.org/u/Kate)\
**Replies:** 4\
**Last updated:** [January 23, 2020, 12:21pm UTC](https://discourse.processing.org/t/mixing-colours-in-processing/17280 "2020-01-23T12:21:18Z")

</div>

What should I use to create such gradient in the text?

---

## [Random numbers 1-13 that don't repeat more than once](https://discourse.processing.org/t/random-numbers-1-13-that-dont-repeat-more-than-once/17269)

<div class="topic-metadata">

**Author:** [@jonnystockham](https://discourse.processing.org/u/jonnystockham)\
**Replies:** 4\
**Last updated:** [January 23, 2020, 8:40am UTC](https://discourse.processing.org/t/random-numbers-1-13-that-dont-repeat-more-than-once/17269 "2020-01-23T08:40:45Z")

</div>

Is it possible to randomly generate an int value going 1-13 and not make the numbers repeat more than once during this sequence?

---

## [Java Processing](https://discourse.processing.org/t/java-processing/17141)

<div class="topic-metadata">

**Author:** [@gerome](https://discourse.processing.org/u/gerome)\
**Replies:** 7\
**Last updated:** [January 20, 2020, 7:32am UTC](https://discourse.processing.org/t/java-processing/17141 "2020-01-20T07:32:21Z")

</div>

Hello, after building a huge project in processing the last years I am looking for a way to store the pure algorithmic code parts out in Java files. Then I want to integrate these files as ressources in Processing. I th…

---

## [Convert text to PShape?](https://discourse.processing.org/t/convert-text-to-pshape/15552)

<div class="topic-metadata">

**Author:** [@hi.ke](https://discourse.processing.org/u/hi.ke)\
**Replies:** 6\
**Last updated:** [January 22, 2020, 6:37pm UTC](https://discourse.processing.org/t/convert-text-to-pshape/15552 "2020-01-22T18:37:58Z")

</div>

Hi out there :wave: i was wondering if it s possible to put a text with a specific size and font into a PShape object. i am working on a sketch, that has some text elements, floating and bouncing around. i am not happy…

---

## [Modularity of Core in Processing 4 #JPMS](https://discourse.processing.org/t/modularity-of-core-in-processing-4-jpms/17224)

<div class="topic-metadata">

**Author:** [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Replies:** 2\
**Last updated:** [January 22, 2020, 5:13pm UTC](https://discourse.processing.org/t/modularity-of-core-in-processing-4-jpms/17224 "2020-01-22T17:13:18Z")

</div>

Moving a discussion here as requested - https://github.com/processing/processing4/issues/63 I’m currently working on a fork (for PraxisLIVE / Codelerity) splitting up Processing Core, modularizing and pushing to Maven …

---

## [2D Array of TreeMaps wont access the intValue()](https://discourse.processing.org/t/2d-array-of-treemaps-wont-access-the-intvalue/17245)

<div class="topic-metadata">

**Author:** [@tribblesontoast](https://discourse.processing.org/u/tribblesontoast)\
**Replies:** 2\
**Last updated:** [January 22, 2020, 7:01am UTC](https://discourse.processing.org/t/2d-array-of-treemaps-wont-access-the-intvalue/17245 "2020-01-22T07:01:04Z")

</div>

Hi all, I’m programmatically categorising colours in an image. I’m storing the colours and their values(frequency that they turn up) in a TreeMap. I’m using a single TreeMap for each colour range (ROYGBIV). What i’m sp…

---

## [Assigning an Image to a Keyrelease](https://discourse.processing.org/t/assigning-an-image-to-a-keyrelease/17167)

<div class="topic-metadata">

**Author:** [@Dubs](https://discourse.processing.org/u/Dubs)\
**Replies:** 21\
**Last updated:** [January 22, 2020, 7:20am UTC](https://discourse.processing.org/t/assigning-an-image-to-a-keyrelease/17167 "2020-01-22T07:20:58Z")

</div>

Relatively new to coding… and by that I mean I’ve never done it before. Our assignment is to assign different functions to the number keys. In the example code given, our professor assigned text to pop up when you press…

---

## [Coding help with questions](https://discourse.processing.org/t/coding-help-with-questions/17177)

<div class="topic-metadata">

**Author:** [@neptoonsz](https://discourse.processing.org/u/neptoonsz)\
**Replies:** 9\
**Last updated:** [January 21, 2020, 11:59pm UTC](https://discourse.processing.org/t/coding-help-with-questions/17177 "2020-01-21T23:59:25Z")

</div>

I’ve been trying (for a while now) to add in a fill in the blank type question into my quiz but whenever I try to add in the specified code for the fill in the blank type of question: the code doesn’t work together with …

---

## [Enable collisisons](https://discourse.processing.org/t/enable-collisisons/17231)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 1\
**Last updated:** [January 21, 2020, 11:32pm UTC](https://discourse.processing.org/t/enable-collisisons/17231 "2020-01-21T23:32:50Z")

</div>

Hi, I currently have a script in which some pixels are bouncing all over the screen with a damping effect and I can draw lines. I would like to find a way to make the pixels bounce on the lines (the lines would become o…

---

## [I need help for a school project](https://discourse.processing.org/t/i-need-help-for-a-school-project/17227)

<div class="topic-metadata">

**Author:** [@linnd](https://discourse.processing.org/u/linnd)\
**Replies:** 11\
**Last updated:** [January 21, 2020, 3:19pm UTC](https://discourse.processing.org/t/i-need-help-for-a-school-project/17227 "2020-01-21T15:19:36Z")

</div>

Hi guys, For my school project we have to do an assignment with the processing program. I have made two things but I want to combine them but I’m not advanced enough to do so since I’ve just started a few weeks ago. Th…

---

## [How to do this video?](https://discourse.processing.org/t/how-to-do-this-video/17019)

<div class="topic-metadata">

**Author:** [@asa2332](https://discourse.processing.org/u/asa2332)\
**Replies:** 39\
**Last updated:** [January 21, 2020, 1:20pm UTC](https://discourse.processing.org/t/how-to-do-this-video/17019 "2020-01-21T13:20:17Z")

</div>

2.

---

## [Processing Network HTTP Request Help](https://discourse.processing.org/t/processing-network-http-request-help/17069)

<div class="topic-metadata">

**Author:** [@biran4454](https://discourse.processing.org/u/biran4454)\
**Replies:** 3\
**Last updated:** [January 20, 2020, 7:36pm UTC](https://discourse.processing.org/t/processing-network-http-request-help/17069 "2020-01-20T19:36:22Z")

</div>

Hello! I have been creating a program in Processing Java to get the HTML of a site with HTTP GET in the Networking Library. I followed the instructions in the Processing Network Tutorial, but it only shows how to get th…

---

## [Gimbals, quaternions, and manual rotation](https://discourse.processing.org/t/gimbals-quaternions-and-manual-rotation/17065)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 22\
**Last updated:** [January 20, 2020, 6:19pm UTC](https://discourse.processing.org/t/gimbals-quaternions-and-manual-rotation/17065 "2020-01-20T18:19:24Z")

</div>

I want to sketch a gimbal. It will be similar to this: \<https://www.openprocessing.org/sketch/414889\> by @behreajj I have no problem with drawing the torus, nor (yet) with the spatial rotations. I want to manually rota…

---

## [Creating obstacles in an existing script](https://discourse.processing.org/t/creating-obstacles-in-an-existing-script/17190)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 4\
**Last updated:** [January 20, 2020, 5:30pm UTC](https://discourse.processing.org/t/creating-obstacles-in-an-existing-script/17190 "2020-01-20T17:30:24Z")

</div>

Hi, I am currently working on the following script studying the effects of ‘‘waves’’. I would like to add controls that could modify the waves’ behaviour. Two things I would like to do: Find a way to update the scree…

---

## [Receive msg - hamzeen smsP5](https://discourse.processing.org/t/receive-msg-hamzeen-smsp5/17209)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 0\
**Last updated:** [January 20, 2020, 4:53pm UTC](https://discourse.processing.org/t/receive-msg-hamzeen-smsp5/17209 "2020-01-20T16:53:24Z")

</div>

Hi, I would like to use the code to send sms from any phone to my code and randomly display the text on the screen. But I don’t know how to set the code (now it says Huawei, should I change line 20 to match a particular…

---

## [PImage and img=null;](https://discourse.processing.org/t/pimage-and-img-null/17187)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 7\
**Last updated:** [January 20, 2020, 9:37am UTC](https://discourse.processing.org/t/pimage-and-img-null/17187 "2020-01-20T09:37:06Z")

</div>

I cobbled this together from something @Chrisir once wrote. I only have one small question. What, if anything, does img=null; do? It is at the end of the setup() block. PShape globe; PImage img; void setup() { size …

---

## [Try...catch (ConnectException e) seems to be missing](https://discourse.processing.org/t/try-catch-connectexception-e-seems-to-be-missing/16524)

<div class="topic-metadata">

**Author:** [@pacolux](https://discourse.processing.org/u/pacolux)\
**Replies:** 5\
**Last updated:** [January 20, 2020, 4:37am UTC](https://discourse.processing.org/t/try-catch-connectexception-e-seems-to-be-missing/16524 "2020-01-20T04:37:34Z")

</div>

import java.net.\*; XML xml; void setup() { try{ xml = loadXML("http://192.168.24.50/tmp/latestsampledata\_u.xml"); } catch (ConnectException e) {println("a bad thing happened");} } Using this abov…

---

## [Need help for a simple game](https://discourse.processing.org/t/need-help-for-a-simple-game/17128)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 6\
**Last updated:** [January 19, 2020, 8:37pm UTC](https://discourse.processing.org/t/need-help-for-a-simple-game/17128 "2020-01-19T20:37:42Z")

</div>

Hi, I am an architecture student and I need to develop a simple game for a project, but I never coded. Here is what I need to do (in Java): -I want three shapes of different color blue-yellow-red to move in the screen …

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

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