# Latest

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

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

**Page:** 94

---

## [How to load a 3D model in Android?](https://discourse.processing.org/t/how-to-load-a-3d-model-in-android/40334)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 8\
**Last updated:** [December 30, 2022, 8:39am UTC](https://discourse.processing.org/t/how-to-load-a-3d-model-in-android/40334 "2022-12-30T08:39:11Z")

</div>

Hola, intento cargar un modelo cualquiera 3d en formato .obj pero aparece sin textura, esto funciona en Processing 4 para Android ya?

---

## [ZXing libraries cannot be detected](https://discourse.processing.org/t/zxing-libraries-cannot-be-detected/40226)

<div class="topic-metadata">

**Author:** [@Crimsic](https://discourse.processing.org/u/Crimsic)\
**Replies:** 5\
**Last updated:** [December 30, 2022, 8:37am UTC](https://discourse.processing.org/t/zxing-libraries-cannot-be-detected/40226 "2022-12-30T08:37:36Z")

</div>

I am unable to figure out how to put these libaries into my folder, I’ve searched everywhere and I’ve tried all I could. I put the “core” folder inside the libaries folder currently. Can anyone help with a solution? Thi…

---

## [How to check a particle system exist or not](https://discourse.processing.org/t/how-to-check-a-particle-system-exist-or-not/40369)

<div class="topic-metadata">

**Author:** [@AlfredChen](https://discourse.processing.org/u/AlfredChen)\
**Replies:** 0\
**Last updated:** [December 30, 2022, 6:48am UTC](https://discourse.processing.org/t/how-to-check-a-particle-system-exist-or-not/40369 "2022-12-30T06:48:02Z")

</div>

Hi everyone here, I’m a newbie learning P5.js to do something interactive. I’m facing a problem with I want to generate a particle system when receive a trigger from microphone. But when the trigger is on, the particle …

---

## [Python visual quality](https://discourse.processing.org/t/python-visual-quality/40360)

<div class="topic-metadata">

**Author:** [@kmll](https://discourse.processing.org/u/kmll)\
**Replies:** 2\
**Last updated:** [December 29, 2022, 7:58pm UTC](https://discourse.processing.org/t/python-visual-quality/40360 "2022-12-29T19:58:20Z")

</div>

I have tested the new version of Processing and tried the Python module. However the visual is not of the same quality as if I use Java. Is this a known issue? def setup(): size(800, 600) stroke(255) backgro…

---

## [Modify PGraphics pixels array to be larger?](https://discourse.processing.org/t/modify-pgraphics-pixels-array-to-be-larger/40348)

<div class="topic-metadata">

**Author:** [@DSW](https://discourse.processing.org/u/DSW)\
**Replies:** 1\
**Last updated:** [December 29, 2022, 12:33am UTC](https://discourse.processing.org/t/modify-pgraphics-pixels-array-to-be-larger/40348 "2022-12-29T00:33:45Z")

</div>

I’m working on a sketch which composites 60 large images into a single extra-large image. However, I’m hitting an ArrayIndexOutOfBounds when I initialize the PGraphics object with the required dimensions (65628 x 35292)…

---

## [Speed up Application](https://discourse.processing.org/t/speed-up-application/40349)

<div class="topic-metadata">

**Author:** [@TechMaster04](https://discourse.processing.org/u/TechMaster04)\
**Replies:** 0\
**Last updated:** [December 28, 2022, 11:57pm UTC](https://discourse.processing.org/t/speed-up-application/40349 "2022-12-28T23:57:57Z")

</div>

Hey Processing Forum! Lately I’ve been working on a simple Photoshop clone in Processing - appropriately named PictureStore. One of its main features is importing a premade image and drawing overtop of it, but I’ve noti…

---

## [Player movement is snappy](https://discourse.processing.org/t/player-movement-is-snappy/40331)

<div class="topic-metadata">

**Author:** [@vinijoncrafts](https://discourse.processing.org/u/vinijoncrafts)\
**Replies:** 4\
**Last updated:** [December 28, 2022, 2:41pm UTC](https://discourse.processing.org/t/player-movement-is-snappy/40331 "2022-12-28T14:41:27Z")

</div>

for example, when W A S D are pressed in quick succession and repeatedly, it sometimes lags opposite to the direction it’s going. Vini vini; void setup() { fullScreen(); vini = new Vini(); } void draw() { backgrou…

---

## [Draw rectangles in Processing from data in serial monitor](https://discourse.processing.org/t/draw-rectangles-in-processing-from-data-in-serial-monitor/40273)

<div class="topic-metadata">

**Author:** [@axeltheodorus](https://discourse.processing.org/u/axeltheodorus)\
**Replies:** 3\
**Last updated:** [December 28, 2022, 12:53pm UTC](https://discourse.processing.org/t/draw-rectangles-in-processing-from-data-in-serial-monitor/40273 "2022-12-28T12:53:48Z")

</div>

I have 2 ultrasonic sensors that i have already programmed to print out 2 values of distance in one string seperated by a coma. The values will then be read by processing and it should display 2 seperate rectangles that …

---

## [STL 3D Model exported into OBJ file](https://discourse.processing.org/t/stl-3d-model-exported-into-obj-file/40293)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 37\
**Last updated:** [December 28, 2022, 3:44am UTC](https://discourse.processing.org/t/stl-3d-model-exported-into-obj-file/40293 "2022-12-28T03:44:36Z")

</div>

Today I exported a .STL 3D model in blender to an .OBJ file. When I loaded the model into Processing.js it was black. I added lighting but it didn’t illuminate the model. Is there an alternative file to export that is be…

---

## [Pictures, pixelated, grids, flow.](https://discourse.processing.org/t/pictures-pixelated-grids-flow/40194)

<div class="topic-metadata">

**Author:** [@Jiang](https://discourse.processing.org/u/Jiang)\
**Replies:** 2\
**Last updated:** [December 28, 2022, 6:04am UTC](https://discourse.processing.org/t/pictures-pixelated-grids-flow/40194 "2022-12-28T06:04:20Z")

</div>

I have seen an interesting effect and would like to ask you what it is called and what code is used. Thank you very much.

---

## [8 directional movement in object](https://discourse.processing.org/t/8-directional-movement-in-object/40317)

<div class="topic-metadata">

**Author:** [@vinijoncrafts](https://discourse.processing.org/u/vinijoncrafts)\
**Replies:** 5\
**Last updated:** [December 27, 2022, 7:05pm UTC](https://discourse.processing.org/t/8-directional-movement-in-object/40317 "2022-12-27T19:05:03Z")

</div>

I need to make my player move in all of 8 directions using W A S D and my code makes some weird stuff when I press more than one key and I don’t know why class Vini { float x = width/2; float y = height/2; float …

---

## [The constructor Capture is undefined](https://discourse.processing.org/t/the-constructor-capture-is-undefined/40327)

<div class="topic-metadata">

**Author:** [@Danii](https://discourse.processing.org/u/Danii)\
**Replies:** 6\
**Last updated:** [December 27, 2022, 6:49pm UTC](https://discourse.processing.org/t/the-constructor-capture-is-undefined/40327 "2022-12-27T18:49:28Z")

</div>

Hi, I’ve been looking for a reason why my code is not working. It does not matter what arguments I put in between parenthesis. The error message is always similar. Please help :frowning: import processing.video.\*; Capt…

---

## [Porting Shadertoy Code to p5.js Shaders but missing colors](https://discourse.processing.org/t/porting-shadertoy-code-to-p5-js-shaders-but-missing-colors/40319)

<div class="topic-metadata">

**Author:** [@Nayah](https://discourse.processing.org/u/Nayah)\
**Replies:** 0\
**Last updated:** [December 27, 2022, 4:41am UTC](https://discourse.processing.org/t/porting-shadertoy-code-to-p5-js-shaders-but-missing-colors/40319 "2022-12-27T04:41:09Z")

</div>

I ported a shader into my p5.js document from shadertoy, following the instruction of p5 references(https://itp-xstory.github.io/p5js-shaders/#/./docs/examples/shadertoy), and it works but the color of the shader is miss…

---

## [Updating the code of a running p5js sketch](https://discourse.processing.org/t/updating-the-code-of-a-running-p5js-sketch/40048)

<div class="topic-metadata">

**Author:** [@AndreasRef](https://discourse.processing.org/u/AndreasRef)\
**Replies:** 7\
**Last updated:** [December 26, 2022, 10:11pm UTC](https://discourse.processing.org/t/updating-the-code-of-a-running-p5js-sketch/40048 "2022-12-26T22:11:37Z")

</div>

Hi I am curious about how to run p5.js code within a running sketch, so the code changes as the program runs? The code should come from a user input (like a text field) or from a function (like an api-call to GPT-3 or s…

---

## [Touchended() + coordinates issue](https://discourse.processing.org/t/touchended-coordinates-issue/40306)

<div class="topic-metadata">

**Author:** [@frex](https://discourse.processing.org/u/frex)\
**Replies:** 2\
**Last updated:** [December 26, 2022, 8:53pm UTC](https://discourse.processing.org/t/touchended-coordinates-issue/40306 "2022-12-26T20:53:41Z")

</div>

Hey Merry Christmas , I modified this code from the coding train with the function touches: and I was trying to change the code to have the color of the bubble changing back to default on touchended(); ( i…

---

## [A\* Algorithm Path Finding running terribly slow on Processing](https://discourse.processing.org/t/a-algorithm-path-finding-running-terribly-slow-on-processing/40314)

<div class="topic-metadata">

**Author:** [@tantrapt](https://discourse.processing.org/u/tantrapt)\
**Replies:** 2\
**Last updated:** [December 26, 2022, 8:39pm UTC](https://discourse.processing.org/t/a-algorithm-path-finding-running-terribly-slow-on-processing/40314 "2022-12-26T20:39:05Z")

</div>

Hi! I’m trying to implement a A\* Path Finding Alghoritm. It’s supposed to iterate over hundreds of Objects to see which one is closest to the target. This implementation works but it takes around 15 seconds for each obje…

---

## [Referencing colour value I defined in the main project again in class after redefining it in class?](https://discourse.processing.org/t/referencing-colour-value-i-defined-in-the-main-project-again-in-class-after-redefining-it-in-class/40308)

<div class="topic-metadata">

**Author:** [@MarkusWiesinger](https://discourse.processing.org/u/MarkusWiesinger)\
**Replies:** 5\
**Last updated:** [December 26, 2022, 6:03pm UTC](https://discourse.processing.org/t/referencing-colour-value-i-defined-in-the-main-project-again-in-class-after-redefining-it-in-class/40308 "2022-12-26T18:03:40Z")

</div>

Hi! Sorry, newcommer to processing, hoping I don’t mess up the guidelines. The story so far: I have a class called “blocks”. The colour, size and position of that box is defined through the main project in its signatur…

---

## [Sending value from maxmsp to p5js through socket.io](https://discourse.processing.org/t/sending-value-from-maxmsp-to-p5js-through-socket-io/40312)

<div class="topic-metadata">

**Author:** [@AlfredChen](https://discourse.processing.org/u/AlfredChen)\
**Replies:** 3\
**Last updated:** [December 26, 2022, 3:19pm UTC](https://discourse.processing.org/t/sending-value-from-maxmsp-to-p5js-through-socket-io/40312 "2022-12-26T15:19:01Z")

</div>

Goal: send radius value from maxmsp to p5js through socket.io Current State: testing with index.html works well, but when changed to p5js client, I can’t see the result or reaction. socket.io server part const express…

---

## [PGraphics clear() is not working?](https://discourse.processing.org/t/pgraphics-clear-is-not-working/40296)

<div class="topic-metadata">

**Author:** [@FaisalKhatri](https://discourse.processing.org/u/FaisalKhatri)\
**Replies:** 7\
**Last updated:** [December 25, 2022, 8:10pm UTC](https://discourse.processing.org/t/pgraphics-clear-is-not-working/40296 "2022-12-25T20:10:38Z")

</div>

I’m trying to clear pixels in PGraphics object. It’s not working? or am I missing something? Here’s a little code for illustration. PGraphics pg; void setup() { size(600, 600); background(0); fill(255); stroke(…

---

## [Import {OPEN} from "./p5"; is giving an error](https://discourse.processing.org/t/import-open-from-p5-is-giving-an-error/40302)

<div class="topic-metadata">

**Author:** [@rfresh737](https://discourse.processing.org/u/rfresh737)\
**Replies:** 0\
**Last updated:** [December 25, 2022, 7:59pm UTC](https://discourse.processing.org/t/import-open-from-p5-is-giving-an-error/40302 "2022-12-25T19:59:30Z")

</div>

I’m trying to use the ARC() function with the ending optional OPEN constant. I’m getting the error: “Uncaught SyntaxError: ambiguous indirect export: OPEN” I’m using webStorm where I get this error inside their IDE. If…

---

## [loadShape() cannot find .obj file in data folder](https://discourse.processing.org/t/loadshape-cannot-find-obj-file-in-data-folder/37745)

<div class="topic-metadata">

**Author:** [@miiguell](https://discourse.processing.org/u/miiguell)\
**Replies:** 10\
**Last updated:** [December 25, 2022, 7:00pm UTC](https://discourse.processing.org/t/loadshape-cannot-find-obj-file-in-data-folder/37745 "2022-12-25T19:00:02Z")

</div>

I’m trying to import a 3D model of a space shuttle but processing is giving me a really hard time doing this for some reason. I watched examples and even opened the .OBJ file on ym computer and it renders nicely but proc…

---

## [WinRegistry not working anymore in Processing 4](https://discourse.processing.org/t/winregistry-not-working-anymore-in-processing-4/40258)

<div class="topic-metadata">

**Author:** [@Martin\_The\_Sun](https://discourse.processing.org/u/Martin_The_Sun)\
**Replies:** 9\
**Last updated:** [December 25, 2022, 7:50am UTC](https://discourse.processing.org/t/winregistry-not-working-anymore-in-processing-4/40258 "2022-12-25T07:50:09Z")

</div>

I was using java code to do file association for my software in Window platform. The class is called WinRegistry which can be commonly found online. The code worked well when I develop my software in Processing 3.5.4 but…

---

## [Truchet pattern 3D height map from blurred image](https://discourse.processing.org/t/truchet-pattern-3d-height-map-from-blurred-image/39492)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 5\
**Last updated:** [December 25, 2022, 3:33am UTC](https://discourse.processing.org/t/truchet-pattern-3d-height-map-from-blurred-image/39492 "2022-12-25T03:33:35Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I would like to create a 3D heightmap of a blurred image out of the following truchet pattern grid (via “Processing: Creative Coding and Generat…

---

## [Simple Table for Android](https://discourse.processing.org/t/simple-table-for-android/40291)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 0\
**Last updated:** [December 24, 2022, 6:15pm UTC](https://discourse.processing.org/t/simple-table-for-android/40291 "2022-12-24T18:15:57Z")

</div>

This demo illustrates a custom Android table constructed from a grid of text views. It is for display only; dynamically resizing columns or selecting items is not supported. import android.app.Activity; import android.…

---

## [Fade in and fade out text, on change, within Array](https://discourse.processing.org/t/fade-in-and-fade-out-text-on-change-within-array/40107)

<div class="topic-metadata">

**Author:** [@JonnieNightTime](https://discourse.processing.org/u/JonnieNightTime)\
**Replies:** 17\
**Last updated:** [December 24, 2022, 7:49am UTC](https://discourse.processing.org/t/fade-in-and-fade-out-text-on-change-within-array/40107 "2022-12-24T07:49:13Z")

</div>

I’m doing something wrong here - it almost does what I want - but how can I make this fade in / fade out only when I change the Bank array index? - right now my text fades in and out without being aware of the conditiona…

---

## [Clear Download Instructions for Processing on Raspberry Pi 4](https://discourse.processing.org/t/clear-download-instructions-for-processing-on-raspberry-pi-4/40264)

<div class="topic-metadata">

**Author:** [@hhaudio](https://discourse.processing.org/u/hhaudio)\
**Replies:** 1\
**Last updated:** [December 23, 2022, 6:47pm UTC](https://discourse.processing.org/t/clear-download-instructions-for-processing-on-raspberry-pi-4/40264 "2022-12-23T18:47:01Z")

</div>

Hi, I can anyone link me to a site with clear download instructions to get processing working on the Raspberry Pi 4? So far I’ve gone to sites from the Processing Foundation and the Raspberry Pi foundation, and both have…

---

## [Need help in creating lasers for this spaceship! (laser beams, laser rays)](https://discourse.processing.org/t/need-help-in-creating-lasers-for-this-spaceship-laser-beams-laser-rays/40236)

<div class="topic-metadata">

**Author:** [@Envyy2020](https://discourse.processing.org/u/Envyy2020)\
**Replies:** 3\
**Last updated:** [December 23, 2022, 4:25pm UTC](https://discourse.processing.org/t/need-help-in-creating-lasers-for-this-spaceship-laser-beams-laser-rays/40236 "2022-12-23T16:25:29Z")

</div>

I need to create a spaceship that shoots lasers from the tip of the spaceship and goes up when the mouse is clicked. The lasers just need to go vertically upwards, that’s it. I HAVE SPENT HOURS trying to figure out how …

---

## [Processing don't open with MacOS M1](https://discourse.processing.org/t/processing-dont-open-with-macos-m1/40214)

<div class="topic-metadata">

**Author:** [@Jota](https://discourse.processing.org/u/Jota)\
**Replies:** 10\
**Last updated:** [December 23, 2022, 4:12pm UTC](https://discourse.processing.org/t/processing-dont-open-with-macos-m1/40214 "2022-12-23T16:12:54Z")

</div>

hello, I started using processing a little while ago. from one day to another the program did not open anymore. I already restarted, reinstalled… I didn’t find any solution on the internet. The program simply opens, fl…

---

## [The function selectInput() not supported in Android mode?](https://discourse.processing.org/t/the-function-selectinput-not-supported-in-android-mode/40259)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 8\
**Last updated:** [December 23, 2022, 2:28pm UTC](https://discourse.processing.org/t/the-function-selectinput-not-supported-in-android-mode/40259 "2022-12-23T14:28:39Z")

</div>

This sketch works in Java mode, but when I try to run it in Android mode, I get this error: The function "selectInput(String,String)" does not exist According to the “Reference” page on the Processing for Android web s…

---

## [HELP (stupid and mysterious?) format error - For structure within a MIDI responsive sketch](https://discourse.processing.org/t/help-stupid-and-mysterious-format-error-for-structure-within-a-midi-responsive-sketch/40266)

<div class="topic-metadata">

**Author:** [@xiu](https://discourse.processing.org/u/xiu)\
**Replies:** 6\
**Last updated:** [December 23, 2022, 2:18pm UTC](https://discourse.processing.org/t/help-stupid-and-mysterious-format-error-for-structure-within-a-midi-responsive-sketch/40266 "2022-12-23T14:18:12Z")

</div>

Good evening, I am a total newbie. I followed this tutorial: https://www.youtube.com/watch?v=L7AU2KAM0UE&t=274s as the basis for a sketch that process MIDI input. Now I wanted to assign specific colors to specific pi…

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

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