# Latest

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

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

**Page:** 135

---

## [How do I fix the buttons, I want the music to not play at first but then when you click the buttons it plays its respective music that is attached to the buttons?](https://discourse.processing.org/t/how-do-i-fix-the-buttons-i-want-the-music-to-not-play-at-first-but-then-when-you-click-the-buttons-it-plays-its-respective-music-that-is-attached-to-the-buttons/37098)

<div class="topic-metadata">

**Author:** [@matthew3032](https://discourse.processing.org/u/matthew3032)\
**Replies:** 0\
**Last updated:** [May 26, 2022, 3:50am UTC](https://discourse.processing.org/t/how-do-i-fix-the-buttons-i-want-the-music-to-not-play-at-first-but-then-when-you-click-the-buttons-it-plays-its-respective-music-that-is-attached-to-the-buttons/37098 "2022-05-26T03:50:46Z")

</div>

let buttons = \["Its Yours", "Dance On My Skin", "East of Eden", "Loathe"\]; let img; let font; let fft; let freqs = \["bass", "lowMid", "mid", "highMid", "treble"\]; let song1; let song2; let song3; let song4; function pre…

---

## ['Error creating webgl context' in j5.ps](https://discourse.processing.org/t/error-creating-webgl-context-in-j5-ps/37096)

<div class="topic-metadata">

**Author:** [@Jess](https://discourse.processing.org/u/Jess)\
**Replies:** 0\
**Last updated:** [May 26, 2022, 3:22am UTC](https://discourse.processing.org/t/error-creating-webgl-context-in-j5-ps/37096 "2022-05-26T03:22:32Z")

</div>

I was trying to run code but kept encountering this error - Can anyone help me understand why it’s happening? What do I need to do to fix it? Is Webgl able to run in p5.js? Thank you!

---

## [Weird fill for a composite 3d PShape](https://discourse.processing.org/t/weird-fill-for-a-composite-3d-pshape/37092)

<div class="topic-metadata">

**Author:** [@gwenroote](https://discourse.processing.org/u/gwenroote)\
**Replies:** 0\
**Last updated:** [May 25, 2022, 10:15pm UTC](https://discourse.processing.org/t/weird-fill-for-a-composite-3d-pshape/37092 "2022-05-25T22:15:07Z")

</div>

I am trying to fill in this shape made of bezier curves, and one of the surfaces has an extra plane when I “fill” it. The flat part of the white plane is the one I’m trying to get rid of. (see side4) I sort of get why i…

---

## [My GUI fellowship application made public](https://discourse.processing.org/t/my-gui-fellowship-application-made-public/22988)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 10\
**Last updated:** [May 25, 2022, 8:42pm UTC](https://discourse.processing.org/t/my-gui-fellowship-application-made-public/22988 "2022-05-25T20:42:46Z")

</div>

Back in 2018 I wrote my application (as in document) for the 2019 fellowship program. I’m picking up the work on the GUI library to release a small version soon. Anyway, I thought it would be nice to make the applicati…

---

## [Uncaught ReferenceError: createInput is not defined](https://discourse.processing.org/t/uncaught-referenceerror-createinput-is-not-defined/37089)

<div class="topic-metadata">

**Author:** [@bluemoon](https://discourse.processing.org/u/bluemoon)\
**Replies:** 0\
**Last updated:** [May 25, 2022, 8:05pm UTC](https://discourse.processing.org/t/uncaught-referenceerror-createinput-is-not-defined/37089 "2022-05-25T20:05:11Z")

</div>

Hi Folks, getting this error on the following code in the Processing IDE. Works fine in the web editor. Not sure what the difference is, or why it can’t find createInput, which is a a p5 function… any thoughts? thanks…

---

## [Error creating emulator](https://discourse.processing.org/t/error-creating-emulator/37084)

<div class="topic-metadata">

**Author:** [@urlxd](https://discourse.processing.org/u/urlxd)\
**Replies:** 6\
**Last updated:** [May 25, 2022, 4:50pm UTC](https://discourse.processing.org/t/error-creating-emulator/37084 "2022-05-25T16:50:16Z")

</div>

hello i get this error when i run the sketch: Blockquote Build folder: C:\\Users\\B7E3~1\\AppData\\Local\\Temp\\android7799464270916013891sketch org.gradle.tooling.GradleConnectionException: Could not execute build using …

---

## [Processing in VSCode](https://discourse.processing.org/t/processing-in-vscode/10625)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 1\
**Last updated:** [May 25, 2022, 4:47pm UTC](https://discourse.processing.org/t/processing-in-vscode/10625 "2022-05-25T16:47:15Z")

</div>

I wanted a more simple way to run processing in VSCode. Without the need of installing maven, and a way to just add libraries to a project instead of them floating somewhere else on your harddisk. Keep in mind this is …

---

## [Making a Transparent Background and Exporting to PNG](https://discourse.processing.org/t/making-a-transparent-background-and-exporting-to-png/37073)

<div class="topic-metadata">

**Author:** [@panko](https://discourse.processing.org/u/panko)\
**Replies:** 3\
**Last updated:** [May 25, 2022, 12:30pm UTC](https://discourse.processing.org/t/making-a-transparent-background-and-exporting-to-png/37073 "2022-05-25T12:30:09Z")

</div>

Hi there - I have made a simple design that has a 17x11 grid of circle shapes. I would like to modify this code to save this image as a PNG with a transparent background. Can anyone help me? Thanks! int horiz = 17;…

---

## [Multidimensional arrays](https://discourse.processing.org/t/multidimensional-arrays/37053)

<div class="topic-metadata">

**Author:** [@povijarrro](https://discourse.processing.org/u/povijarrro)\
**Replies:** 5\
**Last updated:** [May 25, 2022, 4:53am UTC](https://discourse.processing.org/t/multidimensional-arrays/37053 "2022-05-25T04:53:20Z")

</div>

hello. I am just wondering what is difference between m\*\[n\*\[1\]\] and \[n\*\[1\] for k in range(m)\] Because this code: m,n = 50,50 grid = \[n\*\[1\] for k in range(m)\] screen\_size =(600,600) w=float(screen\_size\[0\])/n h=float(scr…

---

## [Connecting to a Server](https://discourse.processing.org/t/connecting-to-a-server/36802)

<div class="topic-metadata">

**Author:** [@Leoperix03](https://discourse.processing.org/u/Leoperix03)\
**Replies:** 2\
**Last updated:** [May 24, 2022, 8:49pm UTC](https://discourse.processing.org/t/connecting-to-a-server/36802 "2022-05-24T20:49:21Z")

</div>

Hi, I want to learn about the Client class for processing because I want to build a console to communicate with other people, the problem is that I do not have a server that I can use. Online I found that you can technic…

---

## [Color 2D texture with noise](https://discourse.processing.org/t/color-2d-texture-with-noise/37049)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 5\
**Last updated:** [May 24, 2022, 4:12pm UTC](https://discourse.processing.org/t/color-2d-texture-with-noise/37049 "2022-05-24T16:12:11Z")

</div>

Howdy! I am doing a background with noise adapting a code from here and I would like to control color to do something as you can see on my pictures, but I don’t understand it as good as I need for that. I can get some cr…

---

## [Flipcard (based on Topics/Textures/TextureQuad example) Front and Back](https://discourse.processing.org/t/flipcard-based-on-topics-textures-texturequad-example-front-and-back/37024)

<div class="topic-metadata">

**Author:** [@Gus\_Fermin](https://discourse.processing.org/u/Gus_Fermin)\
**Replies:** 12\
**Last updated:** [May 24, 2022, 3:33pm UTC](https://discourse.processing.org/t/flipcard-based-on-topics-textures-texturequad-example-front-and-back/37024 "2022-05-24T15:33:30Z")

</div>

Hi there, Hope this msg finds you well. Greetings from the Dominican Rep. :slight\_smile: I am trying to do a FLIPCARD, meaning, a image on one side and another image on the other side. So that when you rotate it, you s…

---

## [Problem with arraylist (and PureData)](https://discourse.processing.org/t/problem-with-arraylist-and-puredata/37008)

<div class="topic-metadata">

**Author:** [@tati1202](https://discourse.processing.org/u/tati1202)\
**Replies:** 2\
**Last updated:** [May 24, 2022, 3:17pm UTC](https://discourse.processing.org/t/problem-with-arraylist-and-puredata/37008 "2022-05-24T15:17:04Z")

</div>

We are trying to create something like this pic and we are using the voice (PureData)

---

## [Java, python, p5.js](https://discourse.processing.org/t/java-python-p5-js/37051)

<div class="topic-metadata">

**Author:** [@panko](https://discourse.processing.org/u/panko)\
**Replies:** 2\
**Last updated:** [May 24, 2022, 7:15am UTC](https://discourse.processing.org/t/java-python-p5-js/37051 "2022-05-24T07:15:50Z")

</div>

hi there - i’m curious to see if the community has weighed in on the difference between coding languages offered by Processing at this point. maybe there’s a good resource that compares and contrasts all three. i’m in …

---

## [Keyboard keypresses are ignored](https://discourse.processing.org/t/keyboard-keypresses-are-ignored/34781)

<div class="topic-metadata">

**Author:** [@tanzor](https://discourse.processing.org/u/tanzor)\
**Replies:** 5\
**Last updated:** [May 24, 2022, 7:10am UTC](https://discourse.processing.org/t/keyboard-keypresses-are-ignored/34781 "2022-05-24T07:10:05Z")

</div>

Hello experts, I’m programming a psychology experiment using jsPsych and P5. Participants should see a stimulus on the screen, make a decision, press a button, and get feedback on the accuracy of their response before m…

---

## [Simple Pong-like Interactive](https://discourse.processing.org/t/simple-pong-like-interactive/34615)

<div class="topic-metadata">

**Author:** [@hullstar242](https://discourse.processing.org/u/hullstar242)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 2:43am UTC](https://discourse.processing.org/t/simple-pong-like-interactive/34615 "2022-05-24T02:43:10Z")

</div>

I literally started with processing on Monday and decided to try and make a simple animation where the ball is bouncing back and forth, the Y of the ball not changing just the X and have the ball change direction when it…

---

## [How to slow down the switch in draw function?](https://discourse.processing.org/t/how-to-slow-down-the-switch-in-draw-function/33973)

<div class="topic-metadata">

**Author:** [@badbatman](https://discourse.processing.org/u/badbatman)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 6:50am UTC](https://discourse.processing.org/t/how-to-slow-down-the-switch-in-draw-function/33973 "2022-05-24T06:50:06Z")

</div>

How can I slow down the switch i’m using in draw? I’ve played with framerate and delay but it just makes the video('s) very slow which is not what I want, it still need to run smoothly. This is the only way i’ve found o…

---

## [Constellation with noise](https://discourse.processing.org/t/constellation-with-noise/36965)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 29\
**Last updated:** [May 24, 2022, 2:26am UTC](https://discourse.processing.org/t/constellation-with-noise/36965 "2022-05-24T02:26:39Z")

</div>

Hi there! I am trying to make a loop of points with different distances and sizes beetween them, but something softer that I can get with random. I have started to use noise function, but it is my very first time, so I …

---

## [How to create Vertex to connect points like a line](https://discourse.processing.org/t/how-to-create-vertex-to-connect-points-like-a-line/37030)

<div class="topic-metadata">

**Author:** [@miguelandradebr](https://discourse.processing.org/u/miguelandradebr)\
**Replies:** 6\
**Last updated:** [May 24, 2022, 1:39am UTC](https://discourse.processing.org/t/how-to-create-vertex-to-connect-points-like-a-line/37030 "2022-05-24T01:39:42Z")

</div>

Hello I would like to create a vertex to join the points creating an equal line in the image… How can I do it? I’m using p5.js Thanks

---

## [Leap Motion Library problems](https://discourse.processing.org/t/leap-motion-library-problems/21401)

<div class="topic-metadata">

**Author:** [@Ablah](https://discourse.processing.org/u/Ablah)\
**Replies:** 3\
**Last updated:** [May 23, 2022, 7:57pm UTC](https://discourse.processing.org/t/leap-motion-library-problems/21401 "2022-05-23T19:57:28Z")

</div>

I’m trying to use the Leap Motion for school homework. I downloaded the library from Github and added it to the Processing Libraries. I’m using: Processing 3.2.3 Leap Motion Software 2.3.1+31549 At first, it seems to…

---

## [How to organize radio buttons in separate lines?](https://discourse.processing.org/t/how-to-organize-radio-buttons-in-separate-lines/10041)

<div class="topic-metadata">

**Author:** [@togo](https://discourse.processing.org/u/togo)\
**Replies:** 7\
**Last updated:** [May 23, 2022, 5:41pm UTC](https://discourse.processing.org/t/how-to-organize-radio-buttons-in-separate-lines/10041 "2022-05-23T17:41:41Z")

</div>

Hello, I’m currently working on radio buttons. Right now, I have the following code. gender = createRadio(); gender.option('male'); gender.option('female'); gender.option('prefer not to say'); gender.position(10, 30);…

---

## [Alter screen brightness programmatically](https://discourse.processing.org/t/alter-screen-brightness-programmatically/36975)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 3\
**Last updated:** [May 23, 2022, 4:54am UTC](https://discourse.processing.org/t/alter-screen-brightness-programmatically/36975 "2022-05-23T04:54:48Z")

</div>

HI, I am trying to find a simple method to alter the screen brightness in an application that will only be viewed for a short period then after that is not required. I have found some example code created using android…

---

## [My pictures in array don't disappear, they overlap](https://discourse.processing.org/t/my-pictures-in-array-dont-disappear-they-overlap/37020)

<div class="topic-metadata">

**Author:** [@Katharina](https://discourse.processing.org/u/Katharina)\
**Replies:** 5\
**Last updated:** [May 22, 2022, 10:12pm UTC](https://discourse.processing.org/t/my-pictures-in-array-dont-disappear-they-overlap/37020 "2022-05-22T22:12:39Z")

</div>

so I made a programm. I dress up game to be excact. I’ve programmed it but there’s one problem: The pictures I use in arrays,when executed only overlap themselves not disappear. Meaning when I click the button “blush” …

---

## [Glitch sound, p5.audio](https://discourse.processing.org/t/glitch-sound-p5-audio/37023)

<div class="topic-metadata">

**Author:** [@garrettlynch](https://discourse.processing.org/u/garrettlynch)\
**Replies:** 0\
**Last updated:** [May 22, 2022, 5:33pm UTC](https://discourse.processing.org/t/glitch-sound-p5-audio/37023 "2022-05-22T17:33:44Z")

</div>

Similar to the Pure Data example here (https://www.youtube.com/watch?v=FLK854QyjE4) I’m trying to conceptualise how a file, such as a text file, might be read in P5 and played back as glitch audio. How would I go about t…

---

## [How can i determine which shift/ctrl/alt key is being pressed? \[SOLVED\]](https://discourse.processing.org/t/how-can-i-determine-which-shift-ctrl-alt-key-is-being-pressed-solved/36579)

<div class="topic-metadata">

**Author:** [@RedDeath](https://discourse.processing.org/u/RedDeath)\
**Replies:** 4\
**Last updated:** [May 22, 2022, 4:23pm UTC](https://discourse.processing.org/t/how-can-i-determine-which-shift-ctrl-alt-key-is-being-pressed-solved/36579 "2022-05-22T16:23:36Z")

</div>

Currently trying to figure out how to capture keys which have multiple locations on a typical US layout keyboard, this is just some code I’ve been using to test if this idea can work, and how I should do it. import java…

---

## [Using Pictures in Arrays](https://discourse.processing.org/t/using-pictures-in-arrays/36957)

<div class="topic-metadata">

**Author:** [@Katharina](https://discourse.processing.org/u/Katharina)\
**Replies:** 4\
**Last updated:** [May 22, 2022, 12:57pm UTC](https://discourse.processing.org/t/using-pictures-in-arrays/36957 "2022-05-22T12:57:57Z")

</div>

So I have this little problem here. I want to use my pictures that I made with arrays. The goal is when you click your mouse the fist picture (array\[0\]) comes up and when u click again the second picture in array\[2\] com…

---

## [Video library simply missing?](https://discourse.processing.org/t/video-library-simply-missing/36963)

<div class="topic-metadata">

**Author:** [@esc746](https://discourse.processing.org/u/esc746)\
**Replies:** 8\
**Last updated:** [May 22, 2022, 12:54pm UTC](https://discourse.processing.org/t/video-library-simply-missing/36963 "2022-05-22T12:54:38Z")

</div>

Running latest processing 4.0b8, reinstalled moments ago. Windows 10 64-bit. import processing.video.\*; Movie vid1; Results in this error: “No library found for processing.video” In the Contribution Manager the video…

---

## [Infinite scrolling images](https://discourse.processing.org/t/infinite-scrolling-images/36967)

<div class="topic-metadata">

**Author:** [@oli7er](https://discourse.processing.org/u/oli7er)\
**Replies:** 1\
**Last updated:** [May 22, 2022, 1:10am UTC](https://discourse.processing.org/t/infinite-scrolling-images/36967 "2022-05-22T01:10:39Z")

</div>

Hi everyone, I have been attempting a sketch, which scrolls through images, each image has an 2 more images placed both on top and below it ( visually similar to how an instagram post will have the username/profile phot…

---

## [Can't import library](https://discourse.processing.org/t/cant-import-library/36951)

<div class="topic-metadata">

**Author:** [@tati1202](https://discourse.processing.org/u/tati1202)\
**Replies:** 2\
**Last updated:** [May 21, 2022, 6:16pm UTC](https://discourse.processing.org/t/cant-import-library/36951 "2022-05-21T18:16:18Z")

</div>

---

## [Trying to syphon sound from spotify to a sketch](https://discourse.processing.org/t/trying-to-syphon-sound-from-spotify-to-a-sketch/37003)

<div class="topic-metadata">

**Author:** [@yairkass](https://discourse.processing.org/u/yairkass)\
**Replies:** 0\
**Last updated:** [May 21, 2022, 5:36pm UTC](https://discourse.processing.org/t/trying-to-syphon-sound-from-spotify-to-a-sketch/37003 "2022-05-21T17:36:15Z")

</div>

Hey everybody :slight\_smile: I’m testing syphoning sound from my mac to a processing sketch for some audio viz stuff. I installed Sound Siphon and created a new virtual input. When i list my sound devices in processin…

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

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