# Latest

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

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

**Page:** 222

---

## [Overlap multiple PGraphics with copy() function](https://discourse.processing.org/t/overlap-multiple-pgraphics-with-copy-function/30177)

<div class="topic-metadata">

**Author:** [@afkqs](https://discourse.processing.org/u/afkqs)\
**Replies:** 1\
**Last updated:** [May 22, 2021, 10:20am UTC](https://discourse.processing.org/t/overlap-multiple-pgraphics-with-copy-function/30177 "2021-05-22T10:20:42Z")

</div>

Hi there, I’m trying to overlap multiple fades using the copy() function that was suggested to me in a previous topic. My issue is that, as the top layer is fading away, because the shape is copied to the top of the ca…

---

## [How to use Processing 3d in IntelliJ using core library?](https://discourse.processing.org/t/how-to-use-processing-3d-in-intellij-using-core-library/30207)

<div class="topic-metadata">

**Author:** [@Eliott](https://discourse.processing.org/u/Eliott)\
**Replies:** 2\
**Last updated:** [May 22, 2021, 9:00am UTC](https://discourse.processing.org/t/how-to-use-processing-3d-in-intellij-using-core-library/30207 "2021-05-22T09:00:23Z")

</div>

i have this code: import processing.core.PApplet; public class Main extends PApplet { public void settings() { size(800,600, P3D); } public void setup() { } public void draw() { b…

---

## [Missing colors on openprocessing.org](https://discourse.processing.org/t/missing-colors-on-openprocessing-org/30153)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 3\
**Last updated:** [May 22, 2021, 1:42am UTC](https://discourse.processing.org/t/missing-colors-on-openprocessing-org/30153 "2021-05-22T01:42:19Z")

</div>

Hi please check https://openprocessing.org/sketch/1197450 Colors are missing, why? Is something missing on openprocessing.org? Code works fine on my machine. I am sure it is something silly, but I don’t see what. …

---

## [What is Tkinter?](https://discourse.processing.org/t/what-is-tkinter/30209)

<div class="topic-metadata">

**Author:** [@bridgette](https://discourse.processing.org/u/bridgette)\
**Replies:** 3\
**Last updated:** [May 22, 2021, 1:09am UTC](https://discourse.processing.org/t/what-is-tkinter/30209 "2021-05-22T01:09:45Z")

</div>

Hi! I have a project in where I have to create a currency converter, so when I searched up examples, a lot of them were using Tkinter and the coding looked really complicated. What exactly is Tkinter? and Is there a way…

---

## [Big Picture question on WebGL 2.0](https://discourse.processing.org/t/big-picture-question-on-webgl-2-0/30198)

<div class="topic-metadata">

**Author:** [@BigBigRed](https://discourse.processing.org/u/BigBigRed)\
**Replies:** 4\
**Last updated:** [May 21, 2021, 9:16pm UTC](https://discourse.processing.org/t/big-picture-question-on-webgl-2-0/30198 "2021-05-21T21:16:24Z")

</div>

I am trying to learn so please bear with me: I have printed out the Kronos’ ‘WebGL 2.0 API Quick Reference Guide’. While I do see some things on these pages that are used often in p5js sketches (createShader, obviously)…

---

## [How to text array](https://discourse.processing.org/t/how-to-text-array/30192)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 22\
**Last updated:** [May 21, 2021, 6:23pm UTC](https://discourse.processing.org/t/how-to-text-array/30192 "2021-05-21T18:23:41Z")

</div>

hi all how to text array elements i have try but i could not do it looks random and wrong code any help thanks in advance void setup () { size ( 800 , 800 ); } void draw () { fill(0); int\[\] x = { 50,…

---

## [Object-oriented programming for the GAME](https://discourse.processing.org/t/object-oriented-programming-for-the-game/30203)

<div class="topic-metadata">

**Author:** [@UnderHok](https://discourse.processing.org/u/UnderHok)\
**Replies:** 1\
**Last updated:** [May 21, 2021, 7:43am UTC](https://discourse.processing.org/t/object-oriented-programming-for-the-game/30203 "2021-05-21T07:43:00Z")

</div>

please format code with \</\> button \* homework policy \* asking questions help. How do I get the text input code to choose one of the two options and show the game board import java.util.Random; import java.util.Arra…

---

## [Merge and trim audio files in p5Sound?](https://discourse.processing.org/t/merge-and-trim-audio-files-in-p5sound/30156)

<div class="topic-metadata">

**Author:** [@Gershy13](https://discourse.processing.org/u/Gershy13)\
**Replies:** 13\
**Last updated:** [May 21, 2021, 12:14am UTC](https://discourse.processing.org/t/merge-and-trim-audio-files-in-p5sound/30156 "2021-05-21T00:14:03Z")

</div>

Im building an audio visualization project with p5js, and was wondering if it was possible to merge multiple audio files together (and automatically trim them to the same length, maybe 10 seconds (just use the first 10 s…

---

## [Lock app screen, home](https://discourse.processing.org/t/lock-app-screen-home/30191)

<div class="topic-metadata">

**Author:** [@Ezikaalex](https://discourse.processing.org/u/Ezikaalex)\
**Replies:** 1\
**Last updated:** [May 20, 2021, 1:02pm UTC](https://discourse.processing.org/t/lock-app-screen-home/30191 "2021-05-20T13:02:12Z")

</div>

please format code with \</\> button \* homework policy \* asking questions yes

---

## [How can I make an object remain in the x position it was fired from?](https://discourse.processing.org/t/how-can-i-make-an-object-remain-in-the-x-position-it-was-fired-from/30187)

<div class="topic-metadata">

**Author:** [@burritonacho](https://discourse.processing.org/u/burritonacho)\
**Replies:** 1\
**Last updated:** [May 20, 2021, 11:57am UTC](https://discourse.processing.org/t/how-can-i-make-an-object-remain-in-the-x-position-it-was-fired-from/30187 "2021-05-20T11:57:25Z")

</div>

I have a character moving back and forth across the screen that fires a projectile, and I want the projectile to stay on screen. The Y position part of my code is working, but I cannot get my projectiles to stay in the …

---

## [I am stuck with one small invisible error](https://discourse.processing.org/t/i-am-stuck-with-one-small-invisible-error/30170)

<div class="topic-metadata">

**Author:** [@zang](https://discourse.processing.org/u/zang)\
**Replies:** 5\
**Last updated:** [May 20, 2021, 11:39am UTC](https://discourse.processing.org/t/i-am-stuck-with-one-small-invisible-error/30170 "2021-05-20T11:39:32Z")

</div>

what i want to do is that when i click and mouse inside the quadrilateral，it will be divided to four pieces. there will be four mouse position for each piece .the four mouse position will move to four different position. …

---

## [APDE libraries update](https://discourse.processing.org/t/apde-libraries-update/26861)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 4\
**Last updated:** [May 20, 2021, 1:47am UTC](https://discourse.processing.org/t/apde-libraries-update/26861 "2021-05-20T01:47:18Z")

</div>

hi after reading topics over the net i found that some libraries in old versions of APDE work and on newer releases of APDE not working my question how to enable libraries to run on the latest APDE thanks in advance …

---

## [\[bezier.data.sql library\] SHOW TABLE STATUS / It doesn't work. / help me](https://discourse.processing.org/t/bezier-data-sql-library-show-table-status-it-doesnt-work-help-me/30179)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [May 20, 2021, 12:11am UTC](https://discourse.processing.org/t/bezier-data-sql-library-show-table-status-it-doesnt-work-help-me/30179 "2021-05-20T00:11:18Z")

</div>

please format code with \</\> button \* homework policy \* asking questions import de.bezier.data.sql.\*; SQLite db; String SHOW\_TABLE\_STATUS = "SHOW TABLE STATUS"; String SHOW\_TABLE\_STATUS2 = "SHOW TABLES"; void setup(…

---

## [P3D not working on Big Siur](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745)

<div class="topic-metadata">

**Author:** [@jackeddielove](https://discourse.processing.org/u/jackeddielove)\
**Replies:** 11\
**Last updated:** [May 19, 2021, 10:02pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745 "2021-05-19T22:02:42Z")

</div>

Even this basic code, cut and pasted from the P3D tutorial, won’t run. Any ideas? float x,y,z; void setup() { size(200,200,P3D); x = width/2; y = height/2; z = 0; } void draw() { translate(x,y,z); rectMode…

---

## [How to make squares bounce off of each other?](https://discourse.processing.org/t/how-to-make-squares-bounce-off-of-each-other/30159)

<div class="topic-metadata">

**Author:** [@cannonman](https://discourse.processing.org/u/cannonman)\
**Replies:** 3\
**Last updated:** [May 19, 2021, 9:10pm UTC](https://discourse.processing.org/t/how-to-make-squares-bounce-off-of-each-other/30159 "2021-05-19T21:10:55Z")

</div>

please format code with \</\> button \* homework policy \* asking questions int \[\]xspeed; int \[\]yspeed; int \[\]xcor; int \[\]ycor; int \[\]direction; int \[\]steps; boolean movin\[\]; boolean gamemode; float r\[\]; float b\[\]; float…

---

## [Kinect on windows 10](https://discourse.processing.org/t/kinect-on-windows-10/20443)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 2\
**Last updated:** [May 19, 2021, 7:57pm UTC](https://discourse.processing.org/t/kinect-on-windows-10/20443 "2021-05-19T19:57:09Z")

</div>

Hey, I have an error “No kinect devices found”. Im using windows 10 and the library ‘open kinect’. I tried to look up for an answer but didnt find one, so what can I do? Thanks (:

---

## [How to play a video and add a live webcam overlay?](https://discourse.processing.org/t/how-to-play-a-video-and-add-a-live-webcam-overlay/30167)

<div class="topic-metadata">

**Author:** [@saskia\_NL](https://discourse.processing.org/u/saskia_NL)\
**Replies:** 1\
**Last updated:** [May 19, 2021, 7:51pm UTC](https://discourse.processing.org/t/how-to-play-a-video-and-add-a-live-webcam-overlay/30167 "2021-05-19T19:51:42Z")

</div>

Hi, I am making a film that will be shown at an exhibition in about a month. The visitor can sit in front of a monitor and experience the film like this with headphones. At a certain point in the film I want to incorpor…

---

## [Making an object react to sound amplitude of live audio feed using minim library or sound library](https://discourse.processing.org/t/making-an-object-react-to-sound-amplitude-of-live-audio-feed-using-minim-library-or-sound-library/30169)

<div class="topic-metadata">

**Author:** [@codestruggles](https://discourse.processing.org/u/codestruggles)\
**Replies:** 2\
**Last updated:** [May 19, 2021, 2:01pm UTC](https://discourse.processing.org/t/making-an-object-react-to-sound-amplitude-of-live-audio-feed-using-minim-library-or-sound-library/30169 "2021-05-19T14:01:58Z")

</div>

Hello! I’m currently working on something i feel should be pretty simple but i’m really struggling to do it :sweat: Basically, i have a png image and i would like to make it move position on the canvas by reacting to l…

---

## [AudioIn not working on mac](https://discourse.processing.org/t/audioin-not-working-on-mac/29886)

<div class="topic-metadata">

**Author:** [@LuckyDots](https://discourse.processing.org/u/LuckyDots)\
**Replies:** 3\
**Last updated:** [May 19, 2021, 7:16am UTC](https://discourse.processing.org/t/audioin-not-working-on-mac/29886 "2021-05-19T07:16:21Z")

</div>

Hello, I’m having some trouble with getting the minim audio input to work. first i tried following this youtube tutorial then i tried using the example code on http://code.compartmental.net/minim/audioinp…

---

## [Fading Background Colors](https://discourse.processing.org/t/fading-background-colors/30164)

<div class="topic-metadata">

**Author:** [@Pepita](https://discourse.processing.org/u/Pepita)\
**Replies:** 0\
**Last updated:** [May 19, 2021, 1:57am UTC](https://discourse.processing.org/t/fading-background-colors/30164 "2021-05-19T01:57:00Z")

</div>

Hi! I am trying to fade that background from one color to another. I’ve had success by following this very helpful post : But I would like to fade another color in afterwards (so that there will be 3 color changes). …

---

## [Updating Digital Clock Reading to Always Match Current Time](https://discourse.processing.org/t/updating-digital-clock-reading-to-always-match-current-time/12363)

<div class="topic-metadata">

**Author:** [@per0\_22](https://discourse.processing.org/u/per0_22)\
**Replies:** 4\
**Last updated:** [May 18, 2021, 9:35pm UTC](https://discourse.processing.org/t/updating-digital-clock-reading-to-always-match-current-time/12363 "2021-05-18T21:35:33Z")

</div>

Hello. This is my first post so please correct me if my formatting is awful. I am trying to have a simple date and time print onto the monitor. I am able to print the values using their corresponding functions from proc…

---

## [Saving every frame in SVG](https://discourse.processing.org/t/saving-every-frame-in-svg/30152)

<div class="topic-metadata">

**Author:** [@ecce13](https://discourse.processing.org/u/ecce13)\
**Replies:** 1\
**Last updated:** [May 18, 2021, 12:01pm UTC](https://discourse.processing.org/t/saving-every-frame-in-svg/30152 "2021-05-18T12:01:26Z")

</div>

Hey, I’m completely new to this, and this is an assignment for me, so pardon if there’s any errors in the code. I’ve been trying to implement SVG saving so I can edit the file in Illustrator, but I can’t seem to save the…

---

## [Find direction vector is in](https://discourse.processing.org/t/find-direction-vector-is-in/30161)

<div class="topic-metadata">

**Author:** [@fede4961](https://discourse.processing.org/u/fede4961)\
**Replies:** 2\
**Last updated:** [May 18, 2021, 9:12pm UTC](https://discourse.processing.org/t/find-direction-vector-is-in/30161 "2021-05-18T21:12:48Z")

</div>

I currently have 2 vectors: PVector a = new PVector ( 100, 100 ); PVector b = new PVector ( 500, 500 ); I need to set a’s heading so that it lines up with b. I’ve been struggling with this for a few days: I tried using…

---

## [Gradients with different colors](https://discourse.processing.org/t/gradients-with-different-colors/30143)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 5\
**Last updated:** [May 18, 2021, 4:08pm UTC](https://discourse.processing.org/t/gradients-with-different-colors/30143 "2021-05-18T16:08:54Z")

</div>

Hi there I want to make a picture as the picture attached. I have found a Code about gradients that I wanted to use, but I dont understand anything :sweat\_smile: I would like to know what I need to change to use an…

---

## [dragOver and dragLeave do not work](https://discourse.processing.org/t/dragover-and-dragleave-do-not-work/4208)

<div class="topic-metadata">

**Author:** [@jituibuchipi](https://discourse.processing.org/u/jituibuchipi)\
**Replies:** 7\
**Last updated:** [May 18, 2021, 12:18pm UTC](https://discourse.processing.org/t/dragover-and-dragleave-do-not-work/4208 "2021-05-18T12:18:41Z")

</div>

I wanna write a board which hilight when users drag files upon it, When i run the code the drop() function did work, However the dragOver() and dragLeave() function just do not work,anything wrong with my code? I edit a…

---

## [fileInput class android, pick Folder or File](https://discourse.processing.org/t/fileinput-class-android-pick-folder-or-file/30148)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 1\
**Last updated:** [May 18, 2021, 7:17am UTC](https://discourse.processing.org/t/fileinput-class-android-pick-folder-or-file/30148 "2021-05-18T07:17:26Z")

</div>

Here is a class to handle file input in android. here is the base sketch; Summaryimport android.app.Activity; import android.content.Intent; import processing.core.PApplet; import android.os.Bundle; import android.os.E…

---

## [Are there supposed to be tags in the post creator optional tags box?](https://discourse.processing.org/t/are-there-supposed-to-be-tags-in-the-post-creator-optional-tags-box/30147)

<div class="topic-metadata">

**Author:** [@Tinkerer](https://discourse.processing.org/u/Tinkerer)\
**Replies:** 0\
**Last updated:** [May 18, 2021, 6:02am UTC](https://discourse.processing.org/t/are-there-supposed-to-be-tags-in-the-post-creator-optional-tags-box/30147 "2021-05-18T06:02:20Z")

</div>

When i click or type on the optional tags box all i ever get is homework x779 no other tags and it doesnt let me type anything using firefox 88.0.1 on win10 thanks :slight\_smile:

---

## [Drawing Line with Bouncing Ball](https://discourse.processing.org/t/drawing-line-with-bouncing-ball/30130)

<div class="topic-metadata">

**Author:** [@SodaPopPop](https://discourse.processing.org/u/SodaPopPop)\
**Replies:** 8\
**Last updated:** [May 18, 2021, 3:23am UTC](https://discourse.processing.org/t/drawing-line-with-bouncing-ball/30130 "2021-05-18T03:23:32Z")

</div>

Hello! I am a beginner, and I’m very new to processing! I have a project in mind that I have no idea how to execute. I want to create something from the bouncing ball example. Supposedly, the code will draw a line from …

---

## [resetMatrix() has unexpected result in P3D (or, how to display "HUD" text?)](https://discourse.processing.org/t/resetmatrix-has-unexpected-result-in-p3d-or-how-to-display-hud-text/30131)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 3\
**Last updated:** [May 17, 2021, 5:48pm UTC](https://discourse.processing.org/t/resetmatrix-has-unexpected-result-in-p3d-or-how-to-display-hud-text/30131 "2021-05-17T17:48:19Z")

</div>

I was trying to draw some text inside a pushMattrix/popMatrix by using resetMatrix, it works well in 2D but not in P3D, any pointers to what I’m doing wrong? size(500, 500) # then try size(500, 500, P3D) textSize(40…

---

## [Debugger crashing](https://discourse.processing.org/t/debugger-crashing/30053)

<div class="topic-metadata">

**Author:** [@LuisGranados](https://discourse.processing.org/u/LuisGranados)\
**Replies:** 8\
**Last updated:** [May 17, 2021, 4:29pm UTC](https://discourse.processing.org/t/debugger-crashing/30053 "2021-05-17T16:29:13Z")

</div>

I am a newbie, attempting to use the debugger to figure out why my sketch isn’t doing what I want. But it never shows anything in the variables window, and simply shows a massive red error message in the console instead.…

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

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