# Latest

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

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

**Page:** 428

---

## [P5 - Starting out music website - accessing mp3s correctly](https://discourse.processing.org/t/p5-starting-out-music-website-accessing-mp3s-correctly/15102)

<div class="topic-metadata">

**Author:** [@byxx](https://discourse.processing.org/u/byxx)\
**Replies:** 9\
**Last updated:** [November 11, 2019, 4:33pm UTC](https://discourse.processing.org/t/p5-starting-out-music-website-accessing-mp3s-correctly/15102 "2019-11-11T16:33:37Z")

</div>

Dear Community, I would like to know if I can create a homepage with lots of mp3s in P5. I don´t know if its a good idea to incorporate a Data Bank like mysql or how I could access a data bank. It is probable, that I c…

---

## [How can I Debug my app in real time?](https://discourse.processing.org/t/how-can-i-debug-my-app-in-real-time/15250)

<div class="topic-metadata">

**Author:** [@Waboqueox](https://discourse.processing.org/u/Waboqueox)\
**Replies:** 3\
**Last updated:** [November 6, 2019, 11:17am UTC](https://discourse.processing.org/t/how-can-i-debug-my-app-in-real-time/15250 "2019-11-06T11:17:01Z")

</div>

Hi, people :wave: ; My app runs well when I try in simulation, but when I’m using it in real time (without the computer), sometimes it crashes and I can’t figure out why… I’d like to create a .txt or something in the t…

---

## [How to remove sensor drift?](https://discourse.processing.org/t/how-to-remove-sensor-drift/14733)

<div class="topic-metadata">

**Author:** [@KGS](https://discourse.processing.org/u/KGS)\
**Replies:** 4\
**Last updated:** [November 11, 2019, 11:23am UTC](https://discourse.processing.org/t/how-to-remove-sensor-drift/14733 "2019-11-11T11:23:08Z")

</div>

I have taken continuous readings of body temperature from the temperature sensor. I have observed that there is a drift of the temperature value during baseline reading. What are the methods that I could eliminate sensor…

---

## [setVolume: rampTime and timeFromNow Mystery?](https://discourse.processing.org/t/setvolume-ramptime-and-timefromnow-mystery/15376)

<div class="topic-metadata">

**Author:** [@unofficial](https://discourse.processing.org/u/unofficial)\
**Replies:** 4\
**Last updated:** [November 11, 2019, 9:51am UTC](https://discourse.processing.org/t/setvolume-ramptime-and-timefromnow-mystery/15376 "2019-11-11T09:51:41Z")

</div>

Hi there I am a veteran audio engineer and novice programmer, it is humbling to understand audio so well and yet be so mystified by coding it… Anyway I was just playing around with the setVolume function and to my chagr…

---

## [How to get objects to start moving again after collision](https://discourse.processing.org/t/how-to-get-objects-to-start-moving-again-after-collision/15399)

<div class="topic-metadata">

**Author:** [@Lane](https://discourse.processing.org/u/Lane)\
**Replies:** 1\
**Last updated:** [November 11, 2019, 6:53am UTC](https://discourse.processing.org/t/how-to-get-objects-to-start-moving-again-after-collision/15399 "2019-11-11T06:53:36Z")

</div>

Hi! I have 2 cats that float around until they stop when they come into contact with each other, which I called catFight();. I want them to start floating around again normally every time ‘m’ is pressed. I’m new so proce…

---

## [How to plot multiple graphs in one plot?](https://discourse.processing.org/t/how-to-plot-multiple-graphs-in-one-plot/15392)

<div class="topic-metadata">

**Author:** [@KGS](https://discourse.processing.org/u/KGS)\
**Replies:** 5\
**Last updated:** [November 11, 2019, 6:32am UTC](https://discourse.processing.org/t/how-to-plot-multiple-graphs-in-one-plot/15392 "2019-11-11T06:32:40Z")

</div>

I need to plot multiple graphs in a single plot in real-time. How can I do it ???

---

## [How do I break serial/audio output loop?](https://discourse.processing.org/t/how-do-i-break-serial-audio-output-loop/15395)

<div class="topic-metadata">

**Author:** [@mdrou001](https://discourse.processing.org/u/mdrou001)\
**Replies:** 1\
**Last updated:** [November 11, 2019, 3:23am UTC](https://discourse.processing.org/t/how-do-i-break-serial-audio-output-loop/15395 "2019-11-11T03:23:07Z")

</div>

I’m having problems with having an RFID tag scanned and triggering an audio file. Every time I scan an RFID tag the audio constantly plays multiple instances at once, creating a Doppler effect. I did println(file.isPlayi…

---

## [Making variables persistent?](https://discourse.processing.org/t/making-variables-persistent/15393)

<div class="topic-metadata">

**Author:** [@Everdro1d](https://discourse.processing.org/u/Everdro1d)\
**Replies:** 2\
**Last updated:** [November 11, 2019, 3:09am UTC](https://discourse.processing.org/t/making-variables-persistent/15393 "2019-11-11T03:09:47Z")

</div>

What I’m trying to do is make a persistent colour saver, which means that the variables that store the custom colours will need to be saved on exit and loaded on startup. I thought maybe if i could make the program write…

---

## [Animation that transitions using frameCount](https://discourse.processing.org/t/animation-that-transitions-using-framecount/15378)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 2\
**Last updated:** [November 11, 2019, 2:51am UTC](https://discourse.processing.org/t/animation-that-transitions-using-framecount/15378 "2019-11-11T02:51:21Z")

</div>

A very simple example that transitions through scenes over time: // Author: GLV // Date: 2019-11-10 // Description: // Animate over time using frameCount // A very simple example that: // Uses frameCount to keep track …

---

## [Hexadecimal-\> file (jpg) / how to convert?](https://discourse.processing.org/t/hexadecimal-file-jpg-how-to-convert/14200)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 5\
**Last updated:** [November 10, 2019, 8:34pm UTC](https://discourse.processing.org/t/hexadecimal-file-jpg-how-to-convert/14200 "2019-11-10T20:34:25Z")

</div>

Hexadecimal-\> file (jpg) Link: Hex to file (binary) converter Good morning. I want to convert the HEX value into a jpg file, Pimage img; I want to put a jpg file in the img variable and display it on the screen. D…

---

## [Teensy 3.2 + Octows2811 adaptor - Processing error: InvocationTargetException](https://discourse.processing.org/t/teensy-3-2-octows2811-adaptor-processing-error-invocationtargetexception/15365)

<div class="topic-metadata">

**Author:** [@adds666](https://discourse.processing.org/u/adds666)\
**Replies:** 2\
**Last updated:** [November 10, 2019, 8:22pm UTC](https://discourse.processing.org/t/teensy-3-2-octows2811-adaptor-processing-error-invocationtargetexception/15365 "2019-11-10T20:22:38Z")

</div>

Hello all, New here - wanting to make an LED TV using Teensy 3.2 and ws2811 adaptor. https://www.pjrc.com/teensy/td\_libs\_OctoWS2811.html#videodisplay OS: Ubuntu 16.04 64-bit Intel® Core™ i5-2450M CPU @ 2.50GHz × 4 Go…

---

## [Processing on Jetson TX2 dev kit?](https://discourse.processing.org/t/processing-on-jetson-tx2-dev-kit/15256)

<div class="topic-metadata">

**Author:** [@darioringach](https://discourse.processing.org/u/darioringach)\
**Replies:** 1\
**Last updated:** [November 10, 2019, 5:34pm UTC](https://discourse.processing.org/t/processing-on-jetson-tx2-dev-kit/15256 "2019-11-10T17:34:20Z")

</div>

Any luck installing Processing on the Jetson TX2? Does anyone have step-by-step instructions? Thank you! Dario

---

## [Android Studio trouble w/ declaration in Main Activity](https://discourse.processing.org/t/android-studio-trouble-w-declaration-in-main-activity/15336)

<div class="topic-metadata">

**Author:** [@lve0200](https://discourse.processing.org/u/lve0200)\
**Replies:** 2\
**Last updated:** [November 10, 2019, 5:26pm UTC](https://discourse.processing.org/t/android-studio-trouble-w-declaration-in-main-activity/15336 "2019-11-10T17:26:42Z")

</div>

Hi, I’m still troubled w/ declarations other than the pure ported/created Processing stuff. I have a running ported App, which I wanted to extend w/ a Background Network task, because networking in the main thread is p…

---

## [Ellipse not moving](https://discourse.processing.org/t/ellipse-not-moving/15351)

<div class="topic-metadata">

**Author:** [@Tobias](https://discourse.processing.org/u/Tobias)\
**Replies:** 5\
**Last updated:** [November 10, 2019, 1:46pm UTC](https://discourse.processing.org/t/ellipse-not-moving/15351 "2019-11-10T13:46:01Z")

</div>

I used to know almost all the features in processing like a year ago, and now I decided to get back and try again. I just made a simple script telling the console to show a circle with some gravity, and everything works …

---

## [Error while documentation](https://discourse.processing.org/t/error-while-documentation/14914)

<div class="topic-metadata">

**Author:** [@kll](https://discourse.processing.org/u/kll)\
**Replies:** 3\
**Last updated:** [November 10, 2019, 1:10am UTC](https://discourse.processing.org/t/error-while-documentation/14914 "2019-11-10T01:10:35Z")

</div>

want inform about a funny problem with content in a /\* documentation \*/ section of a p5.js code example: p5.js Web Editor play and see that the error only is shown with the let ( in line 18 )

---

## [Array isn't loading any values](https://discourse.processing.org/t/array-isnt-loading-any-values/15368)

<div class="topic-metadata">

**Author:** [@bs.17](https://discourse.processing.org/u/bs.17)\
**Replies:** 15\
**Last updated:** [November 10, 2019, 4:18am UTC](https://discourse.processing.org/t/array-isnt-loading-any-values/15368 "2019-11-10T04:18:45Z")

</div>

\*\*//(Dice game, roll two dice 36 times and store each value, then after you determine how many times 12 showed in that array, but the array 1-36 is all filled with 0's, and it prints that shows 12 0 times. New to coding…

---

## [Trying to create a polygon point connector](https://discourse.processing.org/t/trying-to-create-a-polygon-point-connector/15362)

<div class="topic-metadata">

**Author:** [@musiciantriescoding](https://discourse.processing.org/u/musiciantriescoding)\
**Replies:** 1\
**Last updated:** [November 10, 2019, 2:21am UTC](https://discourse.processing.org/t/trying-to-create-a-polygon-point-connector/15362 "2019-11-10T02:21:43Z")

</div>

Hello! I am trying to create a polygon point connector that works likes this: 1. draw n amount of points on a circle equidistant from each other 2. connect the points to the nth point next to it to create polygons an…

---

## [Intersection of ellipses](https://discourse.processing.org/t/intersection-of-ellipses/15357)

<div class="topic-metadata">

**Author:** [@edward](https://discourse.processing.org/u/edward)\
**Replies:** 6\
**Last updated:** [November 9, 2019, 11:54pm UTC](https://discourse.processing.org/t/intersection-of-ellipses/15357 "2019-11-09T23:54:31Z")

</div>

Hi guys. I’m finding this quite a challenge. The way I have it in this code, any ellipse avoids contact with the others whilst dragging it, which is kind of what I want. However, in order to keep on dragging an ellipse …

---

## [Minor Problem with arrays and loops](https://discourse.processing.org/t/minor-problem-with-arrays-and-loops/15095)

<div class="topic-metadata">

**Author:** [@haidershah](https://discourse.processing.org/u/haidershah)\
**Replies:** 3\
**Last updated:** [November 9, 2019, 11:38pm UTC](https://discourse.processing.org/t/minor-problem-with-arrays-and-loops/15095 "2019-11-09T23:38:53Z")

</div>

PVector\[\] record = new PVector\[100\]; int curr = 0; void setup() { size(800, 800); for (int i = 0; i\<record.length; i++) { record\[i\]= new PVector(100, 100); } } void draw() { } void mousePressed() {…

---

## [Can't create a Serializable object and convert it to a byte\[\]](https://discourse.processing.org/t/cant-create-a-serializable-object-and-convert-it-to-a-byte/15360)

<div class="topic-metadata">

**Author:** [@creepercrack](https://discourse.processing.org/u/creepercrack)\
**Replies:** 4\
**Last updated:** [November 9, 2019, 10:49pm UTC](https://discourse.processing.org/t/cant-create-a-serializable-object-and-convert-it-to-a-byte/15360 "2019-11-09T22:49:22Z")

</div>

So I don’t have much to say, the only thing is that I don’t know why this code: import java.io.\*; void setup() { Foo foo = new Foo(); try { ByteArrayOutputStream baos = new ByteArrayOutputStream(); Objec…

---

## [Fade effect from an image to another](https://discourse.processing.org/t/fade-effect-from-an-image-to-another/12244)

<div class="topic-metadata">

**Author:** [@Vickydcl](https://discourse.processing.org/u/Vickydcl)\
**Replies:** 2\
**Last updated:** [November 9, 2019, 11:25pm UTC](https://discourse.processing.org/t/fade-effect-from-an-image-to-another/12244 "2019-11-09T23:25:32Z")

</div>

I have this code but when I press the mouse I want an image fade transition, any help? Thanks! void setup() { size(600, 600); estaciones = new PImage\[2\]; estaciones\[0\]=loadImage("test.png"); estaciones\[1\]=load…

---

## [Processing, Arduino and Linux](https://discourse.processing.org/t/processing-arduino-and-linux/15344)

<div class="topic-metadata">

**Author:** [@pandl](https://discourse.processing.org/u/pandl)\
**Replies:** 4\
**Last updated:** [November 9, 2019, 11:08pm UTC](https://discourse.processing.org/t/processing-arduino-and-linux/15344 "2019-11-09T23:08:35Z")

</div>

Thank you for reading my first post. This question relates to the Simple Write serial example. String portName = Serial.list()\[0\]; myPort = new Serial(this, portName, 9600); This doesn’t find the correct port but …

---

## [Increasing the size of an object made up of two triangles](https://discourse.processing.org/t/increasing-the-size-of-an-object-made-up-of-two-triangles/14956)

<div class="topic-metadata">

**Author:** [@Anotherrat](https://discourse.processing.org/u/Anotherrat)\
**Replies:** 2\
**Last updated:** [November 9, 2019, 11:07pm UTC](https://discourse.processing.org/t/increasing-the-size-of-an-object-made-up-of-two-triangles/14956 "2019-11-09T23:07:21Z")

</div>

Hi, I am relatively new to coding and I’ve encountered a small issue. I have diamond shape made up of two triangle shapes, I’ve turned the shape in to an object that includes x & y properties, I can move it round the sc…

---

## [NFC RC522 or PN532 with Pi?](https://discourse.processing.org/t/nfc-rc522-or-pn532-with-pi/15248)

<div class="topic-metadata">

**Author:** [@bluemoon](https://discourse.processing.org/u/bluemoon)\
**Replies:** 1\
**Last updated:** [November 9, 2019, 9:57pm UTC](https://discourse.processing.org/t/nfc-rc522-or-pn532-with-pi/15248 "2019-11-09T21:57:38Z")

</div>

Hi Folks, Has anyone used one of the NFC readers (RC522 or PN532) with Processing for Pi? They both have SPI interfaces, which should work with the Pi, but without a library I’m in over my head looking at the low level…

---

## [Random Custom Classes](https://discourse.processing.org/t/random-custom-classes/15354)

<div class="topic-metadata">

**Author:** [@cajk24](https://discourse.processing.org/u/cajk24)\
**Replies:** 4\
**Last updated:** [November 9, 2019, 5:21pm UTC](https://discourse.processing.org/t/random-custom-classes/15354 "2019-11-09T17:21:15Z")

</div>

I’m trying to create a program where different types of fish are defined into different classes, and the user would be able to spawn them randomly by pressing the ‘f’ key. I can’t seem to figure out how to define the ran…

---

## [Arduino, Processing and p5.js similarities](https://discourse.processing.org/t/arduino-processing-and-p5-js-similarities/15257)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 6\
**Last updated:** [November 9, 2019, 5:20pm UTC](https://discourse.processing.org/t/arduino-processing-and-p5-js-similarities/15257 "2019-11-09T17:20:31Z")

</div>

Hi all, I’m wondering if someone has any insight on why, when Arduino is a C+ library (is it a library?), Processing a Java library, and p5 a JavaScript library, the three are so similar in terms of syntax? It strikes m…

---

## [SimpleOpenNI + Kinect V1 problem](https://discourse.processing.org/t/simpleopenni-kinect-v1-problem/15329)

<div class="topic-metadata">

**Author:** [@Andrea](https://discourse.processing.org/u/Andrea)\
**Replies:** 6\
**Last updated:** [November 9, 2019, 1:43pm UTC](https://discourse.processing.org/t/simpleopenni-kinect-v1-problem/15329 "2019-11-09T13:43:33Z")

</div>

Hi!:blush: I’m a beginner at Processing and I’m currently using Windows10, Processing version 3.5.3 and I have the Kinect 1414 (version 1 I believe). I’ve been trying to use somebody elses code, here’s the video of what …

---

## [Performance Image vs Vector Graphics](https://discourse.processing.org/t/performance-image-vs-vector-graphics/15333)

<div class="topic-metadata">

**Author:** [@agp](https://discourse.processing.org/u/agp)\
**Replies:** 4\
**Last updated:** [November 8, 2019, 10:05pm UTC](https://discourse.processing.org/t/performance-image-vs-vector-graphics/15333 "2019-11-08T22:05:58Z")

</div>

Hello, what I am trying to achieve is having an interactive program that does some stuff. I am using Keystone library, Pgraphics, PImages (lots of them, drawing them when something happens, translate them around, and oth…

---

## [Processing.js code on openprocessing - nothing happens when you click](https://discourse.processing.org/t/processing-js-code-on-openprocessing-nothing-happens-when-you-click/15323)

<div class="topic-metadata">

**Author:** [@scruffyboy13](https://discourse.processing.org/u/scruffyboy13)\
**Replies:** 8\
**Last updated:** [November 8, 2019, 8:44pm UTC](https://discourse.processing.org/t/processing-js-code-on-openprocessing-nothing-happens-when-you-click/15323 "2019-11-08T20:44:05Z")

</div>

I’ve been using openprocessing.org to create a processingjs code but something is going wrong where nothing happens when you click on the main screen but it’s supposed to change to the tutorial screen. I’ve been trying f…

---

## [How to return a PVector array?](https://discourse.processing.org/t/how-to-return-a-pvector-array/15340)

<div class="topic-metadata">

**Author:** [@Djharr](https://discourse.processing.org/u/Djharr)\
**Replies:** 2\
**Last updated:** [November 8, 2019, 7:31pm UTC](https://discourse.processing.org/t/how-to-return-a-pvector-array/15340 "2019-11-08T19:31:51Z")

</div>

HI, wondering how i’m meant to return a PVector array; public PVector VECTORS(){ PVector\[\] v = new PVector\[1000\]; for(int i =0; i\<v.length; i++){ v\[i\] = new PVector(random(width), random(height)); } return v; } t…

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

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