# Latest

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

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

**Page:** 586

---

## [Fractal tree simulator](https://discourse.processing.org/t/fractal-tree-simulator/3517)

<div class="topic-metadata">

**Author:** [@atoro](https://discourse.processing.org/u/atoro)\
**Replies:** 3\
**Last updated:** [September 14, 2018, 8:55am UTC](https://discourse.processing.org/t/fractal-tree-simulator/3517 "2018-09-14T08:55:55Z")

</div>

Video: https://drive.google.com/file/d/1udfhjfm-\_l8cHp0rjh3djvu6XmPfdU9Y/view?usp=sharing More info: https://discourse.processing.org/t/using-react-with-p5-js-es6-support/3298

---

## [P5 Pathfinding Function Crashes Sketch](https://discourse.processing.org/t/p5-pathfinding-function-crashes-sketch/3524)

<div class="topic-metadata">

**Author:** [@OrangeC7](https://discourse.processing.org/u/OrangeC7)\
**Replies:** 3\
**Last updated:** [September 14, 2018, 5:46am UTC](https://discourse.processing.org/t/p5-pathfinding-function-crashes-sketch/3524 "2018-09-14T05:46:30Z")

</div>

I’m trying to write an A\* pathfinding function to see how well it does in a snake game I’m programming based on The Coding Train’s coding challenge here: (https://www.youtube.com/watch?v=OMoVcohRgZA), but for some reason…

---

## [Weird image glitch. p5.geolocation & CSS](https://discourse.processing.org/t/weird-image-glitch-p5-geolocation-css/3518)

<div class="topic-metadata">

**Author:** [@currymike](https://discourse.processing.org/u/currymike)\
**Replies:** 3\
**Last updated:** [September 14, 2018, 2:59am UTC](https://discourse.processing.org/t/weird-image-glitch-p5-geolocation-css/3518 "2018-09-14T02:59:41Z")

</div>

I am using the p5.geolocation library to measure the distance between the app user and a trigger point location. As the user moves closer to the trigger point the blur effect on an image is adjusted, the closer they are…

---

## [Help! Has anyone gotten a mic to work with Minim on Raspbian?](https://discourse.processing.org/t/help-has-anyone-gotten-a-mic-to-work-with-minim-on-raspbian/1127)

<div class="topic-metadata">

**Author:** [@Breadley](https://discourse.processing.org/u/Breadley)\
**Replies:** 2\
**Last updated:** [September 13, 2018, 9:14pm UTC](https://discourse.processing.org/t/help-has-anyone-gotten-a-mic-to-work-with-minim-on-raspbian/1127 "2018-09-13T21:14:48Z")

</div>

Hi, I realize this is likely more of a Minim issue than Processing, but hoping I can find someone who has solved a similar problem here. I’m using minim to take a sound input and apply FFT transformations to a sketch. I…

---

## [Reading XML data from website](https://discourse.processing.org/t/reading-xml-data-from-website/3500)

<div class="topic-metadata">

**Author:** [@specials](https://discourse.processing.org/u/specials)\
**Replies:** 3\
**Last updated:** [September 13, 2018, 8:22pm UTC](https://discourse.processing.org/t/reading-xml-data-from-website/3500 "2018-09-13T20:22:31Z")

</div>

I am attempting to read the product page of a certain website, however I get an error on line 27, stating that goXML does not have a function named listChildren, along with all other p5 .xml functions. However, xml, a va…

---

## [Best setting for RPi 3B/3B+](https://discourse.processing.org/t/best-setting-for-rpi-3b-3b/3501)

<div class="topic-metadata">

**Author:** [@Gael](https://discourse.processing.org/u/Gael)\
**Replies:** 2\
**Last updated:** [September 13, 2018, 7:18pm UTC](https://discourse.processing.org/t/best-setting-for-rpi-3b-3b/3501 "2018-09-13T19:18:44Z")

</div>

Hello, I just succed running processing and minim on pi3 B, and after lot of sweat, setting AudioInjector sound card (this could be a other topic)… I run fft from stereo input and full audio buffer reading for generati…

---

## [Code generated pattern wrap on 3D](https://discourse.processing.org/t/code-generated-pattern-wrap-on-3d/3385)

<div class="topic-metadata">

**Author:** [@vallu](https://discourse.processing.org/u/vallu)\
**Replies:** 13\
**Last updated:** [September 13, 2018, 6:40pm UTC](https://discourse.processing.org/t/code-generated-pattern-wrap-on-3d/3385 "2018-09-13T18:40:46Z")

</div>

Hello, I have been to trying to program a cuboid with surfaces rendered in code generated patterns (image attached). While there is a texture function for wrapping images, I couldn’t find anything for SVG’s or code gener…

---

## [Having multiple moving objects collide detection issues](https://discourse.processing.org/t/having-multiple-moving-objects-collide-detection-issues/3463)

<div class="topic-metadata">

**Author:** [@MartinM](https://discourse.processing.org/u/MartinM)\
**Replies:** 6\
**Last updated:** [September 13, 2018, 5:26pm UTC](https://discourse.processing.org/t/having-multiple-moving-objects-collide-detection-issues/3463 "2018-09-13T17:26:52Z")

</div>

Recently I have been playing with the Arduino and I have been using processing for the coding. Before I go any further the program does run without the specific need for an Arduino and the issue I am having also does not…

---

## [Adding a function to the "Processing Animation Thread"](https://discourse.processing.org/t/adding-a-function-to-the-processing-animation-thread/3429)

<div class="topic-metadata">

**Author:** [@aframires](https://discourse.processing.org/u/aframires)\
**Replies:** 6\
**Last updated:** [September 13, 2018, 2:23pm UTC](https://discourse.processing.org/t/adding-a-function-to-the-processing-animation-thread/3429 "2018-09-13T14:23:27Z")

</div>

Hello everyone. I have a question regarding adding a function to be ran in the Processing Animation Thread or, in other words, to be ran after draw() in a similar fashion as the keyPressed() and mousePressed() function. …

---

## [Sound library update not working](https://discourse.processing.org/t/sound-library-update-not-working/3473)

<div class="topic-metadata">

**Author:** [@RockyHawk](https://discourse.processing.org/u/RockyHawk)\
**Replies:** 6\
**Last updated:** [September 13, 2018, 1:06pm UTC](https://discourse.processing.org/t/sound-library-update-not-working/3473 "2018-09-13T13:06:32Z")

</div>

So processing was working with my code perfectly before this sound library update (2.0.1). When the code gets to this section (it’s just the first one there so that’s probably why it does the specific section): menus = …

---

## [PCD@LA Track: Epic Play!](https://discourse.processing.org/t/pcd-la-track-epic-play/1774)

<div class="topic-metadata">

**Author:** [@chandler](https://discourse.processing.org/u/chandler)\
**Replies:** 4\
**Last updated:** [September 13, 2018, 12:27pm UTC](https://discourse.processing.org/t/pcd-la-track-epic-play/1774 "2018-09-13T12:27:37Z")

</div>

Hello. Just creating a thread for folks to discuss and ask questions about the Epic Play! track for PCD@LA. Here is the track description for quick reference. Play is not work; let’s start there. Play is also ubiquitou…

---

## [Oculus Go - How to disable cardboard splash screen?](https://discourse.processing.org/t/oculus-go-how-to-disable-cardboard-splash-screen/3503)

<div class="topic-metadata">

**Author:** [@Zweihander11](https://discourse.processing.org/u/Zweihander11)\
**Replies:** 2\
**Last updated:** [September 13, 2018, 11:55am UTC](https://discourse.processing.org/t/oculus-go-how-to-disable-cardboard-splash-screen/3503 "2018-09-13T11:55:51Z")

</div>

Hi everyone! I’m a beginner who’s trying to build a sketch to play around with the Oculus Go, and so far so good, it builds and runs but when I enable STEREO fullscreen the app starts with the cardboard splash screen wh…

---

## [KinectPV2: get and import obj files](https://discourse.processing.org/t/kinectpv2-get-and-import-obj-files/3424)

<div class="topic-metadata">

**Author:** [@elyon](https://discourse.processing.org/u/elyon)\
**Replies:** 20\
**Last updated:** [September 13, 2018, 9:56am UTC](https://discourse.processing.org/t/kinectpv2-get-and-import-obj-files/3424 "2018-09-13T09:56:02Z")

</div>

Hi all! I’m a beginner in Processing and my boss asked me to interface Kinect for XBOX ONE (or Kinect V2) to PC for record pointclouds’ videos (nothing easier…) and to record some coloured frames of a moving arm of a pe…

---

## [Set eslint to understand the p5.js library calls and not flag them as undefined](https://discourse.processing.org/t/set-eslint-to-understand-the-p5-js-library-calls-and-not-flag-them-as-undefined/3487)

<div class="topic-metadata">

**Author:** [@atoro](https://discourse.processing.org/u/atoro)\
**Replies:** 2\
**Last updated:** [September 13, 2018, 8:54am UTC](https://discourse.processing.org/t/set-eslint-to-understand-the-p5-js-library-calls-and-not-flag-them-as-undefined/3487 "2018-09-13T08:54:08Z")

</div>

Option 1: Use /\* eslint no-undef: 0 \*/ at the top of your file That will stop warnings for variables that are accessed but not defined within the same file. Example: /\* eslint no-undef: 0 \*/ setup = function() { cr…

---

## [Voice spelling letters and numbers with p5.js](https://discourse.processing.org/t/voice-spelling-letters-and-numbers-with-p5-js/3468)

<div class="topic-metadata">

**Author:** [@TeslaVector](https://discourse.processing.org/u/TeslaVector)\
**Replies:** 3\
**Last updated:** [September 13, 2018, 7:33am UTC](https://discourse.processing.org/t/voice-spelling-letters-and-numbers-with-p5-js/3468 "2018-09-13T07:33:14Z")

</div>

Hi guys! I have a BIG problem. :frowning: I make program when user push button like ‘a’, ‘s’, ‘g’, ‘0-9’ etc. The Program repeats letters with voice command. It is useful for blind person. Problem is when users fast typ…

---

## [How to remove array object when mouse pressed](https://discourse.processing.org/t/how-to-remove-array-object-when-mouse-pressed/3406)

<div class="topic-metadata">

**Author:** [@tefa](https://discourse.processing.org/u/tefa)\
**Replies:** 17\
**Last updated:** [September 13, 2018, 7:19am UTC](https://discourse.processing.org/t/how-to-remove-array-object-when-mouse-pressed/3406 "2018-09-13T07:19:43Z")

</div>

Hello Dear Processors, thank you for your time. So I am trying to remove images from an array when mouseX and mouseY is directly in top of the image. how do i do that. So fare I have the code that detects when the mouse …

---

## [Perlin noise implementation in p5.js](https://discourse.processing.org/t/perlin-noise-implementation-in-p5-js/3009)

<div class="topic-metadata">

**Author:** [@HEX0x6C](https://discourse.processing.org/u/HEX0x6C)\
**Replies:** 14\
**Last updated:** [September 12, 2018, 8:20pm UTC](https://discourse.processing.org/t/perlin-noise-implementation-in-p5-js/3009 "2018-09-12T20:20:46Z")

</div>

Hi. I noticed the outcomes of noise() function in Processing and p5.js is different (setting the same seeds). Do they use different implementations? Why?

---

## [Euler angles, while working on a flight simulator](https://discourse.processing.org/t/euler-angles-while-working-on-a-flight-simulator/3441)

<div class="topic-metadata">

**Author:** [@EMJ](https://discourse.processing.org/u/EMJ)\
**Replies:** 8\
**Last updated:** [September 12, 2018, 7:43pm UTC](https://discourse.processing.org/t/euler-angles-while-working-on-a-flight-simulator/3441 "2018-09-12T19:43:33Z")

</div>

Hi all, i’m quite a beginner, more in 3d level math than in coding (i’m not so confident in my english too), and i’m trying to build from scratch a working flight simulator, not with amazing graphics, just for now a 3d m…

---

## [Saving data coming in quicker that draw() can run](https://discourse.processing.org/t/saving-data-coming-in-quicker-that-draw-can-run/3353)

<div class="topic-metadata">

**Author:** [@Tglaser92](https://discourse.processing.org/u/Tglaser92)\
**Replies:** 3\
**Last updated:** [September 12, 2018, 5:43pm UTC](https://discourse.processing.org/t/saving-data-coming-in-quicker-that-draw-can-run/3353 "2018-09-12T17:43:58Z")

</div>

Hello all, I’ve got data coming into a serial port at 250Hz and I’d like to save it all to a .csv file. Of course draw() is not going to be able to keep up with that rate of data. Is there a way to save all incoming da…

---

## [Making multiple lines move](https://discourse.processing.org/t/making-multiple-lines-move/3447)

<div class="topic-metadata">

**Author:** [@klutchie](https://discourse.processing.org/u/klutchie)\
**Replies:** 4\
**Last updated:** [September 12, 2018, 5:02pm UTC](https://discourse.processing.org/t/making-multiple-lines-move/3447 "2018-09-12T17:02:03Z")

</div>

Hello there! (First time poster) Im currently on my second week of a programming course and as one of our first assignment we were supposed to write our name/gamertag on Processing with different lines and shapes. Easy …

---

## [Platform game: take away a life](https://discourse.processing.org/t/platform-game-take-away-a-life/3478)

<div class="topic-metadata">

**Author:** [@Processingn00b](https://discourse.processing.org/u/Processingn00b)\
**Replies:** 5\
**Last updated:** [September 12, 2018, 4:40pm UTC](https://discourse.processing.org/t/platform-game-take-away-a-life/3478 "2018-09-12T16:40:10Z")

</div>

Hello, me again. i am still making my game and was wondering if someone could help me. i am trying to make it when the bottom platform touches the falling rectangles it will take away a life (three lives) but i don’t kno…

---

## [Project with midi files](https://discourse.processing.org/t/project-with-midi-files/3350)

<div class="topic-metadata">

**Author:** [@arufer720](https://discourse.processing.org/u/arufer720)\
**Replies:** 10\
**Last updated:** [September 12, 2018, 2:38pm UTC](https://discourse.processing.org/t/project-with-midi-files/3350 "2018-09-12T14:38:55Z")

</div>

Hey! Im trying to make a program that reads a midi file, extracts the signature and tempo data to make a programable metronome. But I dont find the way, becase the Midibus library doesn’t reads midi files, and also I do…

---

## [How can I make a very simple FSK(Frequency Shift Key) generator?](https://discourse.processing.org/t/how-can-i-make-a-very-simple-fsk-frequency-shift-key-generator/3443)

<div class="topic-metadata">

**Author:** [@8bit\_coder](https://discourse.processing.org/u/8bit_coder)\
**Replies:** 4\
**Last updated:** [September 12, 2018, 4:10am UTC](https://discourse.processing.org/t/how-can-i-make-a-very-simple-fsk-frequency-shift-key-generator/3443 "2018-09-12T04:10:40Z")

</div>

I’m trying to make a very bare bones replica of a linux program(I use windows so I can’t use it) called minimodem. What I’m trying to replicate is the part at 18 seconds, the transmitting part: youtube.com/watch?v=pwuyM…

---

## [Trying to change position of svg Shape to centre on sketch](https://discourse.processing.org/t/trying-to-change-position-of-svg-shape-to-centre-on-sketch/3080)

<div class="topic-metadata">

**Author:** [@12345](https://discourse.processing.org/u/12345)\
**Replies:** 2\
**Last updated:** [September 11, 2018, 4:52pm UTC](https://discourse.processing.org/t/trying-to-change-position-of-svg-shape-to-centre-on-sketch/3080 "2018-09-11T16:52:23Z")

</div>

Hi, I was wondering if anyone knew how to do this? I’ve changed my screen sketch size to 1968, 1080, however I can’t figure out how to position my shape in the centre of the screen? Sorry if this doesn’t make much sense. …

---

## [netP5 (TCP/IP networking under android)](https://discourse.processing.org/t/netp5-tcp-ip-networking-under-android/3046)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 0\
**Last updated:** [August 27, 2018, 11:50pm UTC](https://discourse.processing.org/t/netp5-tcp-ip-networking-under-android/3046 "2018-08-27T23:50:00Z")

</div>

netP5 problem: The code below only works with the delay, otherwise the Client.send() operation throws a null pointer exception. Should I check/wait for something after creating a client? Client = new TcpClient(Listener,…

---

## [Cuda programming on processing](https://discourse.processing.org/t/cuda-programming-on-processing/3017)

<div class="topic-metadata">

**Author:** [@shoaibmirza](https://discourse.processing.org/u/shoaibmirza)\
**Replies:** 2\
**Last updated:** [September 11, 2018, 2:19pm UTC](https://discourse.processing.org/t/cuda-programming-on-processing/3017 "2018-09-11T14:19:02Z")

</div>

Hi… basically i am trying to use “CUDA” on processing. is there any “cuda” library/documentation for processing? i have seen discussion on forum and it’s not working. my GPU : GTX 1070 OS : windows 10 thanks

---

## [Drawing a line on the right border of the screen](https://discourse.processing.org/t/drawing-a-line-on-the-right-border-of-the-screen/2949)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 4\
**Last updated:** [September 11, 2018, 12:42pm UTC](https://discourse.processing.org/t/drawing-a-line-on-the-right-border-of-the-screen/2949 "2018-09-11T12:42:13Z")

</div>

I am trying to draw a grid of 60px squares with a 1 pixel border in a page width of 540px, and I want the outline of each to be visible, but the right edge of the grid lines never show up. I have reduced the problem dow…

---

## [Porting sketch to Android Studio - Problem with request permission](https://discourse.processing.org/t/porting-sketch-to-android-studio-problem-with-request-permission/3454)

<div class="topic-metadata">

**Author:** [@sensn](https://discourse.processing.org/u/sensn)\
**Replies:** 5\
**Last updated:** [September 11, 2018, 11:17am UTC](https://discourse.processing.org/t/porting-sketch-to-android-studio-problem-with-request-permission/3454 "2018-09-11T11:17:13Z")

</div>

I am porting a sketch to Android Studio. The problem is: In setup() i have requestPermissons(…) In Android studio this doesn’t work, my app quits. So i tried to change to ActivityCompat.requestPermissions(this, new St…

---

## [Missing left curly bracket](https://discourse.processing.org/t/missing-left-curly-bracket/3439)

<div class="topic-metadata">

**Author:** [@Blue\_Obsidian](https://discourse.processing.org/u/Blue_Obsidian)\
**Replies:** 4\
**Last updated:** [September 11, 2018, 10:25am UTC](https://discourse.processing.org/t/missing-left-curly-bracket/3439 "2018-09-11T10:25:24Z")

</div>

class Player { float playerY = 0; float playerX; char keyUp; char keyDown; Player(char keyU, char keyD, float pX) { keyUp = keyU; keyDown = keyD; playerX = pX; } void drawPlayer () { fill(25…

---

## [Why is .plugTo() not setting the initial value with ControlP5?](https://discourse.processing.org/t/why-is-plugto-not-setting-the-initial-value-with-controlp5/3453)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 5\
**Last updated:** [September 11, 2018, 9:26am UTC](https://discourse.processing.org/t/why-is-plugto-not-setting-the-initial-value-with-controlp5/3453 "2018-09-11T09:26:23Z")

</div>

Hi! I’m using the controlP5 library to change variables inside an object. I use .plugTo() to specify which object contains the variables to control. The issue is that the slider always shows 0 when the program starts, …

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

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