# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=400

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

**Page:** 401

---

## [Very large multi-sketch Android Project example](https://discourse.processing.org/t/very-large-multi-sketch-android-project-example/17305)

<div class="topic-metadata">

**Author:** [@tomjuggler](https://discourse.processing.org/u/tomjuggler)\
**Replies:** 0\
**Last updated:** [January 24, 2020, 7:14am UTC](https://discourse.processing.org/t/very-large-multi-sketch-android-project-example/17305 "2020-01-24T07:14:02Z")

</div>

Over the last few years I have been developing an Android app which is based on Processing code. The full project is detailed on my website: https://circusscientist.com (look for SmartPoi, it’s under advanced projects me…

---

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

---

## [Simple 3D Rain Simulation](https://discourse.processing.org/t/simple-3d-rain-simulation/10834)

<div class="topic-metadata">

**Author:** [@humayung](https://discourse.processing.org/u/humayung)\
**Replies:** 3\
**Last updated:** [January 23, 2020, 7:27am UTC](https://discourse.processing.org/t/simple-3d-rain-simulation/10834 "2020-01-23T07:27:46Z")

</div>

i’ve just made simple 3D Rain Simulation system for relaxation. you can see how it performs: bit.ly/2GWCEYT RainSystem rs; // Downpour SplashSystem ss; // Droplet hits the ground, and splashed PVector g…

---

## [NDK San Angeles - Danger!](https://discourse.processing.org/t/ndk-san-angeles-danger/17241)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 0\
**Last updated:** [January 22, 2020, 12:55am UTC](https://discourse.processing.org/t/ndk-san-angeles-danger/17241 "2020-01-22T00:55:11Z")

</div>

Please forgive me for this not directly being a Processing problem… I post it as a warning to fellow Android strugglers and neophytes like myself. I got the google NDK example, San Angeles, to compile and load onto my …

---

## [ml5.js and error with D3D Shaders](https://discourse.processing.org/t/ml5-js-and-error-with-d3d-shaders/17027)

<div class="topic-metadata">

**Author:** [@lobo](https://discourse.processing.org/u/lobo)\
**Replies:** 1\
**Last updated:** [January 22, 2020, 11:26pm UTC](https://discourse.processing.org/t/ml5-js-and-error-with-d3d-shaders/17027 "2020-01-22T23:26:57Z")

</div>

Hi, I’ve got several Thinkpads T420 in my classroom with Intel 3000 graphic card, and exactly the same p5js example make error Failed to create D3D Shaders on some of them, but only on some! Not on all. Why? My code: h…

---

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

---

## [Surely there has to be a better way to do this](https://discourse.processing.org/t/surely-there-has-to-be-a-better-way-to-do-this/17246)

<div class="topic-metadata">

**Author:** [@ZachMcMkay](https://discourse.processing.org/u/ZachMcMkay)\
**Replies:** 2\
**Last updated:** [January 22, 2020, 5:59pm UTC](https://discourse.processing.org/t/surely-there-has-to-be-a-better-way-to-do-this/17246 "2020-01-22T17:59:17Z")

</div>

What i wanted to do was take an array of integers and get all permutations of that array keeping the same length. I was using the array \[1,2,3,4,5\] after trying for a bit i just decided to do it the hard way. However i…

---

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

---

## [Text in WEBGL crashes mobile browsers](https://discourse.processing.org/t/text-in-webgl-crashes-mobile-browsers/17134)

<div class="topic-metadata">

**Author:** [@0\_O\_W\_O\_0](https://discourse.processing.org/u/0_O_W_O_0)\
**Replies:** 1\
**Last updated:** [January 21, 2020, 11:39pm UTC](https://discourse.processing.org/t/text-in-webgl-crashes-mobile-browsers/17134 "2020-01-21T23:39:55Z")

</div>

hello, first time p5js user here i am trying to make a sketch display text in a 3D environment it works just fine on a computer browser, but on mobile devices it crashes the browser. you can try it out here: https://…

---

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

---

## ["Error, disabling serialEvent() for COM3 null" Enviando y recibiendo datos](https://discourse.processing.org/t/error-disabling-serialevent-for-com3-null-enviando-y-recibiendo-datos/17061)

<div class="topic-metadata">

**Author:** [@Priscilla\_van\_Gritte](https://discourse.processing.org/u/Priscilla_van_Gritte)\
**Replies:** 12\
**Last updated:** [January 21, 2020, 4:05pm UTC](https://discourse.processing.org/t/error-disabling-serialevent-for-com3-null-enviando-y-recibiendo-datos/17061 "2020-01-21T16:05:46Z")

</div>

Hola, muchas gracias por la ayuda, he buscado por miles de sitios en hilos con la misma pregunta pero no logro dar con la solución, estoy realizando un proyecto donde tengo que utilizar múltiples sensores y visualizarlos…

---

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

---

## [Variable pollution across objects from class](https://discourse.processing.org/t/variable-pollution-across-objects-from-class/17221)

<div class="topic-metadata">

**Author:** [@marloguer](https://discourse.processing.org/u/marloguer)\
**Replies:** 0\
**Last updated:** [January 21, 2020, 11:46am UTC](https://discourse.processing.org/t/variable-pollution-across-objects-from-class/17221 "2020-01-21T11:46:59Z")

</div>

Hello, Im new to p5.js but am using it via the react-p5-wrapper for data-visualisation within a react webapp… I can successfully render ‘strings’ to screen such that a string starts off-screen-right at a random yPositio…

---

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

---

## [Set Focus to an DOM Input Field](https://discourse.processing.org/t/set-focus-to-an-dom-input-field/17140)

<div class="topic-metadata">

**Author:** [@olafval](https://discourse.processing.org/u/olafval)\
**Replies:** 2\
**Last updated:** [January 21, 2020, 10:01am UTC](https://discourse.processing.org/t/set-focus-to-an-dom-input-field/17140 "2020-01-21T10:01:23Z")

</div>

How is it possible to select an input field directly by code, so that you can start typing right away? I have tried the following commands without success: input.focus(); input.style(‘focus’, true); input.style(‘focu…

---

## [Video auto play](https://discourse.processing.org/t/video-auto-play/17195)

<div class="topic-metadata">

**Author:** [@airinterface](https://discourse.processing.org/u/airinterface)\
**Replies:** 1\
**Last updated:** [January 21, 2020, 4:24am UTC](https://discourse.processing.org/t/video-auto-play/17195 "2020-01-21T04:24:47Z")

</div>

I’m having trouble stopping autoplay. video = createCapture(VIDEO, function( stream ) { console.info("video stream initialized"); video.stop(); }); video.autoplay( false ) ; video…

---

## [Motion Experiment: Pillars](https://discourse.processing.org/t/motion-experiment-pillars/14931)

<div class="topic-metadata">

**Author:** [@ChibiJosh](https://discourse.processing.org/u/ChibiJosh)\
**Replies:** 2\
**Last updated:** [January 21, 2020, 1:42am UTC](https://discourse.processing.org/t/motion-experiment-pillars/14931 "2020-01-21T01:42:19Z")

</div>

An evolving series of motion experiments using a grid of isometric pillars. http://hairlessape.com/upload/pillars/

---

## [New Generative Music made with Processing](https://discourse.processing.org/t/new-generative-music-made-with-processing/16558)

<div class="topic-metadata">

**Author:** [@wrongexit](https://discourse.processing.org/u/wrongexit)\
**Replies:** 15\
**Last updated:** [January 21, 2020, 1:40am UTC](https://discourse.processing.org/t/new-generative-music-made-with-processing/16558 "2020-01-21T01:40:51Z")

</div>

I’ve been experimenting with using Processing to improvise MIDI notes. If you’d like to check out some new music that wrote itself, my SoundCloud page for this project, 39 Angry Tigers, is over here. Thanks so much for…

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=399)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=401)
