# Latest

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

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

**Page:** 333

---

## [P5.collide2d vector input feature discussion (please help us figure out the implementation of this new feature!)](https://discourse.processing.org/t/p5-collide2d-vector-input-feature-discussion-please-help-us-figure-out-the-implementation-of-this-new-feature/22028)

<div class="topic-metadata">

**Author:** [@bmoren](https://discourse.processing.org/u/bmoren)\
**Replies:** 0\
**Last updated:** [June 20, 2020, 3:49pm UTC](https://discourse.processing.org/t/p5-collide2d-vector-input-feature-discussion-please-help-us-figure-out-the-implementation-of-this-new-feature/22028 "2020-06-20T15:49:26Z")

</div>

Hi folks! We’re working on some updates to the p5.collide2d library to support vector inputs and I’d love to hear some other people’s thoughts on the best way to implement these new features. If you’re familiar with the …

---

## [Update Android Processing and Serial](https://discourse.processing.org/t/update-android-processing-and-serial/22025)

<div class="topic-metadata">

**Author:** [@cassiobja](https://discourse.processing.org/u/cassiobja)\
**Replies:** 0\
**Last updated:** [June 20, 2020, 1:10pm UTC](https://discourse.processing.org/t/update-android-processing-and-serial/22025 "2020-06-20T13:10:30Z")

</div>

Hi, I need help updating the dependency (usb-serial-for-android) \[ https://github.com/mik3y/usb-serial-for-android \] of the library (processing-android-serial) \[ https://github.com/inventit/processing-android-serial \]. …

---

## [Making a shape move](https://discourse.processing.org/t/making-a-shape-move/22026)

<div class="topic-metadata">

**Author:** [@klap](https://discourse.processing.org/u/klap)\
**Replies:** 1\
**Last updated:** [June 20, 2020, 2:58pm UTC](https://discourse.processing.org/t/making-a-shape-move/22026 "2020-06-20T14:58:50Z")

</div>

I wonder why my plane is not moving. Lockdown for planes is over isn’t it? :wink: //noStroke(); //50 float planeX; float planeY; void setup() { size(1000,700); planeX = width/32; planeY = height/18; } v…

---

## [Mesh Library for Processing 3](https://discourse.processing.org/t/mesh-library-for-processing-3/21047)

<div class="topic-metadata">

**Author:** [@artpen](https://discourse.processing.org/u/artpen)\
**Replies:** 15\
**Last updated:** [June 20, 2020, 8:41am UTC](https://discourse.processing.org/t/mesh-library-for-processing-3/21047 "2020-06-20T08:41:54Z")

</div>

Hi Guys, I am new to Processing. I think :slight\_smile: Haven’t used it for a while. What is the good and fast mesh manipulation library nowadays? Which is steel in active development. I remember ToxicLib was amazing, …

---

## [Canvas not showing up at all](https://discourse.processing.org/t/canvas-not-showing-up-at-all/21800)

<div class="topic-metadata">

**Author:** [@KaiShaw91](https://discourse.processing.org/u/KaiShaw91)\
**Replies:** 10\
**Last updated:** [June 20, 2020, 12:47am UTC](https://discourse.processing.org/t/canvas-not-showing-up-at-all/21800 "2020-06-20T00:47:53Z")

</div>

i cant get the download version to work when i load the index.html i dont see the canvas at all setup{ createcanvas(400,400) } draw{ background(220); rect(5,5,40,30); } everything else is vanilla what it my problem Ed…

---

## [P5.js not found in parent directory](https://discourse.processing.org/t/p5-js-not-found-in-parent-directory/21981)

<div class="topic-metadata">

**Author:** [@astrogeek](https://discourse.processing.org/u/astrogeek)\
**Replies:** 9\
**Last updated:** [June 19, 2020, 11:16pm UTC](https://discourse.processing.org/t/p5-js-not-found-in-parent-directory/21981 "2020-06-19T23:16:01Z")

</div>

I’m just starting out with the p5js library, so this is a really basic question. I have downloaded the library file and unzipped it. I started messing around with the files in the “empty example” directory using Brackets…

---

## [Help with physarum simulation](https://discourse.processing.org/t/help-with-physarum-simulation/21276)

<div class="topic-metadata">

**Author:** [@musiciantriescoding](https://discourse.processing.org/u/musiciantriescoding)\
**Replies:** 6\
**Last updated:** [June 19, 2020, 7:55pm UTC](https://discourse.processing.org/t/help-with-physarum-simulation/21276 "2020-06-19T19:55:36Z")

</div>

Hello everyone! Recently, physarum simulations have become quite popular. Check out Sage Jenson’s simulations for some beautiful visuals (https://sagejenson.com/physarum). I tried to simulate physarum as well using the …

---

## [How do i make the movement function for the player count only once so that they can be executed one by one only once?](https://discourse.processing.org/t/how-do-i-make-the-movement-function-for-the-player-count-only-once-so-that-they-can-be-executed-one-by-one-only-once/21944)

<div class="topic-metadata">

**Author:** [@sokuv](https://discourse.processing.org/u/sokuv)\
**Replies:** 4\
**Last updated:** [June 18, 2020, 3:51pm UTC](https://discourse.processing.org/t/how-do-i-make-the-movement-function-for-the-player-count-only-once-so-that-they-can-be-executed-one-by-one-only-once/21944 "2020-06-18T15:51:25Z")

</div>

I have a game currently which has a player and some obstacles, I want to navigate this player with some commands, but the problem is that the command get executed but the rectangle does not get updated so I have to do so…

---

## [Random question about mnist datasets. Why does it come in ubyte ext rather than a traditional image ext?](https://discourse.processing.org/t/random-question-about-mnist-datasets-why-does-it-come-in-ubyte-ext-rather-than-a-traditional-image-ext/21994)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 2\
**Last updated:** [June 19, 2020, 3:32pm UTC](https://discourse.processing.org/t/random-question-about-mnist-datasets-why-does-it-come-in-ubyte-ext-rather-than-a-traditional-image-ext/21994 "2020-06-19T15:32:31Z")

</div>

Apologies this is not necessarily related to processing, I just couldn’t find an answer online.

---

## ["No response from server" error with sound files](https://discourse.processing.org/t/no-response-from-server-error-with-sound-files/20586)

<div class="topic-metadata">

**Author:** [@achandra](https://discourse.processing.org/u/achandra)\
**Replies:** 5\
**Last updated:** [June 19, 2020, 2:16pm UTC](https://discourse.processing.org/t/no-response-from-server-error-with-sound-files/20586 "2020-06-19T14:16:49Z")

</div>

Does anyone know what this error means? It happens on my code sometimes, I reload my sound files again and it becomes fine and then it happens after a while again.

---

## [Problems with desktop && mobile resizing](https://discourse.processing.org/t/problems-with-desktop-mobile-resizing/21894)

<div class="topic-metadata">

**Author:** [@akenaton](https://discourse.processing.org/u/akenaton)\
**Replies:** 13\
**Last updated:** [June 19, 2020, 1:50pm UTC](https://discourse.processing.org/t/problems-with-desktop-mobile-resizing/21894 "2020-06-19T13:50:01Z")

</div>

As i have to rewrite the index page from my site, i decided to use P5.js in order to learn somewhat about it. Coding was rather easy and my code works in P5.jsEditor. Now i am testing with real browsers and real phones a…

---

## [Processing Foundation's Video Library & Video Capture on Linux](https://discourse.processing.org/t/processing-foundations-video-library-video-capture-on-linux/21983)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 2\
**Last updated:** [June 19, 2020, 11:07am UTC](https://discourse.processing.org/t/processing-foundations-video-library-video-capture-on-linux/21983 "2020-06-19T11:07:56Z")

</div>

I was showing some students the wonderful AsciiVideo example that comes with the Processing IDE and it didn’t work on Linux. I remember having this problem a few years ago and reading about a GStreamer 1.0 so I found th…

---

## ["No response from serve"r error with sound files](https://discourse.processing.org/t/no-response-from-serve-r-error-with-sound-files/21986)

<div class="topic-metadata">

**Author:** [@achandra](https://discourse.processing.org/u/achandra)\
**Replies:** 1\
**Last updated:** [June 19, 2020, 1:25pm UTC](https://discourse.processing.org/t/no-response-from-serve-r-error-with-sound-files/21986 "2020-06-19T13:25:41Z")

</div>

MY code has been giving this problem for a long time and I cant figure this out. It also doesn’t run on other people’s computers when I try and give them the link to my code. SOMETIMES it gives this error - There was n…

---

## [Processing vs Rhino coordinates](https://discourse.processing.org/t/processing-vs-rhino-coordinates/21572)

<div class="topic-metadata">

**Author:** [@evilome](https://discourse.processing.org/u/evilome)\
**Replies:** 8\
**Last updated:** [June 19, 2020, 12:20pm UTC](https://discourse.processing.org/t/processing-vs-rhino-coordinates/21572 "2020-06-19T12:20:07Z")

</div>

Hello everyone, Understanding very little programming and facing a related problem and I need help for those who are available: I am working on the 3D animal head construction project from stainless wire using Rhino 6 +…

---

## [Switch case with two key pressed? Is it possible?](https://discourse.processing.org/t/switch-case-with-two-key-pressed-is-it-possible/21869)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 7\
**Last updated:** [June 19, 2020, 11:09am UTC](https://discourse.processing.org/t/switch-case-with-two-key-pressed-is-it-possible/21869 "2020-06-19T11:09:26Z")

</div>

Hello. I would like to switch case with a combination of two letter or letter, one of each. I did like that, but it doesn’t work void keyPressed() { if (key=='5' && key=='T'){ println ("T55555TTTT5555"); …

---

## [HOW TO USE createImage()?](https://discourse.processing.org/t/how-to-use-createimage/21885)

<div class="topic-metadata">

**Author:** [@ARNAV\_A\_GUPTA](https://discourse.processing.org/u/ARNAV_A_GUPTA)\
**Replies:** 15\
**Last updated:** [June 19, 2020, 8:55am UTC](https://discourse.processing.org/t/how-to-use-createimage/21885 "2020-06-19T08:55:56Z")

</div>

I have an idea where I want user to draw something and make it an image. How to use it, possibly, it has something to do with createImage(), but I’m not familiar with it. Thanks for helping me with it in advance

---

## [Import geometry and individual control](https://discourse.processing.org/t/import-geometry-and-individual-control/21988)

<div class="topic-metadata">

**Author:** [@TTG](https://discourse.processing.org/u/TTG)\
**Replies:** 0\
**Last updated:** [June 19, 2020, 7:52am UTC](https://discourse.processing.org/t/import-geometry-and-individual-control/21988 "2020-06-19T07:52:46Z")

</div>

Hi team, I am currently trying to find an elegant way in order to import geometry. P5 currently supports .obj ( loadModel) . The question is as follows: Can the loaded geometry be divided in individual parts? If th…

---

## [Adding event handlers to sketch](https://discourse.processing.org/t/adding-event-handlers-to-sketch/21863)

<div class="topic-metadata">

**Author:** [@Jithin](https://discourse.processing.org/u/Jithin)\
**Replies:** 3\
**Last updated:** [June 19, 2020, 8:06am UTC](https://discourse.processing.org/t/adding-event-handlers-to-sketch/21863 "2020-06-19T08:06:18Z")

</div>

Hi I’m trying to create a library that extends p5. I want to add event handlers to the sketch. I tried to use \_onmousedown event present in p5 prototype, but its giving me an errror. How can I achieve this? I could just…

---

## [¿Cómo puedo hacer estos movimientos?](https://discourse.processing.org/t/como-puedo-hacer-estos-movimientos/21904)

<div class="topic-metadata">

**Author:** [@FireInTheSky](https://discourse.processing.org/u/FireInTheSky)\
**Replies:** 7\
**Last updated:** [June 19, 2020, 4:15am UTC](https://discourse.processing.org/t/como-puedo-hacer-estos-movimientos/21904 "2020-06-19T04:15:49Z")

</div>

Quiero hacer un programa que genere cuadros como la imagen que se muestra a la derecha. En este video muestro cómo es mi idea de movimiento para formar las figuras: https://youtu.be/tzWBDpG6hbM Quiero saber cómo podría…

---

## [Video Capture in linux with ARM processor](https://discourse.processing.org/t/video-capture-in-linux-with-arm-processor/13970)

<div class="topic-metadata">

**Author:** [@tcreed](https://discourse.processing.org/u/tcreed)\
**Replies:** 1\
**Last updated:** [June 18, 2020, 10:16pm UTC](https://discourse.processing.org/t/video-capture-in-linux-with-arm-processor/13970 "2020-06-18T22:16:44Z")

</div>

I have been using processing on Mac for some time with good success but am now trying to run a sketch on a Linux based depth camera, a Persee from Orbbec. I have Ubuntu Linux 14 installed on the camera which uses an ARM…

---

## [No sound in Safari (find in chrome and firefox) - P5 Oscillator](https://discourse.processing.org/t/no-sound-in-safari-find-in-chrome-and-firefox-p5-oscillator/21969)

<div class="topic-metadata">

**Author:** [@bedlamagogo](https://discourse.processing.org/u/bedlamagogo)\
**Replies:** 4\
**Last updated:** [June 18, 2020, 8:31pm UTC](https://discourse.processing.org/t/no-sound-in-safari-find-in-chrome-and-firefox-p5-oscillator/21969 "2020-06-18T20:31:50Z")

</div>

Hi All, I have a project creating a synthesiser with a step sequencer which works perfectly in Chrome and Firefox - In Safari however there is no sound at all. All the functionality seems to be working just no sound… I …

---

## [Mario game help!](https://discourse.processing.org/t/mario-game-help/21979)

<div class="topic-metadata">

**Author:** [@jasmine](https://discourse.processing.org/u/jasmine)\
**Replies:** 9\
**Last updated:** [June 18, 2020, 7:02pm UTC](https://discourse.processing.org/t/mario-game-help/21979 "2020-06-18T19:02:13Z")

</div>

How can I add enemies that the player needs to avoid int gameMode=0;//0 - menu, 1 - play game, 2 - instructions, 3 - character selection int selChar=1;//default character is “character 1” int level=1; color red=color(25…

---

## [getAttribute value from XML node](https://discourse.processing.org/t/getattribute-value-from-xml-node/21977)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 1\
**Last updated:** [June 18, 2020, 6:17pm UTC](https://discourse.processing.org/t/getattribute-value-from-xml-node/21977 "2020-06-18T18:17:56Z")

</div>

Hi, I’m trying to get the value of attribute in XML. Here’s the xml line : \<image x="20" y="190"\> How to have 20 in a variable ?

---

## [3D Text Library](https://discourse.processing.org/t/3d-text-library/21776)

<div class="topic-metadata">

**Author:** [@spencerbambrick](https://discourse.processing.org/u/spencerbambrick)\
**Replies:** 4\
**Last updated:** [June 18, 2020, 5:54pm UTC](https://discourse.processing.org/t/3d-text-library/21776 "2020-06-18T17:54:11Z")

</div>

Hello all, I’m relatively new to Processing but I’m loving working with it, so thanks in advance for the help! In short I’m looking for a library that will allow me to create 3D text with depth (not just rotate 2D text …

---

## [Fading between shadertoy shaders in p5.js?](https://discourse.processing.org/t/fading-between-shadertoy-shaders-in-p5-js/21933)

<div class="topic-metadata">

**Author:** [@Spenc](https://discourse.processing.org/u/Spenc)\
**Replies:** 2\
**Last updated:** [June 18, 2020, 5:16pm UTC](https://discourse.processing.org/t/fading-between-shadertoy-shaders-in-p5-js/21933 "2020-06-18T17:16:50Z")

</div>

I am trying to fade between several different types of shaders from shadertoy by importing them to p5.js and am trying to figure out the best way to do that? I am trying to figure out if I can somehow just use the tint() …

---

## [About saving data](https://discourse.processing.org/t/about-saving-data/21964)

<div class="topic-metadata">

**Author:** [@SouSageYa](https://discourse.processing.org/u/SouSageYa)\
**Replies:** 3\
**Last updated:** [June 18, 2020, 4:46pm UTC](https://discourse.processing.org/t/about-saving-data/21964 "2020-06-18T16:46:32Z")

</div>

I can read and make a graph about those values that I can send from Arduino. I want to save those datas as an .csv file (Excel with commas between values) Is there a way ?

---

## [Export video in real time](https://discourse.processing.org/t/export-video-in-real-time/2517)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 22\
**Last updated:** [June 18, 2020, 4:44pm UTC](https://discourse.processing.org/t/export-video-in-real-time/2517 "2020-06-18T16:44:01Z")

</div>

Hey! im actuallly using hamoid librarie video export. but frame rate still down. I need some way to record a sketch in real time( im moving cameras, and other events, so i need perfect sync). What alternatives do i have?…

---

## [How make this movement?](https://discourse.processing.org/t/how-make-this-movement/21935)

<div class="topic-metadata">

**Author:** [@Lucaso](https://discourse.processing.org/u/Lucaso)\
**Replies:** 3\
**Last updated:** [June 18, 2020, 2:28pm UTC](https://discourse.processing.org/t/how-make-this-movement/21935 "2020-06-18T14:28:33Z")

</div>

Hi everyone! I’m new in this community and using Processing, so I’m going to explain what is my problem. I want make a “field road” effect, similar to the one shown in the following link: https://cs.brynmawr.edu/gxk20…

---

## [Como realizar este movimiento?](https://discourse.processing.org/t/como-realizar-este-movimiento/21937)

<div class="topic-metadata">

**Author:** [@Lucaso](https://discourse.processing.org/u/Lucaso)\
**Replies:** 4\
**Last updated:** [June 18, 2020, 2:23pm UTC](https://discourse.processing.org/t/como-realizar-este-movimiento/21937 "2020-06-18T14:23:41Z")

</div>

Hola a todos! Soy nuevo en la comunidad y usando Processing, asi que les voy a explicar cual es mi situación. Estoy buscando generar un efecto en un proyecto que estoy realizando. El movimiento que busco es similar al s…

---

## [Lines movement help](https://discourse.processing.org/t/lines-movement-help/21862)

<div class="topic-metadata">

**Author:** [@marika20](https://discourse.processing.org/u/marika20)\
**Replies:** 7\
**Last updated:** [June 18, 2020, 1:25pm UTC](https://discourse.processing.org/t/lines-movement-help/21862 "2020-06-18T13:25:12Z")

</div>

Ciao, qualcuno saprebbe dirmi perchè non riesco a fare il movimento nella parte sinistra dello schermo? Riesco a far muove la parte destra con la linea e il rect(blu) ma la parte di sinistra quella con la linea e il rec…

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

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