# Latest

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

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

**Page:** 554

---

## [SaveString() overwrite text in .txt file](https://discourse.processing.org/t/savestring-overwrite-text-in-txt-file/5996)

<div class="topic-metadata">

**Author:** [@polispace](https://discourse.processing.org/u/polispace)\
**Replies:** 28\
**Last updated:** [November 27, 2018, 10:02pm UTC](https://discourse.processing.org/t/savestring-overwrite-text-in-txt-file/5996 "2018-11-27T22:02:32Z")

</div>

Hi everyone. I receive single words form a microphone input that I will like to save in a text file. I manage to save one word in the text file, but when i say a new word the old one get overwritten. How can I add the…

---

## [Collision detection with circle and square test](https://discourse.processing.org/t/collision-detection-with-circle-and-square-test/5859)

<div class="topic-metadata">

**Author:** [@blankbleak](https://discourse.processing.org/u/blankbleak)\
**Replies:** 5\
**Last updated:** [November 27, 2018, 6:50pm UTC](https://discourse.processing.org/t/collision-detection-with-circle-and-square-test/5859 "2018-11-27T18:50:40Z")

</div>

Hi, I am struggling with learning how to use colission detection in processing, and i would really appreciate some help, I have tried everything in my power to figure it out, but I just can’t do it. For a project in my c…

---

## [Introduction to PraxisLIVE @ Nice, Dec 1st](https://discourse.processing.org/t/introduction-to-praxislive-nice-dec-1st/5481)

<div class="topic-metadata">

**Author:** [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Replies:** 5\
**Last updated:** [November 27, 2018, 6:19pm UTC](https://discourse.processing.org/t/introduction-to-praxislive-nice-dec-1st/5481 "2018-11-27T18:19:48Z")

</div>

As part of ExperienceVJ in Nice, I’ll be doing a workshop for visualists on using Processing in PraxisLIVE. Lots of other great things on that weekend too! An Introduction to PraxisLIVE Hybrid-visual live programming …

---

## [I can't seem to download processing](https://discourse.processing.org/t/i-cant-seem-to-download-processing/6003)

<div class="topic-metadata">

**Author:** [@jackshanahan](https://discourse.processing.org/u/jackshanahan)\
**Replies:** 2\
**Last updated:** [November 27, 2018, 6:18pm UTC](https://discourse.processing.org/t/i-cant-seem-to-download-processing/6003 "2018-11-27T18:18:34Z")

</div>

I keep downloading the windows 64-bit version on my laptop and the 34 just in case and when i download them i open it and it comes up in a 7-bit file manager. I thought it would come up as an application on my homescreen…

---

## [Edit/Transform rect() together with the video beneath it?](https://discourse.processing.org/t/edit-transform-rect-together-with-the-video-beneath-it/5990)

<div class="topic-metadata">

**Author:** [@kratskcinnay](https://discourse.processing.org/u/kratskcinnay)\
**Replies:** 1\
**Last updated:** [November 27, 2018, 6:06pm UTC](https://discourse.processing.org/t/edit-transform-rect-together-with-the-video-beneath-it/5990 "2018-11-27T18:06:28Z")

</div>

Hey everyone, I’m pretty sure this should be fairly easy but I couldn’t figure out a way to do it and didn’t find anything online (probably because it’s to obvious :D). I am using using a video that i am cutting and cr…

---

## [WEBGL pointLight issue with Graphics buffer](https://discourse.processing.org/t/webgl-pointlight-issue-with-graphics-buffer/5969)

<div class="topic-metadata">

**Author:** [@r4nd0m](https://discourse.processing.org/u/r4nd0m)\
**Replies:** 1\
**Last updated:** [November 27, 2018, 4:04pm UTC](https://discourse.processing.org/t/webgl-pointlight-issue-with-graphics-buffer/5969 "2018-11-27T16:04:57Z")

</div>

Hi, does anyone know why the light source in this example is not changing position? Thanks! let gl; let offsetX = 0; function setup() { createCanvas(400, 400); gl = createGraphics(100, 100, WEBGL); } function draw(…

---

## [Draw 2D on top in VR mode](https://discourse.processing.org/t/draw-2d-on-top-in-vr-mode/5401)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 4\
**Last updated:** [November 27, 2018, 2:27pm UTC](https://discourse.processing.org/t/draw-2d-on-top-in-vr-mode/5401 "2018-11-27T14:27:31Z")

</div>

There is the eye function for the VR mode: https://android.processing.org/reference/vr/eye.html here an example from the reference: import processing.vr.\*; void setup() { fullScreen(STEREO); } void draw() { // …

---

## [NoSuchMethodException using reflection](https://discourse.processing.org/t/nosuchmethodexception-using-reflection/5976)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 6\
**Last updated:** [November 27, 2018, 2:01pm UTC](https://discourse.processing.org/t/nosuchmethodexception-using-reflection/5976 "2018-11-27T14:01:47Z")

</div>

I wan’t to use the protected method colorCalc in the PGraphics object. I get a NoSuchMethodException and I have no clue why. Can someone help? import java.lang.reflect.\*; void setup() { int c = g\_color(g, 128); } …

---

## [How to update a code that display a word-cloud with new words?](https://discourse.processing.org/t/how-to-update-a-code-that-display-a-word-cloud-with-new-words/5992)

<div class="topic-metadata">

**Author:** [@polispace](https://discourse.processing.org/u/polispace)\
**Replies:** 0\
**Last updated:** [November 27, 2018, 11:37am UTC](https://discourse.processing.org/t/how-to-update-a-code-that-display-a-word-cloud-with-new-words/5992 "2018-11-27T11:37:41Z")

</div>

Hi everyone I’m doing an installation for a project, this is my stand point. What do I want to achieve: A program that display a word-cloud (the more a specific word has been say, the bigger it appears in the word clo…

---

## [Ayuda con processing y servo motores](https://discourse.processing.org/t/ayuda-con-processing-y-servo-motores/5984)

<div class="topic-metadata">

**Author:** [@Gargantia](https://discourse.processing.org/u/Gargantia)\
**Replies:** 2\
**Last updated:** [November 27, 2018, 11:27am UTC](https://discourse.processing.org/t/ayuda-con-processing-y-servo-motores/5984 "2018-11-27T11:27:39Z")

</div>

Hola :slight\_smile: estoy haciendo un proyecto para poder controlar unos servo motores con processing y arduino pero estoy teniendo problemas con algo nuevo que añadi, lo que pasa es que ahora añadí un boton para que n…

---

## [How to increase freq with a keyPressed func over than mouseMoved](https://discourse.processing.org/t/how-to-increase-freq-with-a-keypressed-func-over-than-mousemoved/5987)

<div class="topic-metadata">

**Author:** [@admbdr](https://discourse.processing.org/u/admbdr)\
**Replies:** 1\
**Last updated:** [November 27, 2018, 10:15am UTC](https://discourse.processing.org/t/how-to-increase-freq-with-a-keypressed-func-over-than-mousemoved/5987 "2018-11-27T10:15:41Z")

</div>

import ddf.minim.\*; import ddf.minim.ugens.\*; Minim minim; AudioOutput out; Oscil wave; void setup() { size(512, 200, P3D); minim = new Minim(this); // use the getLineOut method of the Minim obj…

---

## [How to visualize forces of a particle system?](https://discourse.processing.org/t/how-to-visualize-forces-of-a-particle-system/5751)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 20\
**Last updated:** [November 27, 2018, 9:15am UTC](https://discourse.processing.org/t/how-to-visualize-forces-of-a-particle-system/5751 "2018-11-27T09:15:16Z")

</div>

I’ve got a particle system with particles that attract and repel each other based on their distance. What i need now is a way to make the forces of those particles visible. Something like a magnetic field visualization. …

---

## [Make a graph plz help](https://discourse.processing.org/t/make-a-graph-plz-help/5300)

<div class="topic-metadata">

**Author:** [@martijnroks](https://discourse.processing.org/u/martijnroks)\
**Replies:** 20\
**Last updated:** [November 27, 2018, 7:52am UTC](https://discourse.processing.org/t/make-a-graph-plz-help/5300 "2018-11-27T07:52:09Z")

</div>

Hello, I need to make a graph like this: But I need on both axis 0 to 1000. I get from the arduino random digits that I need to implemend in the graph, this needs to be in real time, so the graphs needs to update it…

---

## [Adding a stopwatch to a clock](https://discourse.processing.org/t/adding-a-stopwatch-to-a-clock/5973)

<div class="topic-metadata">

**Author:** [@yamiyugi](https://discourse.processing.org/u/yamiyugi)\
**Replies:** 1\
**Last updated:** [November 27, 2018, 5:31am UTC](https://discourse.processing.org/t/adding-a-stopwatch-to-a-clock/5973 "2018-11-27T05:31:09Z")

</div>

Hi! I’m trying to add a stopwatch to my clock. When I start the program the clock shows the current time and I want to add a stopwatch that starts when the mouse is clicked. The clock itself works but I can’t get my sto…

---

## [Netp5 send &receive (byte) negative value problem](https://discourse.processing.org/t/netp5-send-receive-byte-negative-value-problem/5942)

<div class="topic-metadata">

**Author:** [@demket](https://discourse.processing.org/u/demket)\
**Replies:** 1\
**Last updated:** [November 27, 2018, 5:11am UTC](https://discourse.processing.org/t/netp5-send-receive-byte-negative-value-problem/5942 "2018-11-27T05:11:48Z")

</div>

Hello, I need to send and receive 1 MB file between android tablet and esp32. I did in java mode with “processing.net” library on windows. “processing.net” doesn’t work android mode, so I decided to use netp5 lib withou…

---

## [Best Way of Mixing in UI Elements?](https://discourse.processing.org/t/best-way-of-mixing-in-ui-elements/5979)

<div class="topic-metadata">

**Author:** [@MauiMana](https://discourse.processing.org/u/MauiMana)\
**Replies:** 2\
**Last updated:** [November 27, 2018, 1:40am UTC](https://discourse.processing.org/t/best-way-of-mixing-in-ui-elements/5979 "2018-11-27T01:40:52Z")

</div>

I’m fairly new to ‘processing’ so please forgive me if I’m missing something obvious. I’m needing to add some user interaction to my processing application. At the very minimum I’m looking to be able to pose various ques…

---

## [Question about OOP](https://discourse.processing.org/t/question-about-oop/5960)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 1\
**Last updated:** [November 27, 2018, 12:15am UTC](https://discourse.processing.org/t/question-about-oop/5960 "2018-11-27T00:15:42Z")

</div>

hello! i\`ve a deep question: imagine that you have objects (maybe an ellipse) and differents behaviors (move up, down, left, rigth) what would be the best way to program in a OOP paradigm? using interfaces? i mean, i wou…

---

## [How to add a trail particle effect to a moving circle?](https://discourse.processing.org/t/how-to-add-a-trail-particle-effect-to-a-moving-circle/5967)

<div class="topic-metadata">

**Author:** [@francium401](https://discourse.processing.org/u/francium401)\
**Replies:** 1\
**Last updated:** [November 26, 2018, 9:09pm UTC](https://discourse.processing.org/t/how-to-add-a-trail-particle-effect-to-a-moving-circle/5967 "2018-11-26T21:09:30Z")

</div>

Basically what I have here is a circle orbiting another (very tinier) circle. What I’ve been trying to figure out is how to add a trail particle effect to the orbiting circle, where the end of the trail fades from white…

---

## [Debugging Game P5js](https://discourse.processing.org/t/debugging-game-p5js/5966)

<div class="topic-metadata">

**Author:** [@shoneyjosh](https://discourse.processing.org/u/shoneyjosh)\
**Replies:** 1\
**Last updated:** [November 26, 2018, 8:17pm UTC](https://discourse.processing.org/t/debugging-game-p5js/5966 "2018-11-26T20:17:35Z")

</div>

It is a game where you avoid the incoming enemies. Uncaught TypeError: Cannot read property ‘x’ of undefined (sketch: line 62) whenever the enemy hits the player //loop through all enemies for(var i = 0; i \< enemies…

---

## [Collision between two ArrayList elements](https://discourse.processing.org/t/collision-between-two-arraylist-elements/5932)

<div class="topic-metadata">

**Author:** [@Rangerz132](https://discourse.processing.org/u/Rangerz132)\
**Replies:** 10\
**Last updated:** [November 26, 2018, 7:27pm UTC](https://discourse.processing.org/t/collision-between-two-arraylist-elements/5932 "2018-11-26T19:27:52Z")

</div>

Hi everyone! I’m currently at University in Multimedia and I’m learning Processing (which is pretty cool). For my lastest project, I need to do a game where there is some collisions. The problem is that I know how to d…

---

## [Generative floor plans with Permutation algorithm](https://discourse.processing.org/t/generative-floor-plans-with-permutation-algorithm/5140)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 7\
**Last updated:** [November 26, 2018, 7:22pm UTC](https://discourse.processing.org/t/generative-floor-plans-with-permutation-algorithm/5140 "2018-11-26T19:22:36Z")

</div>

Dear all, I would need your help to implement a permutation algorithm allowing the generation of building plans, that I’ve recently stumbled on while reading Professor Kostas Terzidis’ latest publication: Permutation D…

---

## [Debugging dodgeball game: “Cannot read property ‘x’ of undefined” when hit](https://discourse.processing.org/t/debugging-dodgeball-game-cannot-read-property-x-of-undefined-when-hit/5962)

<div class="topic-metadata">

**Author:** [@shoneyjosh](https://discourse.processing.org/u/shoneyjosh)\
**Replies:** 2\
**Last updated:** [November 26, 2018, 6:05pm UTC](https://discourse.processing.org/t/debugging-dodgeball-game-cannot-read-property-x-of-undefined-when-hit/5962 "2018-11-26T18:05:58Z")

</div>

I made a game where you need to dodge the dodgeballs and it says “Cannot read property ‘x’ of undefined” whenever I get hit by an enemy. Any ideas? var player; var enemies = \[\]; var score = 0; var gameState; var lives =…

---

## [Can't open Processing in other ARM devices](https://discourse.processing.org/t/cant-open-processing-in-other-arm-devices/5963)

<div class="topic-metadata">

**Author:** [@tadeu21](https://discourse.processing.org/u/tadeu21)\
**Replies:** 0\
**Last updated:** [November 26, 2018, 5:52pm UTC](https://discourse.processing.org/t/cant-open-processing-in-other-arm-devices/5963 "2018-11-26T17:52:41Z")

</div>

Hi, I’m a newbie to processing. I was trying to make the Visual Synth (https://pi.processing.org/tutorial/visual-synth/) work on the ARM devices i own: Pine A64+ (2gb) and Khadas Vim2 Pro. Both 64 bits. In both devices…

---

## [AV Particle System Experiment](https://discourse.processing.org/t/av-particle-system-experiment/5958)

<div class="topic-metadata">

**Author:** [@deerfeeder](https://discourse.processing.org/u/deerfeeder)\
**Replies:** 0\
**Last updated:** [November 26, 2018, 4:31pm UTC](https://discourse.processing.org/t/av-particle-system-experiment/5958 "2018-11-26T16:31:08Z")

</div>

I’m currently working on the visuals for my new liveset (analog synths + vcv rack + midi). This is one of the outputs so far. A customized example from the PixelFlow Library. Some of the params are controlled and synced …

---

## [Is there a way to use createCapture in React?](https://discourse.processing.org/t/is-there-a-way-to-use-createcapture-in-react/5955)

<div class="topic-metadata">

**Author:** [@cristiano](https://discourse.processing.org/u/cristiano)\
**Replies:** 3\
**Last updated:** [November 26, 2018, 3:58pm UTC](https://discourse.processing.org/t/is-there-a-way-to-use-createcapture-in-react/5955 "2018-11-26T15:58:07Z")

</div>

I’m attempting to draw a video along with a few shapes using p5.js on a React app. I’ve noticed that p5.dom.js is not available for React and probably for good reason. This stopped me from using createCapture(VIDEO) so …

---

## [How do you display motion/coded art at home?](https://discourse.processing.org/t/how-do-you-display-motion-coded-art-at-home/5852)

<div class="topic-metadata">

**Author:** [@Vane\_Tempest](https://discourse.processing.org/u/Vane_Tempest)\
**Replies:** 5\
**Last updated:** [November 26, 2018, 3:34pm UTC](https://discourse.processing.org/t/how-do-you-display-motion-coded-art-at-home/5852 "2018-11-26T15:34:21Z")

</div>

Does anyone display generative/coded/motion artwork (yours or other peoples) at home? I always find it such a shame that motion artwork is often printed as a snapshot, instead of being displayed in its native format wit…

---

## [Sliding matrix of circles, can't generate or fill new row of circles in 2D array](https://discourse.processing.org/t/sliding-matrix-of-circles-cant-generate-or-fill-new-row-of-circles-in-2d-array/5925)

<div class="topic-metadata">

**Author:** [@gio](https://discourse.processing.org/u/gio)\
**Replies:** 3\
**Last updated:** [November 26, 2018, 1:38pm UTC](https://discourse.processing.org/t/sliding-matrix-of-circles-cant-generate-or-fill-new-row-of-circles-in-2d-array/5925 "2018-11-26T13:38:22Z")

</div>

Hi am creating a 2D array of circles, which slides down every second. Right now if the height of the circles is bigger than the sketch height, it resets the height of the circles to the top. So, i generate once a grid …

---

## [Fixed size with scroll](https://discourse.processing.org/t/fixed-size-with-scroll/5947)

<div class="topic-metadata">

**Author:** [@HelaRua](https://discourse.processing.org/u/HelaRua)\
**Replies:** 1\
**Last updated:** [November 26, 2018, 12:40pm UTC](https://discourse.processing.org/t/fixed-size-with-scroll/5947 "2018-11-26T12:40:15Z")

</div>

Hi :slight\_smile: I’m very new to processing. —noob alert— For my college project I’m trying to create a background with a fixed size at first glance (2560x1600) but is in reality bigger than that (3840x3200), allowing…

---

## [Depth of Field effect with a shader](https://discourse.processing.org/t/depth-of-field-effect-with-a-shader/265)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 11\
**Last updated:** [November 26, 2018, 9:02am UTC](https://discourse.processing.org/t/depth-of-field-effect-with-a-shader/265 "2018-11-26T09:02:16Z")

</div>

Hi all, As some of you may already know I’m trying to make a Depth of Field effect in Python mode. I’ve recently stumbled onto this thread where I could get hold of a Proscene DOF demo sketch based on the following sha…

---

## [Trouble with sampleRate() in Processing](https://discourse.processing.org/t/trouble-with-samplerate-in-processing/5906)

<div class="topic-metadata">

**Author:** [@nomnom](https://discourse.processing.org/u/nomnom)\
**Replies:** 2\
**Last updated:** [November 26, 2018, 8:32am UTC](https://discourse.processing.org/t/trouble-with-samplerate-in-processing/5906 "2018-11-26T08:32:25Z")

</div>

Hi! I just got started with programming and I’m having some trouble with an assignment. As far as I understand this, I’ve followed the instructions of the documentation correctly, but my code still doesn’t work. I’m tr…

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

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