# Latest

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

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

**Page:** 339

---

## [P5js.org home page nav menu](https://discourse.processing.org/t/p5js-org-home-page-nav-menu/21679)

<div class="topic-metadata">

**Author:** [@doodleslice](https://discourse.processing.org/u/doodleslice)\
**Replies:** 2\
**Last updated:** [June 8, 2020, 4:26pm UTC](https://discourse.processing.org/t/p5js-org-home-page-nav-menu/21679 "2020-06-08T16:26:33Z")

</div>

Wasn’t sure where to post this. This about the p5js.org home page. I support the message there in support of Black Lives Matter, but in adding it to the home page the nav bar seems to have disappeared. I’m new to the com…

---

## [Wireframe images](https://discourse.processing.org/t/wireframe-images/21621)

<div class="topic-metadata">

**Author:** [@gatz\_gaz](https://discourse.processing.org/u/gatz_gaz)\
**Replies:** 2\
**Last updated:** [June 8, 2020, 3:28pm UTC](https://discourse.processing.org/t/wireframe-images/21621 "2020-06-08T15:28:23Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi, guys! Does anyone know if there’s a code that turns the images this way?

---

## [Fullscreen canvas p5js & posenet](https://discourse.processing.org/t/fullscreen-canvas-p5js-posenet/21086)

<div class="topic-metadata">

**Author:** [@babyP5](https://discourse.processing.org/u/babyP5)\
**Replies:** 2\
**Last updated:** [June 8, 2020, 12:03pm UTC](https://discourse.processing.org/t/fullscreen-canvas-p5js-posenet/21086 "2020-06-08T12:03:41Z")

</div>

hello everyone im working on project where i have to put an emoji on the face of a person but i have to show that emoji on the canvas and not the webcam video for now everything work fine my question is how can i make th…

---

## [Help with Oscp5 library](https://discourse.processing.org/t/help-with-oscp5-library/21664)

<div class="topic-metadata">

**Author:** [@Txispas3](https://discourse.processing.org/u/Txispas3)\
**Replies:** 1\
**Last updated:** [June 8, 2020, 7:39am UTC](https://discourse.processing.org/t/help-with-oscp5-library/21664 "2020-06-08T07:39:58Z")

</div>

Hello, I have a problem with the oscp5 library. you will see I have a device that connects via bluetooth to a pc with windows 10 and sends data to a program but to the local ip 127.0.0.1 I use processing to read them bu…

---

## [Give Mic access to Processing Sketch (Mac Catalina)](https://discourse.processing.org/t/give-mic-access-to-processing-sketch-mac-catalina/17953)

<div class="topic-metadata">

**Author:** [@snaders](https://discourse.processing.org/u/snaders)\
**Replies:** 4\
**Last updated:** [June 8, 2020, 6:48am UTC](https://discourse.processing.org/t/give-mic-access-to-processing-sketch-mac-catalina/17953 "2020-06-08T06:48:19Z")

</div>

I/m looking for a way to give my sketch access to my mic in Mac Catalina. I know you can manage your mic access in the System Preferences, but I can’t manually add apps. I already found this link: macOS Mojave and Catal…

---

## [Triangular buttons](https://discourse.processing.org/t/triangular-buttons/21666)

<div class="topic-metadata">

**Author:** [@Kiciak](https://discourse.processing.org/u/Kiciak)\
**Replies:** 3\
**Last updated:** [June 8, 2020, 3:34am UTC](https://discourse.processing.org/t/triangular-buttons/21666 "2020-06-08T03:34:25Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi, I know it might be quite a trivial topic but I really don’t have an idea of how to create a triangular button. I thought about using trigono…

---

## [How to check for collision detection with rotated polygons using p5.collide2D](https://discourse.processing.org/t/how-to-check-for-collision-detection-with-rotated-polygons-using-p5-collide2d/21299)

<div class="topic-metadata">

**Author:** [@cyberia2020](https://discourse.processing.org/u/cyberia2020)\
**Replies:** 2\
**Last updated:** [June 7, 2020, 11:58pm UTC](https://discourse.processing.org/t/how-to-check-for-collision-detection-with-rotated-polygons-using-p5-collide2d/21299 "2020-06-07T23:58:52Z")

</div>

Hello Processing and p5.js community! I am having difficulty understanding how to detect when two rotated polygons have collided using the p5.collide2D library. Although my shapes are Rects I have tried to convert them …

---

## [Can anyone help with Hangman Code?](https://discourse.processing.org/t/can-anyone-help-with-hangman-code/21611)

<div class="topic-metadata">

**Author:** [@cammy](https://discourse.processing.org/u/cammy)\
**Replies:** 11\
**Last updated:** [June 7, 2020, 11:30pm UTC](https://discourse.processing.org/t/can-anyone-help-with-hangman-code/21611 "2020-06-07T23:30:32Z")

</div>

boolean newWord = true ; String w; char letter = '?'; char a, b, c; int currentScreen=0; void keyTyped() { letter = key; } void intro() { fill(0); textSize(26); text("HANGMAN", 195,50); strokeWeight(3); …

---

## [Can I make a custom library with eclipse C++](https://discourse.processing.org/t/can-i-make-a-custom-library-with-eclipse-c/21542)

<div class="topic-metadata">

**Author:** [@AntiViral\_Builder](https://discourse.processing.org/u/AntiViral_Builder)\
**Replies:** 3\
**Last updated:** [June 7, 2020, 10:28pm UTC](https://discourse.processing.org/t/can-i-make-a-custom-library-with-eclipse-c/21542 "2020-06-07T22:28:47Z")

</div>

If there is a way of doing this could you please tell me how to do it. I know that I need eclipse and a library from GitHub, but how would I find it?

---

## [How to set character length (maxlength) for input box/text box](https://discourse.processing.org/t/how-to-set-character-length-maxlength-for-input-box-text-box/21663)

<div class="topic-metadata">

**Author:** [@chrisdean](https://discourse.processing.org/u/chrisdean)\
**Replies:** 2\
**Last updated:** [June 7, 2020, 7:01pm UTC](https://discourse.processing.org/t/how-to-set-character-length-maxlength-for-input-box-text-box/21663 "2020-06-07T19:01:54Z")

</div>

Hi all, The subject line says it all really. I have created an input box to enter text, but I need to set the maximum amount of characters that someone can type into it, ie. for a name. input = createInput(); input.po…

---

## [Unexpected strokes are shown on P2D PGraphics](https://discourse.processing.org/t/unexpected-strokes-are-shown-on-p2d-pgraphics/21660)

<div class="topic-metadata">

**Author:** [@Reva](https://discourse.processing.org/u/Reva)\
**Replies:** 6\
**Last updated:** [June 7, 2020, 4:51pm UTC](https://discourse.processing.org/t/unexpected-strokes-are-shown-on-p2d-pgraphics/21660 "2020-06-07T16:51:32Z")

</div>

Hi~I tried to draw custom shapes(hexagon) on a transparent P2D PGraphics for later I would change the background color. I don’t want any strokes, but there are unexpected outlines of the shapes shown on the P2D PGraphic. …

---

## [Implementing Robert Hodgin's "Meander": trouble with curvature and 'modified bitangents'](https://discourse.processing.org/t/implementing-robert-hodgins-meander-trouble-with-curvature-and-modified-bitangents/21651)

<div class="topic-metadata">

**Author:** [@TheWizardBear](https://discourse.processing.org/u/TheWizardBear)\
**Replies:** 0\
**Last updated:** [June 7, 2020, 11:40am UTC](https://discourse.processing.org/t/implementing-robert-hodgins-meander-trouble-with-curvature-and-modified-bitangents/21651 "2020-06-07T11:40:58Z")

</div>

Hi! I’ve been trying to create a very basic version of Robert Hodgin (aka Flight 404) 's Meander program but I am having some difficulty and I’m not sure what the problem is. The sketch I am working on is here: https:/…

---

## [Issues with remove() - Cannot read property 'getByteTimeDomainData' of undefined](https://discourse.processing.org/t/issues-with-remove-cannot-read-property-getbytetimedomaindata-of-undefined/21656)

<div class="topic-metadata">

**Author:** [@ballinoates](https://discourse.processing.org/u/ballinoates)\
**Replies:** 0\
**Last updated:** [June 7, 2020, 2:39pm UTC](https://discourse.processing.org/t/issues-with-remove-cannot-read-property-getbytetimedomaindata-of-undefined/21656 "2020-06-07T14:39:38Z")

</div>

Hi All- Got a doozy here, really need some halps! So in a nut shell my partner and I are working on a web based VJ app that lets the user pick different sketches to display. Everything was working ok until we tried to …

---

## [Multivideo player - breaks when replaying from start](https://discourse.processing.org/t/multivideo-player-breaks-when-replaying-from-start/21645)

<div class="topic-metadata">

**Author:** [@overFlow](https://discourse.processing.org/u/overFlow)\
**Replies:** 0\
**Last updated:** [June 7, 2020, 8:48am UTC](https://discourse.processing.org/t/multivideo-player-breaks-when-replaying-from-start/21645 "2020-06-07T08:48:53Z")

</div>

Hi. I am trying to create a multivideo player and have based mostly on this answer. I’m using Processing on Debian 10 with the beta video library recommended for Linux. Playing my 4 videos the first time works fine, but…

---

## [Regarding pixel manipulation from live camera feed](https://discourse.processing.org/t/regarding-pixel-manipulation-from-live-camera-feed/21643)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 0\
**Last updated:** [June 7, 2020, 8:28am UTC](https://discourse.processing.org/t/regarding-pixel-manipulation-from-live-camera-feed/21643 "2020-06-07T08:28:23Z")

</div>

\<!-- Tips: Format your code with \</ I am trying to map image pixels from live camera into a larger canvas but whenever i am doing that i am only getting a black canvas Can anybody suggest whr I am going wrong in my al…

---

## [iOS app — Processing Output motion format](https://discourse.processing.org/t/ios-app-processing-output-motion-format/21525)

<div class="topic-metadata">

**Author:** [@tabrez](https://discourse.processing.org/u/tabrez)\
**Replies:** 6\
**Last updated:** [June 7, 2020, 1:21pm UTC](https://discourse.processing.org/t/ios-app-processing-output-motion-format/21525 "2020-06-07T13:21:56Z")

</div>

Hi all, I’m a bit of a beginner when it comes to Processing, but I can easliy do some nice still and video outputs using Processing. I’m on a client project, and going to create some visuals for an app — the visuals th…

---

## [Move with keyboard arrows](https://discourse.processing.org/t/move-with-keyboard-arrows/21637)

<div class="topic-metadata">

**Author:** [@bismarck](https://discourse.processing.org/u/bismarck)\
**Replies:** 2\
**Last updated:** [June 7, 2020, 12:37pm UTC](https://discourse.processing.org/t/move-with-keyboard-arrows/21637 "2020-06-07T12:37:46Z")

</div>

hello i am new here,i need help with this code because the thing that i try to move don’t do that, but if i leave one of the if/else statement the code run without problems. can you help me? (sorry for the bad english) …

---

## [Variable issue in the setup() block](https://discourse.processing.org/t/variable-issue-in-the-setup-block/21648)

<div class="topic-metadata">

**Author:** [@slashwreck](https://discourse.processing.org/u/slashwreck)\
**Replies:** 3\
**Last updated:** [June 7, 2020, 10:14am UTC](https://discourse.processing.org/t/variable-issue-in-the-setup-block/21648 "2020-06-07T10:14:30Z")

</div>

I load an img in my setup(). I can use its attributes like .width but when I attempt to use them as parameters to size(), I get NameError: global name ''img'' is not defined. But before that line, I’m happily referri…

---

## [Using Sound Input From Mic](https://discourse.processing.org/t/using-sound-input-from-mic/21448)

<div class="topic-metadata">

**Author:** [@joebrailsford](https://discourse.processing.org/u/joebrailsford)\
**Replies:** 8\
**Last updated:** [June 7, 2020, 9:22am UTC](https://discourse.processing.org/t/using-sound-input-from-mic/21448 "2020-06-07T09:22:26Z")

</div>

Hi. I am trying to create a drawing tool that then takes the input from the microphone and applies a visual effect to the drawing in relation to the amplitude of the input. However I can’t get the microphone to work. I …

---

## [Set volume of this example with Minim](https://discourse.processing.org/t/set-volume-of-this-example-with-minim/21628)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 1\
**Last updated:** [June 7, 2020, 8:41am UTC](https://discourse.processing.org/t/set-volume-of-this-example-with-minim/21628 "2020-06-07T08:41:31Z")

</div>

Hello, I would like to set the volume of this example. For example I would like to set the volume with mouse Y rather than resonance. I think it is easy but I block. :face\_with\_raised\_eyebrow: // import everything nec…

---

## [Fast Transform Neural Networks + Associative Memory](https://discourse.processing.org/t/fast-transform-neural-networks-associative-memory/21641)

<div class="topic-metadata">

**Author:** [@seanc4s](https://discourse.processing.org/u/seanc4s)\
**Replies:** 0\
**Last updated:** [June 7, 2020, 7:56am UTC](https://discourse.processing.org/t/fast-transform-neural-networks-associative-memory/21641 "2020-06-07T07:56:16Z")

</div>

Obviously not for beginners, however if anyone wants to experiment around a bit… Fast Transform (aka Fixed Filter Bank) Neural Networks: Evolution version: https://s6regen.github.io/Fast-Transform-Neural-Network-Evolu…

---

## [OscP5 not working after exporting to apk processing android](https://discourse.processing.org/t/oscp5-not-working-after-exporting-to-apk-processing-android/21614)

<div class="topic-metadata">

**Author:** [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Replies:** 3\
**Last updated:** [June 7, 2020, 6:36am UTC](https://discourse.processing.org/t/oscp5-not-working-after-exporting-to-apk-processing-android/21614 "2020-06-07T06:36:15Z")

</div>

My project was working fine until I exported it and installed it on my android phone. The previewer did its part correctly, but the exported app was not doing all the connection stuff…

---

## [Blinking images are too fast](https://discourse.processing.org/t/blinking-images-are-too-fast/21632)

<div class="topic-metadata">

**Author:** [@SaltyBoy](https://discourse.processing.org/u/SaltyBoy)\
**Replies:** 4\
**Last updated:** [June 7, 2020, 5:21am UTC](https://discourse.processing.org/t/blinking-images-are-too-fast/21632 "2020-06-07T05:21:34Z")

</div>

I want to blink some images in my Simon game, but they are blinking very short. You can hardly see that a light (image) is turned on. boolean isPlayerReady = false; ArrayList\<Integer\> gameList; ArrayList\<Integer\> player…

---

## [Center to mouseX,Y with storing](https://discourse.processing.org/t/center-to-mousex-y-with-storing/21533)

<div class="topic-metadata">

**Author:** [@mrbro](https://discourse.processing.org/u/mrbro)\
**Replies:** 11\
**Last updated:** [June 6, 2020, 11:35pm UTC](https://discourse.processing.org/t/center-to-mousex-y-with-storing/21533 "2020-06-06T23:35:32Z")

</div>

Hi there! I am trying to draw a shape which starts from the center and expands the radius untill the mouse coursore. I am also storing the valuse so I can have it fading into the infinity. I managed to do everything, ex…

---

## [Placement of keyPressed function](https://discourse.processing.org/t/placement-of-keypressed-function/21604)

<div class="topic-metadata">

**Author:** [@jarlook](https://discourse.processing.org/u/jarlook)\
**Replies:** 2\
**Last updated:** [June 6, 2020, 10:22pm UTC](https://discourse.processing.org/t/placement-of-keypressed-function/21604 "2020-06-06T22:22:56Z")

</div>

I created a keyPressed function. If I place it in the primary tab of the sketch, it works fine. If I place it in a secondary tab (cvplib.py) and import that into the primary tab (import cvplib), it doesn’t work. I hav…

---

## [3d Digitzer Arm build](https://discourse.processing.org/t/3d-digitzer-arm-build/2868)

<div class="topic-metadata">

**Author:** [@MickHanks](https://discourse.processing.org/u/MickHanks)\
**Replies:** 16\
**Last updated:** [June 6, 2020, 9:07pm UTC](https://discourse.processing.org/t/3d-digitzer-arm-build/2868 "2020-06-06T21:07:47Z")

</div>

Hi, thanks for any help. Question = How do I know a Processing app is getting a signal from the COMPORT? I’m stuck with this project. https://www.youtube.com/watch?v=8feFq3ugSLI I’ve built the hardware, Wired it, Inst…

---

## [Why can't I access this array within my constructor?](https://discourse.processing.org/t/why-cant-i-access-this-array-within-my-constructor/21576)

<div class="topic-metadata">

**Author:** [@Math\_Machine](https://discourse.processing.org/u/Math_Machine)\
**Replies:** 13\
**Last updated:** [June 6, 2020, 8:54pm UTC](https://discourse.processing.org/t/why-cant-i-access-this-array-within-my-constructor/21576 "2020-06-06T20:54:38Z")

</div>

So, I’ve been looking at this code for the past couple hours, and I can’t for the life of me figure out what’s going on. Please note: For the sake of keeping things simple, I didn’t list the contents of the array sizein…

---

## [Class error in code help needed](https://discourse.processing.org/t/class-error-in-code-help-needed/21620)

<div class="topic-metadata">

**Author:** [@maiat](https://discourse.processing.org/u/maiat)\
**Replies:** 12\
**Last updated:** [June 6, 2020, 8:14pm UTC](https://discourse.processing.org/t/class-error-in-code-help-needed/21620 "2020-06-06T20:14:16Z")

</div>

let numWalkers = 50; let walkers = \[\]; let dotCanvas; let pixelColor; // let walkerX = \[\]; // let walkerY = \[\]; // let speed = \[\]; // let size = \[\]; let people = \[\]; let name = \[\]; let numero = 0; function preload() { …

---

## [Making a PGraphics filled with points (grade of white is based on the amplitude) and texture that to the ever evolving arc](https://discourse.processing.org/t/making-a-pgraphics-filled-with-points-grade-of-white-is-based-on-the-amplitude-and-texture-that-to-the-ever-evolving-arc/21561)

<div class="topic-metadata">

**Author:** [@inzn](https://discourse.processing.org/u/inzn)\
**Replies:** 2\
**Last updated:** [June 6, 2020, 7:13pm UTC](https://discourse.processing.org/t/making-a-pgraphics-filled-with-points-grade-of-white-is-based-on-the-amplitude-and-texture-that-to-the-ever-evolving-arc/21561 "2020-06-06T19:13:04Z")

</div>

I’m working on an audio visualisation that’s basically supposed to be a circular spectrogram. I have a graph that shows the frequency already and an arc, that evolves based on the time passed. Now I would like to fill th…

---

## [Quest for setTexture](https://discourse.processing.org/t/quest-for-settexture/21564)

<div class="topic-metadata">

**Author:** [@MartinGo](https://discourse.processing.org/u/MartinGo)\
**Replies:** 6\
**Last updated:** [June 6, 2020, 7:07pm UTC](https://discourse.processing.org/t/quest-for-settexture/21564 "2020-06-06T19:07:07Z")

</div>

Hi. I want to make an hexagonal tile using the setTexture method of PShape, the problem is I want to run the following example PImage img; PShape globe; void setup() { // Load an image img = loadImage("earth.jpg")…

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

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