# Latest

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

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

**Page:** 557

---

## [Using processing for the HTC Vive](https://discourse.processing.org/t/using-processing-for-the-htc-vive/5764)

<div class="topic-metadata">

**Author:** [@donzilll](https://discourse.processing.org/u/donzilll)\
**Replies:** 1\
**Last updated:** [November 20, 2018, 7:55pm UTC](https://discourse.processing.org/t/using-processing-for-the-htc-vive/5764 "2018-11-20T19:55:56Z")

</div>

Hello everyone, I have a HTC Vive and am interested in creating processing sketches to use in VR. I found a great library that does exactly that: It has been great so far but I found have found it be quite limited …

---

## [Algorithmic music video made with Processing, released on raster media](https://discourse.processing.org/t/algorithmic-music-video-made-with-processing-released-on-raster-media/5773)

<div class="topic-metadata">

**Author:** [@kesson](https://discourse.processing.org/u/kesson)\
**Replies:** 0\
**Last updated:** [November 20, 2018, 5:36pm UTC](https://discourse.processing.org/t/algorithmic-music-video-made-with-processing-released-on-raster-media/5773 "2018-11-20T17:36:32Z")

</div>

Hello, I just released a video entirely made with Processing (and custom GLSL). The work is entirely synchronized with the music (involving FFT analysis, beat detection and sound spectrum analysis), and it was recordin…

---

## [Question about deleting an object](https://discourse.processing.org/t/question-about-deleting-an-object/5760)

<div class="topic-metadata">

**Author:** [@Jeany](https://discourse.processing.org/u/Jeany)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 2:29pm UTC](https://discourse.processing.org/t/question-about-deleting-an-object/5760 "2018-11-20T14:29:33Z")

</div>

Hello, I’m working with a team on a school project and we’re making a little race game. Sadly we are stuck on a bug/problem we are having. I hoped someone would help us here. We would really appreciate it! So the probl…

---

## [Modyfing headers in P5 HttpPost request?](https://discourse.processing.org/t/modyfing-headers-in-p5-httppost-request/5713)

<div class="topic-metadata">

**Author:** [@Noxid](https://discourse.processing.org/u/Noxid)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 4:55am UTC](https://discourse.processing.org/t/modyfing-headers-in-p5-httppost-request/5713 "2018-11-20T04:55:56Z")

</div>

Is it possible to modify the headers of an httpPost request made trough the httpPost() function in P5?For example adding a http authorization header?

---

## [Rotate a Sphere to have a point on the surface be centered on screen](https://discourse.processing.org/t/rotate-a-sphere-to-have-a-point-on-the-surface-be-centered-on-screen/5712)

<div class="topic-metadata">

**Author:** [@FedFod](https://discourse.processing.org/u/FedFod)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 4:50am UTC](https://discourse.processing.org/t/rotate-a-sphere-to-have-a-point-on-the-surface-be-centered-on-screen/5712 "2018-11-20T04:50:25Z")

</div>

Hi all, this is the scenario: I have a sphere made up of an array of vec3 vertices. When I click a button, I want that the whole sphere rotates in a way that the vertex I selected gets positioned in the center of the s…

---

## [Not reading text file for example on website](https://discourse.processing.org/t/not-reading-text-file-for-example-on-website/5750)

<div class="topic-metadata">

**Author:** [@Oz\_joker](https://discourse.processing.org/u/Oz_joker)\
**Replies:** 3\
**Last updated:** [November 20, 2018, 4:32am UTC](https://discourse.processing.org/t/not-reading-text-file-for-example-on-website/5750 "2018-11-20T04:32:31Z")

</div>

Hi, I’m trying to get this simple example to work from your website: https://processing.org/examples/loadfile1.html I’ve made a text file called positions.txt, and followed the instructions on the website, "Loads a te…

---

## [Anti-rotation command](https://discourse.processing.org/t/anti-rotation-command/5752)

<div class="topic-metadata">

**Author:** [@alk5603](https://discourse.processing.org/u/alk5603)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 4:27am UTC](https://discourse.processing.org/t/anti-rotation-command/5752 "2018-11-20T04:27:12Z")

</div>

float angle = 0, radius = 300; int num = 6; void setup() { size(800, 800); fill(255); } void draw() { fill(0, 20); rect(-50, -50, width+100, height+100); translate(width/2, height/2); rotate(angle); if (mouseP…

---

## [Hello my name is Alejo, I wanted to know if processing can add lights on the screen? in the case that yes. What objects should I use? From already thank you very much](https://discourse.processing.org/t/hello-my-name-is-alejo-i-wanted-to-know-if-processing-can-add-lights-on-the-screen-in-the-case-that-yes-what-objects-should-i-use-from-already-thank-you-very-much/5747)

<div class="topic-metadata">

**Author:** [@alejo.corvalann](https://discourse.processing.org/u/alejo.corvalann)\
**Replies:** 1\
**Last updated:** [November 20, 2018, 12:21am UTC](https://discourse.processing.org/t/hello-my-name-is-alejo-i-wanted-to-know-if-processing-can-add-lights-on-the-screen-in-the-case-that-yes-what-objects-should-i-use-from-already-thank-you-very-much/5747 "2018-11-20T00:21:11Z")

</div>

Hello my name is Alejo, I wanted to know if processing can add lights on the screen? in the case that yes. What objects should I use? From already thank you very much

---

## [What's going on under the hood with p5js?](https://discourse.processing.org/t/whats-going-on-under-the-hood-with-p5js/5703)

<div class="topic-metadata">

**Author:** [@davidj](https://discourse.processing.org/u/davidj)\
**Replies:** 7\
**Last updated:** [November 20, 2018, 12:20am UTC](https://discourse.processing.org/t/whats-going-on-under-the-hood-with-p5js/5703 "2018-11-20T00:20:10Z")

</div>

I’m new to processing/p5.js, but not new to javascript/web development. If you’re interested, here’s a generative art project I created with a library I created from scratch - based on HTML5 canvas. Something that seems…

---

## [curvePoint() documentation?](https://discourse.processing.org/t/curvepoint-documentation/5601)

<div class="topic-metadata">

**Author:** [@mzed](https://discourse.processing.org/u/mzed)\
**Replies:** 3\
**Last updated:** [November 20, 2018, 12:15am UTC](https://discourse.processing.org/t/curvepoint-documentation/5601 "2018-11-20T00:15:52Z")

</div>

I’m pretty sure that the documentation for the curvePoint() function in p5.js is wrong. Am I crazy? It is here: https://p5js.org/reference/#/p5/curvePoint I think the parameters should be: Parameters a Number: coordi…

---

## [Processing, Raspberry Pi, and DotStar/neopixel](https://discourse.processing.org/t/processing-raspberry-pi-and-dotstar-neopixel/5608)

<div class="topic-metadata">

**Author:** [@bluemoon](https://discourse.processing.org/u/bluemoon)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 12:15am UTC](https://discourse.processing.org/t/processing-raspberry-pi-and-dotstar-neopixel/5608 "2018-11-20T00:15:49Z")

</div>

Hey Folks, Has anyone used DotStar and NeoPixel LEDs with Processing and Raspberry Pi? It should be possible since Processing can access the GPIO but there’s not a library that I can find. Thanks for the help!

---

## [Looking for a developer for an installation in December](https://discourse.processing.org/t/looking-for-a-developer-for-an-installation-in-december/5742)

<div class="topic-metadata">

**Author:** [@interfase](https://discourse.processing.org/u/interfase)\
**Replies:** 0\
**Last updated:** [November 20, 2018, 12:15am UTC](https://discourse.processing.org/t/looking-for-a-developer-for-an-installation-in-december/5742 "2018-11-20T00:15:45Z")

</div>

Hi, we’re Interfase, Italy, we’re looking for a programmer that supports us in the development for an interactive installation. The installation has to be ready for the 20th of December, it will be in North Italy. Short…

---

## [I need help morphing two jpg images](https://discourse.processing.org/t/i-need-help-morphing-two-jpg-images/5722)

<div class="topic-metadata">

**Author:** [@morphinghero](https://discourse.processing.org/u/morphinghero)\
**Replies:** 1\
**Last updated:** [November 19, 2018, 11:08pm UTC](https://discourse.processing.org/t/i-need-help-morphing-two-jpg-images/5722 "2018-11-19T23:08:31Z")

</div>

Does anyone know how to morph two jpg images using Processing? If so can I please have the code for it I am stuck and I cannot find the information everywhere.

---

## [A caught error exception occurred on Raspberry Pi](https://discourse.processing.org/t/a-caught-error-exception-occurred-on-raspberry-pi/1129)

<div class="topic-metadata">

**Author:** [@Samsanit](https://discourse.processing.org/u/Samsanit)\
**Replies:** 5\
**Last updated:** [June 22, 2018, 9:55pm UTC](https://discourse.processing.org/t/a-caught-error-exception-occurred-on-raspberry-pi/1129 "2018-06-22T21:55:01Z")

</div>

Hi, while working with processing on raspberry pi I was attempting to have a second screen pop up with data I had gathered in a separate method. On short runs (about 1 minute or less), the code is able to make this witho…

---

## [Some algorithmic image making using Processing](https://discourse.processing.org/t/some-algorithmic-image-making-using-processing/5723)

<div class="topic-metadata">

**Author:** [@Craig](https://discourse.processing.org/u/Craig)\
**Replies:** 2\
**Last updated:** [November 19, 2018, 9:48pm UTC](https://discourse.processing.org/t/some-algorithmic-image-making-using-processing/5723 "2018-11-19T21:48:39Z")

</div>

I have been using Processing for a while to generate high-resolution images that are primarily used to make large inkjet prints. I made this video to discuss about the process and show how some of the ideas developed. Pl…

---

## [APDE and switch(String) compile errors](https://discourse.processing.org/t/apde-and-switch-string-compile-errors/5649)

<div class="topic-metadata">

**Author:** [@InSat](https://discourse.processing.org/u/InSat)\
**Replies:** 1\
**Last updated:** [November 19, 2018, 9:35pm UTC](https://discourse.processing.org/t/apde-and-switch-string-compile-errors/5649 "2018-11-19T21:35:31Z")

</div>

Hello, I’m a begginer with APDE and processing, and meed some help. I create this sketch on Processing 3.4 in Windows : no PB, it’s juste a sample. //------------------------- String state = “none”; int w, h; void s…

---

## [APDE Pimage.copy() compile error](https://discourse.processing.org/t/apde-pimage-copy-compile-error/5650)

<div class="topic-metadata">

**Author:** [@InSat](https://discourse.processing.org/u/InSat)\
**Replies:** 1\
**Last updated:** [November 19, 2018, 9:33pm UTC](https://discourse.processing.org/t/apde-pimage-copy-compile-error/5650 "2018-11-19T21:33:12Z")

</div>

Hello, I’m a beginer in Processing using APDE on Phone and Processing on Windows. If anyone can help me. I create this sketch on Windows, this is a stupid sample but it’s run fine. //-----------------------------------…

---

## [Array of Lines that move different to each other Perlin Noise](https://discourse.processing.org/t/array-of-lines-that-move-different-to-each-other-perlin-noise/5564)

<div class="topic-metadata">

**Author:** [@ronantuite](https://discourse.processing.org/u/ronantuite)\
**Replies:** 5\
**Last updated:** [November 19, 2018, 5:45pm UTC](https://discourse.processing.org/t/array-of-lines-that-move-different-to-each-other-perlin-noise/5564 "2018-11-19T17:45:55Z")

</div>

I have a sketch that makes a multiple of vertex lines using beginShape(); and endShape();. They move using Perlin Noise. My problem is that I want each line to move differently while at this moment they all have the same…

---

## [Culling text outside of a certain bounds?](https://discourse.processing.org/t/culling-text-outside-of-a-certain-bounds/5701)

<div class="topic-metadata">

**Author:** [@Bluu](https://discourse.processing.org/u/Bluu)\
**Replies:** 2\
**Last updated:** [November 19, 2018, 2:14pm UTC](https://discourse.processing.org/t/culling-text-outside-of-a-certain-bounds/5701 "2018-11-19T14:14:32Z")

</div>

I’m making a scrolling textbox(much like an HTML textarea) in a processing project, but when the box is full and has nowhere to overflow, it bleeds into other elements. is there any way to make the text only appear withi…

---

## [Flickering background when updating img.pixels\[\] in another thread](https://discourse.processing.org/t/flickering-background-when-updating-img-pixels-in-another-thread/5710)

<div class="topic-metadata">

**Author:** [@companje](https://discourse.processing.org/u/companje)\
**Replies:** 2\
**Last updated:** [November 19, 2018, 2:10pm UTC](https://discourse.processing.org/t/flickering-background-when-updating-img-pixels-in-another-thread/5710 "2018-11-19T14:10:11Z")

</div>

Hello, When I’m updating the pixels of an PImage in a different thread this somehow effects the background of my main (P3D) sketch (on both Mac and Window). Even when the image is not bound as a texture. Any idea? PIma…

---

## [Text() and Delay()](https://discourse.processing.org/t/text-and-delay/5698)

<div class="topic-metadata">

**Author:** [@CodeMonkey](https://discourse.processing.org/u/CodeMonkey)\
**Replies:** 8\
**Last updated:** [November 19, 2018, 11:17am UTC](https://discourse.processing.org/t/text-and-delay/5698 "2018-11-19T11:17:28Z")

</div>

I want text to appear on the screen, but letter by letter and slowly. When I execute this code nothing is displayed to the user and I’m unsure as to why. String textLine = “This is a test to see if I can do this”; St…

---

## [Using Beads or other libraries for multichannel audio output](https://discourse.processing.org/t/using-beads-or-other-libraries-for-multichannel-audio-output/5648)

<div class="topic-metadata">

**Author:** [@danpaul](https://discourse.processing.org/u/danpaul)\
**Replies:** 3\
**Last updated:** [November 19, 2018, 10:50am UTC](https://discourse.processing.org/t/using-beads-or-other-libraries-for-multichannel-audio-output/5648 "2018-11-19T10:50:56Z")

</div>

I’m looking for an audio library that supports multichannel (at least 4) audio outputs. From the research I’ve done, it sounds like Beads should support this but I’m not able to find specific information in the beads tut…

---

## [Newbie question: can't load JSON with url](https://discourse.processing.org/t/newbie-question-cant-load-json-with-url/5665)

<div class="topic-metadata">

**Author:** [@Ivano](https://discourse.processing.org/u/Ivano)\
**Replies:** 7\
**Last updated:** [November 19, 2018, 8:30am UTC](https://discourse.processing.org/t/newbie-question-cant-load-json-with-url/5665 "2018-11-19T08:30:14Z")

</div>

Hi I manage to solve all of the problems i encountered on my own, by reading reference page, googling, by watching yt tutorials… but i have problem with loading JSON with url which is not working even thought I done eve…

---

## [TTS sketch not working, why?](https://discourse.processing.org/t/tts-sketch-not-working-why/5681)

<div class="topic-metadata">

**Author:** [@GeorgeJava](https://discourse.processing.org/u/GeorgeJava)\
**Replies:** 1\
**Last updated:** [November 19, 2018, 5:32am UTC](https://discourse.processing.org/t/tts-sketch-not-working-why/5681 "2018-11-19T05:32:32Z")

</div>

Hello this sketch dont working i want to write some text and spell it from google translator, do you have some working library or code for TTS ? text to speak ? import java.net.\*; File f; import java.io.FileOutputStrea…

---

## [Replicate inbuilt functions](https://discourse.processing.org/t/replicate-inbuilt-functions/5473)

<div class="topic-metadata">

**Author:** [@Dee-3\_123](https://discourse.processing.org/u/Dee-3_123)\
**Replies:** 9\
**Last updated:** [November 19, 2018, 5:40am UTC](https://discourse.processing.org/t/replicate-inbuilt-functions/5473 "2018-11-19T05:40:51Z")

</div>

I want to understand the logic of below functions… 10. float pow(float n, int pow) 13. int String.indexOf(String str) 14. boolean String.contains(String str) 16. boolean String.equalsIgnoreCase(String str)

---

## [How to connect two computers via OSC?](https://discourse.processing.org/t/how-to-connect-two-computers-via-osc/5635)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 2\
**Last updated:** [November 19, 2018, 5:39am UTC](https://discourse.processing.org/t/how-to-connect-two-computers-via-osc/5635 "2018-11-19T05:39:47Z")

</div>

hello everyone! how can i send messages from one computer to another via OSC? can anybody enlightme ? thanks!

---

## [Help with reading keywords from a .txt file to send to Arduino to turn into a tone](https://discourse.processing.org/t/help-with-reading-keywords-from-a-txt-file-to-send-to-arduino-to-turn-into-a-tone/5699)

<div class="topic-metadata">

**Author:** [@jonbearpig](https://discourse.processing.org/u/jonbearpig)\
**Replies:** 1\
**Last updated:** [November 19, 2018, 4:21am UTC](https://discourse.processing.org/t/help-with-reading-keywords-from-a-txt-file-to-send-to-arduino-to-turn-into-a-tone/5699 "2018-11-19T04:21:37Z")

</div>

Hi, I’m trying to use Processing to read a .txt file from my computer, search for specific keywords from this file, and send information to Arduino via the serial port so that Arduino can turn the keyword into a specifi…

---

## [How do I send variables from text fields in processing to Arduino?](https://discourse.processing.org/t/how-do-i-send-variables-from-text-fields-in-processing-to-arduino/5691)

<div class="topic-metadata">

**Author:** [@Mahrokh](https://discourse.processing.org/u/Mahrokh)\
**Replies:** 1\
**Last updated:** [November 18, 2018, 9:42pm UTC](https://discourse.processing.org/t/how-do-i-send-variables-from-text-fields-in-processing-to-arduino/5691 "2018-11-18T21:42:31Z")

</div>

In my Arduino project, I’ve been sending data to the board via serial monitor in Arduino IDE. Here’s a part of my code from the Arduino: \`while (Serial.available() \> 0) { // look for the next valid integer/float i…

---

## [Save sound p5.sound](https://discourse.processing.org/t/save-sound-p5-sound/1985)

<div class="topic-metadata">

**Author:** [@sribarr](https://discourse.processing.org/u/sribarr)\
**Replies:** 1\
**Last updated:** [November 18, 2018, 9:28pm UTC](https://discourse.processing.org/t/save-sound-p5-sound/1985 "2018-11-18T21:28:55Z")

</div>

How to save sound recordings to a different folder other than the downloads

---

## [Walking removes scale of snake](https://discourse.processing.org/t/walking-removes-scale-of-snake/1657)

<div class="topic-metadata">

**Author:** [@ville2008](https://discourse.processing.org/u/ville2008)\
**Replies:** 1\
**Last updated:** [November 18, 2018, 9:24pm UTC](https://discourse.processing.org/t/walking-removes-scale-of-snake/1657 "2018-11-18T21:24:50Z")

</div>

when i play my game and eat a food and then move it sometimes removes my scale heres my source code sketch source: (where my move runs) var s; var scl = 20; var food = 20; var foods = 0; var foodU = foods; functio…

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

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