# Latest

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

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

**Page:** 107

---

## [P5 Sound Library - mic input issue in Safari, firefox](https://discourse.processing.org/t/p5-sound-library-mic-input-issue-in-safari-firefox/39445)

<div class="topic-metadata">

**Author:** [@m47k0](https://discourse.processing.org/u/m47k0)\
**Replies:** 2\
**Last updated:** [October 26, 2022, 5:28pm UTC](https://discourse.processing.org/t/p5-sound-library-mic-input-issue-in-safari-firefox/39445 "2022-10-26T17:28:34Z")

</div>

using basic Sound: Live Input sketch from Example files mic.getLevel() appears to be rounded down to 0 in Safari & Firefox tested in OSX Catalina and in Monterey Chrome appears ok. Any one else seeing this? & is the…

---

## [Any P5js consultants out there who can connect](https://discourse.processing.org/t/any-p5js-consultants-out-there-who-can-connect/39428)

<div class="topic-metadata">

**Author:** [@Rhythmone](https://discourse.processing.org/u/Rhythmone)\
**Replies:** 2\
**Last updated:** [October 26, 2022, 3:22pm UTC](https://discourse.processing.org/t/any-p5js-consultants-out-there-who-can-connect/39428 "2022-10-26T15:22:53Z")

</div>

Hi My name is Charles. I am looking hire a P5 guru to assist with troubleshooting of: P5 while in instance mode The ability to parse the various functions and ensure proper ordering for execution The ability to solve …

---

## [Conditionals for resetting moving object](https://discourse.processing.org/t/conditionals-for-resetting-moving-object/39389)

<div class="topic-metadata">

**Author:** [@turtle1](https://discourse.processing.org/u/turtle1)\
**Replies:** 4\
**Last updated:** [October 26, 2022, 12:45pm UTC](https://discourse.processing.org/t/conditionals-for-resetting-moving-object/39389 "2022-10-26T12:45:05Z")

</div>

hi, i want to repeat a moving object using a conditional statement. my object moves off the canvas, but i want that to keep repeating from the top. i have my conditional statement, but how would i incorporate the two?

---

## [Grid of custom designs using beginShape(); vertex(); endShape(CLOSE);](https://discourse.processing.org/t/grid-of-custom-designs-using-beginshape-vertex-endshape-close/39404)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 8\
**Last updated:** [October 26, 2022, 10:57am UTC](https://discourse.processing.org/t/grid-of-custom-designs-using-beginshape-vertex-endshape-close/39404 "2022-10-26T10:57:07Z")

</div>

How do you make a grid of custom shapes like the one that follows (via Daniel Shiffman’s book “Learning Processing”)? void setup(){ size(800,800,P2D); background(255); } void draw(){ stroke(0); translate(30, 30…

---

## [Duplicate bezier figure](https://discourse.processing.org/t/duplicate-bezier-figure/39341)

<div class="topic-metadata">

**Author:** [@Erif](https://discourse.processing.org/u/Erif)\
**Replies:** 6\
**Last updated:** [October 26, 2022, 8:48am UTC](https://discourse.processing.org/t/duplicate-bezier-figure/39341 "2022-10-26T08:48:05Z")

</div>

Hi all, I’ve created this simple figure by rotating a bezier curve: void setup() { size(800, 800); } void draw() { background(255); translate(width/2, height/2); //produce figure by rotating bezier curve …

---

## [Self programming tool and php](https://discourse.processing.org/t/self-programming-tool-and-php/39378)

<div class="topic-metadata">

**Author:** [@Skys](https://discourse.processing.org/u/Skys)\
**Replies:** 1\
**Last updated:** [October 25, 2022, 11:12pm UTC](https://discourse.processing.org/t/self-programming-tool-and-php/39378 "2022-10-25T23:12:12Z")

</div>

i made my first steps with php. because i have a script running pde as javascript its posible do interact both. i have now a app that download code from a txt from my homepage an put it in to his own pde code(i have code…

---

## [Need help with enemy and bullet collision in my little game](https://discourse.processing.org/t/need-help-with-enemy-and-bullet-collision-in-my-little-game/39430)

<div class="topic-metadata">

**Author:** [@butterjwab](https://discourse.processing.org/u/butterjwab)\
**Replies:** 2\
**Last updated:** [October 25, 2022, 7:40pm UTC](https://discourse.processing.org/t/need-help-with-enemy-and-bullet-collision-in-my-little-game/39430 "2022-10-25T19:40:25Z")

</div>

hi, so im making a shooting simple game in processing but I have no idea how to make my enemy disappear and then respawn after my bullets hit it. this is my code: int pixelsize = 4; int gridsize = pixelsize \* 7 + 5; P…

---

## [Can't start Processing 4 macOS Big Sur](https://discourse.processing.org/t/cant-start-processing-4-macos-big-sur/39381)

<div class="topic-metadata">

**Author:** [@Smantik](https://discourse.processing.org/u/Smantik)\
**Replies:** 7\
**Last updated:** [October 25, 2022, 5:39pm UTC](https://discourse.processing.org/t/cant-start-processing-4-macos-big-sur/39381 "2022-10-25T17:39:20Z")

</div>

Hi! I’m working on a MacBook Pro with MacOSX Big Sur. I can’t start last version of Processing 4 as it shows me a message saying “We’re off on the wrong foot” (see picture attached). I have modified read/write permi…

---

## [Extract vertex from a svg file](https://discourse.processing.org/t/extract-vertex-from-a-svg-file/39414)

<div class="topic-metadata">

**Author:** [@DrHooDoo](https://discourse.processing.org/u/DrHooDoo)\
**Replies:** 4\
**Last updated:** [October 25, 2022, 1:32pm UTC](https://discourse.processing.org/t/extract-vertex-from-a-svg-file/39414 "2022-10-25T13:32:28Z")

</div>

Hello all ! :slight\_smile: In short, I’m trying to extract vertex from a svg but no matter how I do I always get an error: “getVertexCount() only works with PATH or GEOMETRY shapes” What I did was: create a little s…

---

## [Svg created have no proper path](https://discourse.processing.org/t/svg-created-have-no-proper-path/39412)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 1\
**Last updated:** [October 25, 2022, 12:00pm UTC](https://discourse.processing.org/t/svg-created-have-no-proper-path/39412 "2022-10-25T12:00:14Z")

</div>

Hi, I’m trying to create a proper path from shapes. I would like to use the svg as path for my pen plotter (here Axidraw). The svg file opened in inkscape made has a deepness and is doubled for every line. How can I s…

---

## [📢 Calling translators and proofreaders for Processing Community Survey](https://discourse.processing.org/t/calling-translators-and-proofreaders-for-processing-community-survey/39423)

<div class="topic-metadata">

**Author:** [@sableraph](https://discourse.processing.org/u/sableraph)\
**Replies:** 0\
**Last updated:** [October 25, 2022, 11:02am UTC](https://discourse.processing.org/t/calling-translators-and-proofreaders-for-processing-community-survey/39423 "2022-10-25T11:02:34Z")

</div>

Hello Processing Community, The last Processing Community Survey was in 2018 and I’ve been working on a new one. This time I’d like it to represent a larger diversity of Processing users, including more of our communiti…

---

## [Intersection of 2 circle arcs](https://discourse.processing.org/t/intersection-of-2-circle-arcs/10424)

<div class="topic-metadata">

**Author:** [@CallMeGhosty](https://discourse.processing.org/u/CallMeGhosty)\
**Replies:** 5\
**Last updated:** [October 25, 2022, 8:02am UTC](https://discourse.processing.org/t/intersection-of-2-circle-arcs/10424 "2022-10-25T08:02:49Z")

</div>

Hello, As the title says, I would like to get the X and Y coordinates of where the 2 arcs intersect. I only know how to check if they do intersect… hides in shame Challenge: Animate the drawing of the bisector of a tr…

---

## [OpenCV error in Processing 4.0b2](https://discourse.processing.org/t/opencv-error-in-processing-4-0b2/33284)

<div class="topic-metadata">

**Author:** [@Dazzid](https://discourse.processing.org/u/Dazzid)\
**Replies:** 12\
**Last updated:** [October 24, 2022, 4:38pm UTC](https://discourse.processing.org/t/opencv-error-in-processing-4-0b2/33284 "2022-10-24T16:38:58Z")

</div>

I’m preparing a workshop using Processing 4.02b, but OpenCV library seems to have an issue with permissions. WARNING: Illegal reflective access by gab.opencv.OpenCV (file:/Users/Name/Documents/Processing/libraries/open…

---

## [Adding a resource to the Learn / Tutorials page of the site](https://discourse.processing.org/t/adding-a-resource-to-the-learn-tutorials-page-of-the-site/39379)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 3\
**Last updated:** [October 24, 2022, 8:22am UTC](https://discourse.processing.org/t/adding-a-resource-to-the-learn-tutorials-page-of-the-site/39379 "2022-10-24T08:22:04Z")

</div>

Would love to see the HAPPY CODING site added to the list of sites on the TUTORIALS page. It’s \<a superb introduction\> for anyone new to processing and p5.js (and coding/programming in general). :nerd\_face:

---

## [Processing 4.0.1 sketch window scales 200%](https://discourse.processing.org/t/processing-4-0-1-sketch-window-scales-200/39349)

<div class="topic-metadata">

**Author:** [@Fluffball](https://discourse.processing.org/u/Fluffball)\
**Replies:** 5\
**Last updated:** [October 24, 2022, 12:56am UTC](https://discourse.processing.org/t/processing-4-0-1-sketch-window-scales-200/39349 "2022-10-24T00:56:06Z")

</div>

Hi, I’ve been using Processing for several years and recently updated to version 4.0.1. It’s fantastic except that all of a sudden every sketch window is scaled up 200% of true screen resolution! This happens on both mon…

---

## [A loadXXX() call inside preload() doesn't delay draw()](https://discourse.processing.org/t/a-loadxxx-call-inside-preload-doesnt-delay-draw/39354)

<div class="topic-metadata">

**Author:** [@ubuntu-in-a-nutshell](https://discourse.processing.org/u/ubuntu-in-a-nutshell)\
**Replies:** 6\
**Last updated:** [October 24, 2022, 8:01am UTC](https://discourse.processing.org/t/a-loadxxx-call-inside-preload-doesnt-delay-draw/39354 "2022-10-24T08:01:01Z")

</div>

Occasionally when my program loads images using loadImage the program fails to load them and then it gets stuck in the loading screen. When I look in the console it says img is undefined. Tracing this back, I find it hap…

---

## [\[JAVA opencv library\] Have you tried the 'WhichFace' example?](https://discourse.processing.org/t/java-opencv-library-have-you-tried-the-whichface-example/39407)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [October 24, 2022, 4:28am UTC](https://discourse.processing.org/t/java-opencv-library-have-you-tried-the-whichface-example/39407 "2022-10-24T04:28:12Z")

</div>

\[JAVA opencv library\] Have you tried the ‘WhichFace’ example? hello. If anyone knows, please reply, thank you. \[Explanation\] In the ‘OpenCV’ library folder/example folder, there is a ‘WhichFace.pde’ file. It r…

---

## [I can't figure out how to make this array compatible with my Button class](https://discourse.processing.org/t/i-cant-figure-out-how-to-make-this-array-compatible-with-my-button-class/39403)

<div class="topic-metadata">

**Author:** [@darthbray](https://discourse.processing.org/u/darthbray)\
**Replies:** 2\
**Last updated:** [October 23, 2022, 10:43pm UTC](https://discourse.processing.org/t/i-cant-figure-out-how-to-make-this-array-compatible-with-my-button-class/39403 "2022-10-23T22:43:16Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I’m trying to create a randomly generated chord progression program but I haven’t even reached that part yet, I’m stuck on making an array with …

---

## [controlP5 Slider and Buttons as arrays](https://discourse.processing.org/t/controlp5-slider-and-buttons-as-arrays/39405)

<div class="topic-metadata">

**Author:** [@andy](https://discourse.processing.org/u/andy)\
**Replies:** 1\
**Last updated:** [October 23, 2022, 11:24pm UTC](https://discourse.processing.org/t/controlp5-slider-and-buttons-as-arrays/39405 "2022-10-23T23:24:19Z")

</div>

Using controlP5, I need to create 40 sliders and 40 buttons, I use to use Delphi and could create an array of scrollbars with associated buttons. Can I do the same with processing, if so, can anyone could shed some ligh…

---

## [Why Are My Class Variables Not Working? \[SOLVED\]](https://discourse.processing.org/t/why-are-my-class-variables-not-working-solved/39401)

<div class="topic-metadata">

**Author:** [@bcgreen24](https://discourse.processing.org/u/bcgreen24)\
**Replies:** 3\
**Last updated:** [October 23, 2022, 8:13pm UTC](https://discourse.processing.org/t/why-are-my-class-variables-not-working-solved/39401 "2022-10-23T20:13:14Z")

</div>

I was having issues with a sketch I was working on, so I created this little test to try and narrow down the issue-- which is that this.x and this.y are both undefined, even though the Walker class has a constructor whic…

---

## [Sound Library bugs? (lagging, noise/choppy)](https://discourse.processing.org/t/sound-library-bugs-lagging-noise-choppy/4718)

<div class="topic-metadata">

**Author:** [@kumouni](https://discourse.processing.org/u/kumouni)\
**Replies:** 3\
**Last updated:** [October 23, 2022, 11:02am UTC](https://discourse.processing.org/t/sound-library-bugs-lagging-noise-choppy/4718 "2022-10-23T11:02:20Z")

</div>

Hi, I am new to the Sound Library, and I’m experiencing an issue - while playing an mp3 repeatedly, the audio becomes increasingly choppy / play noise(?) as time passes. I would really really appreciate it if you can h…

---

## [Image Heightmap out of recursive circles](https://discourse.processing.org/t/image-heightmap-out-of-recursive-circles/39394)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 2\
**Last updated:** [October 23, 2022, 5:31pm UTC](https://discourse.processing.org/t/image-heightmap-out-of-recursive-circles/39394 "2022-10-23T17:31:52Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi, I’m wondering how to make a P3D heightmap out of the following grid of recursive circles? Is it possible since the circles aren’t a uniform …

---

## [Video Crashes with JNA: could not detach thread](https://discourse.processing.org/t/video-crashes-with-jna-could-not-detach-thread/14889)

<div class="topic-metadata">

**Author:** [@NilsK](https://discourse.processing.org/u/NilsK)\
**Replies:** 11\
**Last updated:** [October 23, 2022, 7:08am UTC](https://discourse.processing.org/t/video-crashes-with-jna-could-not-detach-thread/14889 "2022-10-23T07:08:36Z")

</div>

Hello together, I’ve recently started using the video functions of processing for a uni project. Sadly I seem to run into the mentioned error on all maschines I’m working on. Even with the most basic version on the pla…

---

## [Fullscreen recursion](https://discourse.processing.org/t/fullscreen-recursion/39393)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 2\
**Last updated:** [October 23, 2022, 2:10am UTC](https://discourse.processing.org/t/fullscreen-recursion/39393 "2022-10-23T02:10:34Z")

</div>

Hi, I am trying to recreate this recursive circular pattern (via Daniel Shiffman’s book “Learning Processing”). How do I get the recursive pattern to fill the frame of the screen? As you can see, my code doesn’t include …

---

## [How extract an save subimages from a given image](https://discourse.processing.org/t/how-extract-an-save-subimages-from-a-given-image/39380)

<div class="topic-metadata">

**Author:** [@Coyote35](https://discourse.processing.org/u/Coyote35)\
**Replies:** 6\
**Last updated:** [October 22, 2022, 9:43pm UTC](https://discourse.processing.org/t/how-extract-an-save-subimages-from-a-given-image/39380 "2022-10-22T21:43:19Z")

</div>

Hello everyone, I have an image of 100x100 pixels. I’m looking for a simple code example that allows me to extract the 100 sub-images (for example 10x10 pixels) from the starting image. And for each of these sub-image…

---

## [Borderless Window](https://discourse.processing.org/t/borderless-window/39385)

<div class="topic-metadata">

**Author:** [@5x9x7x2x7x9](https://discourse.processing.org/u/5x9x7x2x7x9)\
**Replies:** 1\
**Last updated:** [October 22, 2022, 6:34pm UTC](https://discourse.processing.org/t/borderless-window/39385 "2022-10-22T18:34:20Z")

</div>

How could I create a borderless window, Like discord?

---

## [Uploading interactive app from processing to website / github?](https://discourse.processing.org/t/uploading-interactive-app-from-processing-to-website-github/39351)

<div class="topic-metadata">

**Author:** [@YueLin](https://discourse.processing.org/u/YueLin)\
**Replies:** 24\
**Last updated:** [October 22, 2022, 5:45pm UTC](https://discourse.processing.org/t/uploading-interactive-app-from-processing-to-website-github/39351 "2022-10-22T17:45:56Z")

</div>

Hi there everyone! I am super super new to coding and would like some guidance on how to upload apps made with processing onto websites. I have used processing back in 2019 to make a interactive game, and am now looking…

---

## [Hacked Movie EoS Event Library](https://discourse.processing.org/t/hacked-movie-eos-event-library/39375)

<div class="topic-metadata">

**Author:** [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Replies:** 7\
**Last updated:** [October 22, 2022, 11:13am UTC](https://discourse.processing.org/t/hacked-movie-eos-event-library/39375 "2022-10-22T11:13:29Z")

</div>

Processing’s Video library doesn’t offer any means to flag a Movie stream has ended. A long time ago I’ve posted a hack solution that used to work back then: Movie begin and end events - Processing 2.x and 3.x Forum B…

---

## [Interactive 3D balls. Is this even possible in Processing?](https://discourse.processing.org/t/interactive-3d-balls-is-this-even-possible-in-processing/39056)

<div class="topic-metadata">

**Author:** [@fijthecreator](https://discourse.processing.org/u/fijthecreator)\
**Replies:** 14\
**Last updated:** [October 22, 2022, 9:28am UTC](https://discourse.processing.org/t/interactive-3d-balls-is-this-even-possible-in-processing/39056 "2022-10-22T09:28:19Z")

</div>

Hi while I’m fairly new to processing, I was wondering if this is possible and how I would go about it? Example: 3D interactive balls - Webflow I’d like to recreate that effect in Processing 3D to embed the interactive…

---

## [How to iterate video.pixels.length for random area of image](https://discourse.processing.org/t/how-to-iterate-video-pixels-length-for-random-area-of-image/39367)

<div class="topic-metadata">

**Author:** [@doni](https://discourse.processing.org/u/doni)\
**Replies:** 31\
**Last updated:** [October 21, 2022, 11:43pm UTC](https://discourse.processing.org/t/how-to-iterate-video-pixels-length-for-random-area-of-image/39367 "2022-10-21T23:43:47Z")

</div>

assume the image as following top left, rectangular with 4 columns and 5 rows how do i iterate within for loop for yellow rectangular (1,2,5,6,9,10,13,14) to fetch rgb values if my array is 1D (bellow rectangular) wi…

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

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