# Latest

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

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

**Page:** 590

---

## [Rotating PMatrix3D around axis](https://discourse.processing.org/t/rotating-pmatrix3d-around-axis/3190)

<div class="topic-metadata">

**Author:** [@bontempos](https://discourse.processing.org/u/bontempos)\
**Replies:** 4\
**Last updated:** [September 3, 2018, 2:12am UTC](https://discourse.processing.org/t/rotating-pmatrix3d-around-axis/3190 "2018-09-03T02:12:32Z")

</div>

I wanted to make the black line to spin on a plane formed by 2 vectors (a2, b2) (and the origin). I am trying to rotate a matrix around the cross product btw a2 and b2 (green line) using the rotate (angle, v0, v1, v2) me…

---

## [Change rgb pixel color when overllaping](https://discourse.processing.org/t/change-rgb-pixel-color-when-overllaping/3180)

<div class="topic-metadata">

**Author:** [@tefa](https://discourse.processing.org/u/tefa)\
**Replies:** 10\
**Last updated:** [September 3, 2018, 1:20am UTC](https://discourse.processing.org/t/change-rgb-pixel-color-when-overllaping/3180 "2018-09-03T01:20:05Z")

</div>

Hello everyone, I wrote a well commented code. I want to change the color of an object but only the part that is overlapping with a shape (rectangle). Please help me, thank you for your time. import processing.video.\*; …

---

## [How can I change the properties of a elements :focus in p5?](https://discourse.processing.org/t/how-can-i-change-the-properties-of-a-elements-focus-in-p5/3208)

<div class="topic-metadata">

**Author:** [@kiko](https://discourse.processing.org/u/kiko)\
**Replies:** 6\
**Last updated:** [September 3, 2018, 12:56am UTC](https://discourse.processing.org/t/how-can-i-change-the-properties-of-a-elements-focus-in-p5/3208 "2018-09-03T00:56:51Z")

</div>

So I have an input stored as a variable. let input = createInput(); Now, I want to remove the border that is created when you click on it. I know that can be done in css with input:focus{ outline:none; } So how…

---

## [Dropping objects](https://discourse.processing.org/t/dropping-objects/3114)

<div class="topic-metadata">

**Author:** [@tefa](https://discourse.processing.org/u/tefa)\
**Replies:** 3\
**Last updated:** [September 2, 2018, 11:05pm UTC](https://discourse.processing.org/t/dropping-objects/3114 "2018-09-02T23:05:21Z")

</div>

Hello Processors, thank you for your time. I have an array of object moving on their y axes until a certain “ground” point. It works fine, but when I scale the objects to be different sizes the objects don’t stop exactly…

---

## [Change shape by sound input](https://discourse.processing.org/t/change-shape-by-sound-input/2877)

<div class="topic-metadata">

**Author:** [@kiraw](https://discourse.processing.org/u/kiraw)\
**Replies:** 8\
**Last updated:** [September 2, 2018, 10:19pm UTC](https://discourse.processing.org/t/change-shape-by-sound-input/2877 "2018-09-02T22:19:05Z")

</div>

Hey, after my first problem get solved here, I hope someone can help me again. :slight\_smile: I want the shape (as you can hopefully see on the picture) is changing by sound input. When the sound is loud, the shape shou…

---

## [saveJSON() downloads instead off saving the json file](https://discourse.processing.org/t/savejson-downloads-instead-off-saving-the-json-file/2755)

<div class="topic-metadata">

**Author:** [@ville2008](https://discourse.processing.org/u/ville2008)\
**Replies:** 2\
**Last updated:** [September 2, 2018, 9:19pm UTC](https://discourse.processing.org/t/savejson-downloads-instead-off-saving-the-json-file/2755 "2018-09-02T21:19:05Z")

</div>

i am trying to use a json file to save how many people have downloaded my program but when i use saveJSON it just downloads a file instead off saving the file

---

## [Draw 1 frame only](https://discourse.processing.org/t/draw-1-frame-only/3206)

<div class="topic-metadata">

**Author:** [@dislo](https://discourse.processing.org/u/dislo)\
**Replies:** 3\
**Last updated:** [September 2, 2018, 9:05pm UTC](https://discourse.processing.org/t/draw-1-frame-only/3206 "2018-09-02T21:05:31Z")

</div>

i just want to draw one picture, no animation. is this possible?

---

## [mousePressed not working with P5.Dom button creation](https://discourse.processing.org/t/mousepressed-not-working-with-p5-dom-button-creation/3203)

<div class="topic-metadata">

**Author:** [@tmarasco125](https://discourse.processing.org/u/tmarasco125)\
**Replies:** 3\
**Last updated:** [September 2, 2018, 8:55pm UTC](https://discourse.processing.org/t/mousepressed-not-working-with-p5-dom-button-creation/3203 "2018-09-02T20:55:50Z")

</div>

Hi! I just started using the newest version of p5.js and p5.dom.js, and the mousePressed() method throws an error when a DOM button is clicked. Here is my code: var button; function setup(){ noCanvas(); button = cr…

---

## [Controlp5 TextAlign](https://discourse.processing.org/t/controlp5-textalign/2988)

<div class="topic-metadata">

**Author:** [@KeremTurkyilmaz](https://discourse.processing.org/u/KeremTurkyilmaz)\
**Replies:** 1\
**Last updated:** [September 2, 2018, 7:30pm UTC](https://discourse.processing.org/t/controlp5-textalign/2988 "2018-09-02T19:30:12Z")

</div>

Hi Guys, I’m trying to add a buttonRadio that control text Align, but I don’t know how to assign a variable that control the LEFT and CENTER button. I’m using Processing width controlp5 library. Thanks a lot.!

---

## [ES6 usage with p5 ide mode](https://discourse.processing.org/t/es6-usage-with-p5-ide-mode/3196)

<div class="topic-metadata">

**Author:** [@kokoo](https://discourse.processing.org/u/kokoo)\
**Replies:** 1\
**Last updated:** [September 2, 2018, 6:06pm UTC](https://discourse.processing.org/t/es6-usage-with-p5-ide-mode/3196 "2018-09-02T18:06:26Z")

</div>

Processing IDE gives errors due to some syntax checking that p5js-mode was using. Are there any plans for ecmascript 6 implementation in editor? Can’t use ‘let’ and classes

---

## [How to make a custom event](https://discourse.processing.org/t/how-to-make-a-custom-event/3161)

<div class="topic-metadata">

**Author:** [@LazyDk](https://discourse.processing.org/u/LazyDk)\
**Replies:** 9\
**Last updated:** [September 2, 2018, 5:49pm UTC](https://discourse.processing.org/t/how-to-make-a-custom-event/3161 "2018-09-02T17:49:27Z")

</div>

Hey there, I’m currently making a small game and I wanted to implement different screens so I would have a Main Screen, a Settings Screen, and a Game Screen. So first I wanted to set up the main screen and it would cont…

---

## [Delta operators, and magicaly changing PVectors](https://discourse.processing.org/t/delta-operators-and-magicaly-changing-pvectors/3189)

<div class="topic-metadata">

**Author:** [@BodaciousBrian](https://discourse.processing.org/u/BodaciousBrian)\
**Replies:** 3\
**Last updated:** [September 2, 2018, 4:13pm UTC](https://discourse.processing.org/t/delta-operators-and-magicaly-changing-pvectors/3189 "2018-09-02T16:13:52Z")

</div>

Solution at the bottom of post, but I can’t offer an explanation! I’m trying to make a delta operator to keep track of change in velocity, and I encountered something I have never seen in any language before. I store o…

---

## [Distributing debug builds - ok?](https://discourse.processing.org/t/distributing-debug-builds-ok/3172)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 3\
**Last updated:** [September 2, 2018, 1:43pm UTC](https://discourse.processing.org/t/distributing-debug-builds-ok/3172 "2018-09-02T13:43:24Z")

</div>

After “run sketch in emulator”, the temporary build folder (named at beginning of build process) contains an apk in the app\\build\\outputs\\apk\\debug subdirectory. Is there any reason why developers who are not interested …

---

## [I made a space fighting game](https://discourse.processing.org/t/i-made-a-space-fighting-game/2989)

<div class="topic-metadata">

**Author:** [@Extension\_Shoe](https://discourse.processing.org/u/Extension_Shoe)\
**Replies:** 10\
**Last updated:** [September 2, 2018, 9:48am UTC](https://discourse.processing.org/t/i-made-a-space-fighting-game/2989 "2018-09-02T09:48:13Z")

</div>

hey guys i recently started to work with p5 i made a small space fighting game and its online likle agar.io i was hoping you could check it out https://extensionshoe.github.io/

---

## [Making an enemy follow a path made by pathfinder java](https://discourse.processing.org/t/making-an-enemy-follow-a-path-made-by-pathfinder-java/3178)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 4\
**Last updated:** [September 2, 2018, 5:40am UTC](https://discourse.processing.org/t/making-an-enemy-follow-a-path-made-by-pathfinder-java/3178 "2018-09-02T05:40:14Z")

</div>

OK, so I been searching and searching for pathfinder stuff in java and finally found how to make a pathfinder that can avoid walls. But my trouble is how to make the enemy follow the path. I been looking it up but been g…

---

## [Width and height return 0](https://discourse.processing.org/t/width-and-height-return-0/3177)

<div class="topic-metadata">

**Author:** [@BodaciousBrian](https://discourse.processing.org/u/BodaciousBrian)\
**Replies:** 3\
**Last updated:** [September 2, 2018, 3:30am UTC](https://discourse.processing.org/t/width-and-height-return-0/3177 "2018-09-02T03:30:05Z")

</div>

The following code, will always return x and y as 0… if I change displayWidth to width, it still returns 0. I’m using the apde editor on an s8+. How can I find the center of the display? (The +50 is there so I can see…

---

## [Growing fractal tree](https://discourse.processing.org/t/growing-fractal-tree/3145)

<div class="topic-metadata">

**Author:** [@Emanuele](https://discourse.processing.org/u/Emanuele)\
**Replies:** 3\
**Last updated:** [September 1, 2018, 4:32pm UTC](https://discourse.processing.org/t/growing-fractal-tree/3145 "2018-09-01T16:32:10Z")

</div>

Hi everyone, I need to do a school project and I want to build a fractal tree that progressively “grows” using the mouse. how can I do it? this is the code I built: void setup() { fullScreen(); } …

---

## [Sending SMS from Android](https://discourse.processing.org/t/sending-sms-from-android/1507)

<div class="topic-metadata">

**Author:** [@rajiv.tctech](https://discourse.processing.org/u/rajiv.tctech)\
**Replies:** 5\
**Last updated:** [September 1, 2018, 1:10pm UTC](https://discourse.processing.org/t/sending-sms-from-android/1507 "2018-09-01T13:10:56Z")

</div>

How can my Android Processing app send SMS from the Android device?

---

## [What is the Processing "Temp" folder?](https://discourse.processing.org/t/what-is-the-processing-temp-folder/3097)

<div class="topic-metadata">

**Author:** [@aradarbel10](https://discourse.processing.org/u/aradarbel10)\
**Replies:** 5\
**Last updated:** [September 1, 2018, 11:40am UTC](https://discourse.processing.org/t/what-is-the-processing-temp-folder/3097 "2018-09-01T11:40:33Z")

</div>

Hello, I had an error while building a project in android mode, says the directory contains non ASCII characters. that is correct, the user folder in my windows machine contains non ASCII characters and actually I don’t…

---

## [Retrieve Vertex Postion after Vertex Shader](https://discourse.processing.org/t/retrieve-vertex-postion-after-vertex-shader/3123)

<div class="topic-metadata">

**Author:** [@jitterhorse](https://discourse.processing.org/u/jitterhorse)\
**Replies:** 7\
**Last updated:** [September 1, 2018, 11:22am UTC](https://discourse.processing.org/t/retrieve-vertex-postion-after-vertex-shader/3123 "2018-09-01T11:22:01Z")

</div>

Hi lovely Processing people, is there a way (f.e. with low level GL) to retrieve Vertex Positions of an Object after they are displaced by a vertex shader? //this displaces vertex shader(displace); shape(object); //ho…

---

## [Color from FFT center frequency and its amplitude](https://discourse.processing.org/t/color-from-fft-center-frequency-and-its-amplitude/2050)

<div class="topic-metadata">

**Author:** [@vedro](https://discourse.processing.org/u/vedro)\
**Replies:** 2\
**Last updated:** [September 1, 2018, 6:41am UTC](https://discourse.processing.org/t/color-from-fft-center-frequency-and-its-amplitude/2050 "2018-09-01T06:41:24Z")

</div>

Hello This is my first post. I am trying to do a project with a variant of “sound painting” with a theremin. Let me explain a bit. The basic idea is to acquire sound from a theremin (with a microphone), then perform a F…

---

## [My new game - need help working with images](https://discourse.processing.org/t/my-new-game-need-help-working-with-images/3159)

<div class="topic-metadata">

**Author:** [@Pedro](https://discourse.processing.org/u/Pedro)\
**Replies:** 8\
**Last updated:** [September 1, 2018, 3:48am UTC](https://discourse.processing.org/t/my-new-game-need-help-working-with-images/3159 "2018-09-01T03:48:52Z")

</div>

Look what I have achieved is that when I click on a figure suddenly both are changed at the same time. So now I do not know how to ask a question and relate it to the images. I want for example to say “Click on the recta…

---

## [Creating complex gravity bouncing objects](https://discourse.processing.org/t/creating-complex-gravity-bouncing-objects/3162)

<div class="topic-metadata">

**Author:** [@tefa](https://discourse.processing.org/u/tefa)\
**Replies:** 5\
**Last updated:** [September 1, 2018, 3:23am UTC](https://discourse.processing.org/t/creating-complex-gravity-bouncing-objects/3162 "2018-09-01T03:23:22Z")

</div>

Hello Processors, please help me figure what to do. I want video objects to bounce off the window edges and collide between them. The issue I am having is that I want the objects to have random sizes. this is messing eve…

---

## [Exponential grids / mobius transformations](https://discourse.processing.org/t/exponential-grids-mobius-transformations/1347)

<div class="topic-metadata">

**Author:** [@jc2046](https://discourse.processing.org/u/jc2046)\
**Replies:** 8\
**Last updated:** [September 1, 2018, 3:03am UTC](https://discourse.processing.org/t/exponential-grids-mobius-transformations/1347 "2018-09-01T03:03:37Z")

</div>

Hi, I want my sketch to draw this kind of things But Im not sure where to start, what kind of maths are involved nor some seudocode examples. If you have some info, tips, suggestion, intuition, whatever it would be mor…

---

## [Space Invaders Enachments Design](https://discourse.processing.org/t/space-invaders-enachments-design/3106)

<div class="topic-metadata">

**Author:** [@Vazco18](https://discourse.processing.org/u/Vazco18)\
**Replies:** 7\
**Last updated:** [August 31, 2018, 9:24pm UTC](https://discourse.processing.org/t/space-invaders-enachments-design/3106 "2018-08-31T21:24:40Z")

</div>

Hi, First of all, I’m a starter to P5 and I’ve started on my semester 2 Project “Space Invaders”, Source file Download link via One Drive = https://scuonline-my.sharepoint.com/:f:/g/personal/t\_charles\_12\_student\_s…

---

## [Delay between gui and sound](https://discourse.processing.org/t/delay-between-gui-and-sound/3147)

<div class="topic-metadata">

**Author:** [@molo32](https://discourse.processing.org/u/molo32)\
**Replies:** 1\
**Last updated:** [August 31, 2018, 7:42pm UTC](https://discourse.processing.org/t/delay-between-gui-and-sound/3147 "2018-08-31T19:42:55Z")

</div>

I’m creating an interactive ocilator, by clicking on the bar 1-Create a sine wave in samples \[\] of “n\_samples\_wave” samples 2-then a thread reads sample by sample and passes it to audiodata \[0\] 3-sourcedataline write…

---

## [Need help with converting java code to javascript code](https://discourse.processing.org/t/need-help-with-converting-java-code-to-javascript-code/3142)

<div class="topic-metadata">

**Author:** [@kernel](https://discourse.processing.org/u/kernel)\
**Replies:** 8\
**Last updated:** [August 31, 2018, 6:43pm UTC](https://discourse.processing.org/t/need-help-with-converting-java-code-to-javascript-code/3142 "2018-08-31T18:43:16Z")

</div>

Here is the code I found and I was trying to convert this into javascript code pathfinder\[\] paths; void setup() { size(800, 600); background(0); ellipseMode(CENTER); fill(255); noStroke(); smooth(); paths…

---

## [Error when searching through a table](https://discourse.processing.org/t/error-when-searching-through-a-table/3118)

<div class="topic-metadata">

**Author:** [@kat](https://discourse.processing.org/u/kat)\
**Replies:** 4\
**Last updated:** [August 31, 2018, 3:41pm UTC](https://discourse.processing.org/t/error-when-searching-through-a-table/3118 "2018-08-31T15:41:55Z")

</div>

Hi all, I’m quite new to Processing and I was hoping someone could help me with this problem I have when searching through a table. I used the control P5 library to make a search bar where the user types words separate…

---

## [A single sketch for saving video's frames and storing them in an array](https://discourse.processing.org/t/a-single-sketch-for-saving-videos-frames-and-storing-them-in-an-array/3126)

<div class="topic-metadata">

**Author:** [@arnonneder](https://discourse.processing.org/u/arnonneder)\
**Replies:** 6\
**Last updated:** [August 31, 2018, 1:32pm UTC](https://discourse.processing.org/t/a-single-sketch-for-saving-videos-frames-and-storing-them-in-an-array/3126 "2018-08-31T13:32:00Z")

</div>

I believe this is a beginner’s question :slight\_smile: I want to play a video in Processing for the purpose of storing the frames in a folder and then storing those frames in an array so I can upload them into the sketc…

---

## [Smoothing loadImage()](https://discourse.processing.org/t/smoothing-loadimage/3096)

<div class="topic-metadata">

**Author:** [@mloiz](https://discourse.processing.org/u/mloiz)\
**Replies:** 4\
**Last updated:** [August 31, 2018, 10:04am UTC](https://discourse.processing.org/t/smoothing-loadimage/3096 "2018-08-31T10:04:25Z")

</div>

Hi, I work with an image which is smooth source but once I load and read it in Processing it looks like it loose some quality, see : below is my code, all is in the setup() function. size( 700, 900); smooth(8…

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

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