# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=59

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

**Page:** 60

---

## [Output to more than one canvas texture in processing with shader](https://discourse.processing.org/t/output-to-more-than-one-canvas-texture-in-processing-with-shader/39696)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 0\
**Last updated:** [November 14, 2022, 1:33am UTC](https://discourse.processing.org/t/output-to-more-than-one-canvas-texture-in-processing-with-shader/39696 "2022-11-14T01:33:21Z")

</div>

as the question suggests im looking to output to more than one canvas element in processing to speed up the calculations and limit shader draw calls. It has to be as simple as possible to be transferable to android as we…

---

## [Help using rotateX() rotateY() and rotateZ() to make an object pitch yaw and roll](https://discourse.processing.org/t/help-using-rotatex-rotatey-and-rotatez-to-make-an-object-pitch-yaw-and-roll/39652)

<div class="topic-metadata">

**Author:** [@RomketBoi](https://discourse.processing.org/u/RomketBoi)\
**Replies:** 13\
**Last updated:** [November 13, 2022, 5:01pm UTC](https://discourse.processing.org/t/help-using-rotatex-rotatey-and-rotatez-to-make-an-object-pitch-yaw-and-roll/39652 "2022-11-13T17:01:20Z")

</div>

I have a program where I have a spaceship with pitch, yaw, and roll values and I want to rotate everything else to make it seem like the camera is attached to the ship. Currently, this is my code: rotateX(pitch); rotate…

---

## [Why do my ellipse become bigger when it "further away" processing](https://discourse.processing.org/t/why-do-my-ellipse-become-bigger-when-it-further-away-processing/39690)

<div class="topic-metadata">

**Author:** [@returng](https://discourse.processing.org/u/returng)\
**Replies:** 2\
**Last updated:** [November 13, 2022, 12:22pm UTC](https://discourse.processing.org/t/why-do-my-ellipse-become-bigger-when-it-further-away-processing/39690 "2022-11-13T12:22:13Z")

</div>

Hello, I have a problem the ellipse size becomes smaller when I use mousePressed but as it is further away it becomes bigger and bigger. float gravity = .4; int particle\_each\_time = 4; ArrayList\<Particle\> particle= new …

---

## [Does anyonw know how to create Bouncy Bubbles with multiple colors?](https://discourse.processing.org/t/does-anyonw-know-how-to-create-bouncy-bubbles-with-multiple-colors/39686)

<div class="topic-metadata">

**Author:** [@learningprocessing23](https://discourse.processing.org/u/learningprocessing23)\
**Replies:** 3\
**Last updated:** [November 13, 2022, 8:07am UTC](https://discourse.processing.org/t/does-anyonw-know-how-to-create-bouncy-bubbles-with-multiple-colors/39686 "2022-11-13T08:07:34Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello! I saw the Bouncy Balls from Processing Org Example, and I want to create multiple colors of bubbles. However, when I tried to use random(…

---

## [Help using the Teilchen Library](https://discourse.processing.org/t/help-using-the-teilchen-library/39680)

<div class="topic-metadata">

**Author:** [@stixan](https://discourse.processing.org/u/stixan)\
**Replies:** 0\
**Last updated:** [November 12, 2022, 8:26pm UTC](https://discourse.processing.org/t/help-using-the-teilchen-library/39680 "2022-11-12T20:26:31Z")

</div>

I have just discovered the Teilchen library by dennisppaul and FlowBo. Teilchen appears to be very useful when working with physics, particles, forces, collisions, and behaviors. It ships with a collection of examples, …

---

## [Rect using wrong texture when using shader](https://discourse.processing.org/t/rect-using-wrong-texture-when-using-shader/39673)

<div class="topic-metadata">

**Author:** [@illus](https://discourse.processing.org/u/illus)\
**Replies:** 11\
**Last updated:** [November 12, 2022, 11:25am UTC](https://discourse.processing.org/t/rect-using-wrong-texture-when-using-shader/39673 "2022-11-12T11:25:34Z")

</div>

I’m using a chroma shader (to do some green screen video) but I want to use it twice so I have chroma.set("u\_tex",cam); rect(49,0,560,480); chroma.set("u\_tex",countDown); //rect(600,0,560,480); (I commented ou…

---

## [Can I make a video blur?](https://discourse.processing.org/t/can-i-make-a-video-blur/39670)

<div class="topic-metadata">

**Author:** [@Bonobono](https://discourse.processing.org/u/Bonobono)\
**Replies:** 2\
**Last updated:** [November 11, 2022, 5:22pm UTC](https://discourse.processing.org/t/can-i-make-a-video-blur/39670 "2022-11-11T17:22:17Z")

</div>

Hello Everyone, Is it possible to blur a video, much like it is easy to blur an image using the blur filter? Thanks,

---

## [Integration with Ableton via OSC](https://discourse.processing.org/t/integration-with-ableton-via-osc/28997)

<div class="topic-metadata">

**Author:** [@Merk](https://discourse.processing.org/u/Merk)\
**Replies:** 1\
**Last updated:** [November 11, 2022, 5:39am UTC](https://discourse.processing.org/t/integration-with-ableton-via-osc/28997 "2022-11-11T05:39:31Z")

</div>

I’ve managed to get processing working quite well with Ableton Live, and interested to know who else is doing similar to learn/share. The Max for Live integration pack includes devices that send OSC messages, so I use m…

---

## [I need a shortcut for stopping sketch in Processing](https://discourse.processing.org/t/i-need-a-shortcut-for-stopping-sketch-in-processing/39642)

<div class="topic-metadata">

**Author:** [@abdu](https://discourse.processing.org/u/abdu)\
**Replies:** 3\
**Last updated:** [November 11, 2022, 12:50am UTC](https://discourse.processing.org/t/i-need-a-shortcut-for-stopping-sketch-in-processing/39642 "2022-11-11T00:50:58Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I want to create a custom shortcut for stopping the sketch because there is no shortcut for that is there any code I can use in the program f…

---

## [Way to scale canvas to fit on monitor?](https://discourse.processing.org/t/way-to-scale-canvas-to-fit-on-monitor/39656)

<div class="topic-metadata">

**Author:** [@i-draw-monkeys](https://discourse.processing.org/u/i-draw-monkeys)\
**Replies:** 1\
**Last updated:** [November 10, 2022, 12:58pm UTC](https://discourse.processing.org/t/way-to-scale-canvas-to-fit-on-monitor/39656 "2022-11-10T12:58:08Z")

</div>

I am making very large sketches at the moment. The current one is 1900 x 2800. Despite my large monitor, the canvas doesn’t fit. I don’t see the entire image until after I have saved it as an SVG and throw it into Inksc…

---

## [Distance Check within an angle/cone](https://discourse.processing.org/t/distance-check-within-an-angle-cone/39640)

<div class="topic-metadata">

**Author:** [@SolBreaker](https://discourse.processing.org/u/SolBreaker)\
**Replies:** 2\
**Last updated:** [November 9, 2022, 9:25pm UTC](https://discourse.processing.org/t/distance-check-within-an-angle-cone/39640 "2022-11-09T21:25:16Z")

</div>

Currently, I am attempting a raycasting technique with a line-circle interception (which is not working), and I was wondering if there is a way to limit a distance check within a cone in 2D. For reference, I am trying to…

---

## [How can i make balls spread from my mouse](https://discourse.processing.org/t/how-can-i-make-balls-spread-from-my-mouse/39644)

<div class="topic-metadata">

**Author:** [@returng](https://discourse.processing.org/u/returng)\
**Replies:** 2\
**Last updated:** [November 9, 2022, 3:03pm UTC](https://discourse.processing.org/t/how-can-i-make-balls-spread-from-my-mouse/39644 "2022-11-09T15:03:29Z")

</div>

Hello currently I have a problem on how can i make a ball spread out from my mouse (like an explosion). I can make it spread in one specific location but I want it spread while following my mouse.

---

## [Repeated problems with the g4p Gui builder](https://discourse.processing.org/t/repeated-problems-with-the-g4p-gui-builder/39633)

<div class="topic-metadata">

**Author:** [@Kalarila](https://discourse.processing.org/u/Kalarila)\
**Replies:** 1\
**Last updated:** [November 9, 2022, 1:53pm UTC](https://discourse.processing.org/t/repeated-problems-with-the-g4p-gui-builder/39633 "2022-11-09T13:53:31Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Ok, so I’m using Processing 3.5.4 and the G4P GUI Builder Tool (Version 4.4.2). I’m building a basic Image Editing Program, so I need to use seve…

---

## [Receive UDP packets](https://discourse.processing.org/t/receive-udp-packets/19832)

<div class="topic-metadata">

**Author:** [@MiguelSanches](https://discourse.processing.org/u/MiguelSanches)\
**Replies:** 3\
**Last updated:** [November 9, 2022, 12:50am UTC](https://discourse.processing.org/t/receive-udp-packets/19832 "2022-11-09T00:50:11Z")

</div>

Hi everyone, I am currently trying to retrieve UDP packets from an ethernet module connected to my computer. I know that the module is transmitting the UDP packets and my laptop is receiving them (I used Wireshark to co…

---

## [Processing 4 upgrade](https://discourse.processing.org/t/processing-4-upgrade/39632)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 1\
**Last updated:** [November 8, 2022, 8:48pm UTC](https://discourse.processing.org/t/processing-4-upgrade/39632 "2022-11-08T20:48:42Z")

</div>

Hello! I have not yet installed the Processing 4 release. I’m still running version 3.5.4. Will I be able to run older files in the new PDE, or will I need to update files as needed? Just wanted to know what to expect…

---

## [How can i empty an array](https://discourse.processing.org/t/how-can-i-empty-an-array/39630)

<div class="topic-metadata">

**Author:** [@REK166](https://discourse.processing.org/u/REK166)\
**Replies:** 1\
**Last updated:** [November 8, 2022, 5:15pm UTC](https://discourse.processing.org/t/how-can-i-empty-an-array/39630 "2022-11-08T17:15:10Z")

</div>

how can i remove all elements of an array?

---

## [More recent information about WiiMote programming?](https://discourse.processing.org/t/more-recent-information-about-wiimote-programming/39622)

<div class="topic-metadata">

**Author:** [@bigboss97](https://discourse.processing.org/u/bigboss97)\
**Replies:** 1\
**Last updated:** [November 8, 2022, 2:06pm UTC](https://discourse.processing.org/t/more-recent-information-about-wiimote-programming/39622 "2022-11-08T14:06:45Z")

</div>

I want to do something with my WiiMote. I’ve search on net and found different places. But they all have some dead links. If someone can point me to some more recent resources that would be great. I’ve tried Game Contro…

---

## [How do I launch a Processing app? launch() FIXED! (use a shortcut if a program does not launch!)](https://discourse.processing.org/t/how-do-i-launch-a-processing-app-launch-fixed-use-a-shortcut-if-a-program-does-not-launch/39620)

<div class="topic-metadata">

**Author:** [@Lissie](https://discourse.processing.org/u/Lissie)\
**Replies:** 5\
**Last updated:** [November 8, 2022, 1:33pm UTC](https://discourse.processing.org/t/how-do-i-launch-a-processing-app-launch-fixed-use-a-shortcut-if-a-program-does-not-launch/39620 "2022-11-08T13:33:42Z")

</div>

how do i launch a processing app, that need contents like “data” and “lib” to open? i wanna launch a splashscreen sooo I just found out making a shortcut to an application works 100% fine, so if you have a script that n…

---

## [Multiple Serial in multiple windows can it be Done?](https://discourse.processing.org/t/multiple-serial-in-multiple-windows-can-it-be-done/39325)

<div class="topic-metadata">

**Author:** [@Graci2017](https://discourse.processing.org/u/Graci2017)\
**Replies:** 14\
**Last updated:** [November 8, 2022, 1:12pm UTC](https://discourse.processing.org/t/multiple-serial-in-multiple-windows-can-it-be-done/39325 "2022-11-08T13:12:21Z")

</div>

Hello Processing community. I am working with multiple Windows and with multiple Serials. I been trying to separate my 2 serial data into 2 different Windows (not 1 windows with multiple panes) in processing. Hopefully…

---

## [Serial connection between Processing and Arduino doesn’t work](https://discourse.processing.org/t/serial-connection-between-processing-and-arduino-doesn-t-work/39557)

<div class="topic-metadata">

**Author:** [@Mathis](https://discourse.processing.org/u/Mathis)\
**Replies:** 8\
**Last updated:** [November 8, 2022, 12:56pm UTC](https://discourse.processing.org/t/serial-connection-between-processing-and-arduino-doesn-t-work/39557 "2022-11-08T12:56:53Z")

</div>

Hello, I’m trying to send data from Arduino to processing via serial. I’m getting no errors on either side, and all seems to work. Just one problem : the data doesn’t arrive in processing… Here is the code from Ardui…

---

## [Questions about the Processing sound library](https://discourse.processing.org/t/questions-about-the-processing-sound-library/39626)

<div class="topic-metadata">

**Author:** [@dormirj](https://discourse.processing.org/u/dormirj)\
**Replies:** 0\
**Last updated:** [November 8, 2022, 12:35pm UTC](https://discourse.processing.org/t/questions-about-the-processing-sound-library/39626 "2022-11-08T12:35:41Z")

</div>

Hello there, i want to create a few simple examples of types of sound synthesis in Processing. The basics of the processing.sound library are clear to me, i can play sound sources, process them through effects and trigg…

---

## [Some troubles using MidiBus on Mac](https://discourse.processing.org/t/some-troubles-using-midibus-on-mac/39624)

<div class="topic-metadata">

**Author:** [@BBellamy](https://discourse.processing.org/u/BBellamy)\
**Replies:** 0\
**Last updated:** [November 8, 2022, 12:25pm UTC](https://discourse.processing.org/t/some-troubles-using-midibus-on-mac/39624 "2022-11-08T12:25:46Z")

</div>

Hi, I really enjoy programming with Processing, and doing stuff with midi and synthesizers, and I’ve been working for quite some time on a little midi sequencer of my own using the MidiBus, which is great, but I realise…

---

## [PImage background() call not working](https://discourse.processing.org/t/pimage-background-call-not-working/39597)

<div class="topic-metadata">

**Author:** [@playinmyblues](https://discourse.processing.org/u/playinmyblues)\
**Replies:** 1\
**Last updated:** [November 7, 2022, 4:29pm UTC](https://discourse.processing.org/t/pimage-background-call-not-working/39597 "2022-11-07T16:29:39Z")

</div>

I am working my way through Ira Greenberg’s original version of “Processing: Creative Coding and Computational Art.” On page 195 there is an example of using the PImage class for draw lines using pixels. The code is fair…

---

## [Losing mouse events on touchscreen devices](https://discourse.processing.org/t/losing-mouse-events-on-touchscreen-devices/39613)

<div class="topic-metadata">

**Author:** [@ottenm](https://discourse.processing.org/u/ottenm)\
**Replies:** 2\
**Last updated:** [November 7, 2022, 3:47pm UTC](https://discourse.processing.org/t/losing-mouse-events-on-touchscreen-devices/39613 "2022-11-07T15:47:58Z")

</div>

When I run the sketch below and press and release my actual mouse, I get mousePressed(), then tons of 'true’s until I let go, then mouseReleased(). Great! But if I do the same thing on the touchscreen, I don’t get mous…

---

## [In Java, can an interface extend several interfaces?](https://discourse.processing.org/t/in-java-can-an-interface-extend-several-interfaces/39612)

<div class="topic-metadata">

**Author:** [@neon124](https://discourse.processing.org/u/neon124)\
**Replies:** 1\
**Last updated:** [November 7, 2022, 12:34pm UTC](https://discourse.processing.org/t/in-java-can-an-interface-extend-several-interfaces/39612 "2022-11-07T12:34:04Z")

</div>

In Java, can an interface extend several interfaces? This code looks to be valid in my IDE and compiles: interface Foo extends Runnable, Set, Comparator\<String\> { } However, I looked up on the internet from various sou…

---

## [Having multiple sketches running and mixing them in Open Broadcaster Software (OBS)?](https://discourse.processing.org/t/having-multiple-sketches-running-and-mixing-them-in-open-broadcaster-software-obs/39580)

<div class="topic-metadata">

**Author:** [@amundsen](https://discourse.processing.org/u/amundsen)\
**Replies:** 2\
**Last updated:** [November 7, 2022, 8:10am UTC](https://discourse.processing.org/t/having-multiple-sketches-running-and-mixing-them-in-open-broadcaster-software-obs/39580 "2022-11-07T08:10:09Z")

</div>

Hello, Is anyone running several sketches and mixing them using OBS? How smooth is it? Thank you in advance.

---

## [GUI Builder for G4P not working with Processing 4 ### FIXED ###](https://discourse.processing.org/t/gui-builder-for-g4p-not-working-with-processing-4-fixed/35746)

<div class="topic-metadata">

**Author:** [@bonner45](https://discourse.processing.org/u/bonner45)\
**Replies:** 12\
**Last updated:** [November 6, 2022, 11:15am UTC](https://discourse.processing.org/t/gui-builder-for-g4p-not-working-with-processing-4-fixed/35746 "2022-11-06T11:15:59Z")

</div>

I downloaded Processing 4.0 beta 7 and so far I really like it. However when I try to fire up the G4P tool it opens up and I get this Exception. Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 'int p…

---

## [How to make 3D with Processing core library](https://discourse.processing.org/t/how-to-make-3d-with-processing-core-library/19710)

<div class="topic-metadata">

**Author:** [@Ayfri](https://discourse.processing.org/u/Ayfri)\
**Replies:** 6\
**Last updated:** [November 5, 2022, 3:48pm UTC](https://discourse.processing.org/t/how-to-make-3d-with-processing-core-library/19710 "2022-11-05T15:48:48Z")

</div>

I’m using the Processing library in a simple Java project and I tried to make 3D but I got errors, this is my code : package fr.ayfri; import processing.core.PApplet; import processing.core.PConstants; public class Mai…

---

## [Weird behavior Closing and opening serial Port in Windows. Bug?](https://discourse.processing.org/t/weird-behavior-closing-and-opening-serial-port-in-windows-bug/39559)

<div class="topic-metadata">

**Author:** [@PAk](https://discourse.processing.org/u/PAk)\
**Replies:** 3\
**Last updated:** [November 5, 2022, 2:32pm UTC](https://discourse.processing.org/t/weird-behavior-closing-and-opening-serial-port-in-windows-bug/39559 "2022-11-05T14:32:27Z")

</div>

Hello I am trying to close and reopening a serial port in Windows ( CP210x) and it is not possible. This is some pretty simple code: case '9': println("pre-serial: "+serial); serial.clear(); serial.s…

---

## [Best MIDI library to receive MIDI messages in Processing?](https://discourse.processing.org/t/best-midi-library-to-receive-midi-messages-in-processing/39579)

<div class="topic-metadata">

**Author:** [@amundsen](https://discourse.processing.org/u/amundsen)\
**Replies:** 3\
**Last updated:** [November 5, 2022, 1:21pm UTC](https://discourse.processing.org/t/best-midi-library-to-receive-midi-messages-in-processing/39579 "2022-11-05T13:21:16Z")

</div>

Hello, Which library would you recommend to receive MIDI messages in Processing (running in Windows) ? I’ve seen there’s the midiBus library. Also, Minim seems to be able to send MIDI messages, but I don’t see any exam…

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=58)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=60)
