# Processing

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

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

**Page:** 143

---

## [Processing Sound Library doesn't work](https://discourse.processing.org/t/processing-sound-library-doesnt-work/4928)

<div class="topic-metadata">

**Author:** [@Schred](https://discourse.processing.org/u/Schred)\
**Replies:** 22\
**Last updated:** [March 22, 2021, 10:12pm UTC](https://discourse.processing.org/t/processing-sound-library-doesnt-work/4928 "2021-03-22T22:12:02Z")

</div>

I wanted to implement some music into my game, and everything actually works, but when I start the programm it takes about 12 seconds until the standard grey background disappears, and I keep getting the following messag…

---

## [Processing Export not registering Hi-DPI](https://discourse.processing.org/t/processing-export-not-registering-hi-dpi/28739)

<div class="topic-metadata">

**Author:** [@ink](https://discourse.processing.org/u/ink)\
**Replies:** 4\
**Last updated:** [March 22, 2021, 9:52pm UTC](https://discourse.processing.org/t/processing-export-not-registering-hi-dpi/28739 "2021-03-22T21:52:35Z")

</div>

Hey there Community! Currently having an issue with exporting a Processing-Application I developed. So, (I know, bad practices), I hardcoded all the pixel values and now I added the pixelDensity(displayDensity()); line…

---

## [Confused with Slider up/down - PGraphics](https://discourse.processing.org/t/confused-with-slider-up-down-pgraphics/28665)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 3\
**Last updated:** [March 22, 2021, 8:29pm UTC](https://discourse.processing.org/t/confused-with-slider-up-down-pgraphics/28665 "2021-03-22T20:29:53Z")

</div>

Hello all, let’s say I have a graphical editor to place icons underneath each other. I want to complete this with a vertical slider. I want to make sure that outside the Editor Rectangle no icon is shown. So when …

---

## [How to keep the camera stable while rotating a 3D model?](https://discourse.processing.org/t/how-to-keep-the-camera-stable-while-rotating-a-3d-model/28729)

<div class="topic-metadata">

**Author:** [@Neilly](https://discourse.processing.org/u/Neilly)\
**Replies:** 2\
**Last updated:** [March 22, 2021, 6:04pm UTC](https://discourse.processing.org/t/how-to-keep-the-camera-stable-while-rotating-a-3d-model/28729 "2021-03-22T18:04:28Z")

</div>

I have a 3D model (of a skateboard) in processing which is rotating based on the movement of an external device. I have also placed 3 arrows in my Processing scene as reference axes in the X,Y,Z directions. My problem is…

---

## [Camera move on z](https://discourse.processing.org/t/camera-move-on-z/28724)

<div class="topic-metadata">

**Author:** [@xyzaw](https://discourse.processing.org/u/xyzaw)\
**Replies:** 6\
**Last updated:** [March 22, 2021, 3:16pm UTC](https://discourse.processing.org/t/camera-move-on-z/28724 "2021-03-22T15:16:04Z")

</div>

Hi! Im trying to make camera moving on z axis (zooming in and out) so the text will be visible or not So for example i have this text: 123 and when I zoom in i wont see it, I will just have some random letters, but whe…

---

## [Second video won't play after first video](https://discourse.processing.org/t/second-video-wont-play-after-first-video/28656)

<div class="topic-metadata">

**Author:** [@TechnicsMan](https://discourse.processing.org/u/TechnicsMan)\
**Replies:** 5\
**Last updated:** [March 22, 2021, 2:28pm UTC](https://discourse.processing.org/t/second-video-wont-play-after-first-video/28656 "2021-03-22T14:28:10Z")

</div>

So I have a basic understanding of how Processing and coding works and this project is partially based on another person’s work. The problem I’m having is that after the first video is finished playing I can’t play a se…

---

## [How to make 2 videos start/stop by passing the mouse over them](https://discourse.processing.org/t/how-to-make-2-videos-start-stop-by-passing-the-mouse-over-them/28660)

<div class="topic-metadata">

**Author:** [@hellosofieo](https://discourse.processing.org/u/hellosofieo)\
**Replies:** 3\
**Last updated:** [March 22, 2021, 1:56pm UTC](https://discourse.processing.org/t/how-to-make-2-videos-start-stop-by-passing-the-mouse-over-them/28660 "2021-03-22T13:56:35Z")

</div>

Hello everybody! I am new in this and I was wondering if someone could help me with this. I’m trying to start or stop a video when the mouse passed over it, but idk why they don’t appear (only hear the music) or once i…

---

## [Second ArrayList Won't Work](https://discourse.processing.org/t/second-arraylist-wont-work/28711)

<div class="topic-metadata">

**Author:** [@spamelim](https://discourse.processing.org/u/spamelim)\
**Replies:** 3\
**Last updated:** [March 22, 2021, 12:15pm UTC](https://discourse.processing.org/t/second-arraylist-wont-work/28711 "2021-03-22T12:15:35Z")

</div>

I’m trying to make particles fall from wherever the mouse is clicked and each mousebutton displays a different type of particle. My main code for just the right mouse button works perfectly with rainbow particles. I adde…

---

## [Rendering Front to back](https://discourse.processing.org/t/rendering-front-to-back/28719)

<div class="topic-metadata">

**Author:** [@dave307](https://discourse.processing.org/u/dave307)\
**Replies:** 1\
**Last updated:** [March 22, 2021, 11:11am UTC](https://discourse.processing.org/t/rendering-front-to-back/28719 "2021-03-22T11:11:17Z")

</div>

I was wondering if its possible to render things in front to back order without using P3D to render in the example below render the orange wall and then the blue wall but to have it only render on the screen where it…

---

## [Transform a "rookie" code to a more professional looking code - tricks asked](https://discourse.processing.org/t/transform-a-rookie-code-to-a-more-professional-looking-code-tricks-asked/28699)

<div class="topic-metadata">

**Author:** [@freddukas](https://discourse.processing.org/u/freddukas)\
**Replies:** 6\
**Last updated:** [March 22, 2021, 8:58am UTC](https://discourse.processing.org/t/transform-a-rookie-code-to-a-more-professional-looking-code-tricks-asked/28699 "2021-03-22T08:58:58Z")

</div>

Good evening everyone, I come back here asking your help. I tried to design a code in order to help my son to create custom characters on a lcd screen with a arduino. The idea is to have a 5\*8 frame and check the rec…

---

## [Create 2D game map with images](https://discourse.processing.org/t/create-2d-game-map-with-images/28410)

<div class="topic-metadata">

**Author:** [@oussama10](https://discourse.processing.org/u/oussama10)\
**Replies:** 31\
**Last updated:** [March 21, 2021, 11:48pm UTC](https://discourse.processing.org/t/create-2d-game-map-with-images/28410 "2021-03-21T23:48:09Z")

</div>

A Bomberman level can be considered a grid, of three types, each represented by a 16x16 pixel size image: the ground (ground.png), the destructible blocks (softBlock.png) and indestructible blocks (hardBlock.png). The d…

---

## [Prevent one Processing window from closing others](https://discourse.processing.org/t/prevent-one-processing-window-from-closing-others/13719)

<div class="topic-metadata">

**Author:** [@micycle](https://discourse.processing.org/u/micycle)\
**Replies:** 8\
**Last updated:** [March 21, 2021, 3:01pm UTC](https://discourse.processing.org/t/prevent-one-processing-window-from-closing-others/13719 "2021-03-21T15:01:52Z")

</div>

I’m experimenting with launching multiple processing windows. I find that when I set the renderer to be the same for all sketch instances, closing one immediately closes the other two instances. When all renderers are …

---

## [Generate captcha using processing](https://discourse.processing.org/t/generate-captcha-using-processing/28655)

<div class="topic-metadata">

**Author:** [@Shekla](https://discourse.processing.org/u/Shekla)\
**Replies:** 3\
**Last updated:** [March 21, 2021, 1:55pm UTC](https://discourse.processing.org/t/generate-captcha-using-processing/28655 "2021-03-21T13:55:38Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Can anyone help me showing how to make captcha in processing language?

---

## [High resolution video mapping](https://discourse.processing.org/t/high-resolution-video-mapping/28688)

<div class="topic-metadata">

**Author:** [@C.B](https://discourse.processing.org/u/C.B)\
**Replies:** 9\
**Last updated:** [March 21, 2021, 10:34am UTC](https://discourse.processing.org/t/high-resolution-video-mapping/28688 "2021-03-21T10:34:40Z")

</div>

Hello everyone ! I’m new to Digital Arts and I would like to know if Processing is capable to handle something like 4 live video streams (2K to 4K) in 60 fps when manipulating them along with other high resolution video…

---

## [Closing One Window and Opening Another](https://discourse.processing.org/t/closing-one-window-and-opening-another/28667)

<div class="topic-metadata">

**Author:** [@Flamingo](https://discourse.processing.org/u/Flamingo)\
**Replies:** 1\
**Last updated:** [March 20, 2021, 11:55pm UTC](https://discourse.processing.org/t/closing-one-window-and-opening-another/28667 "2021-03-20T23:55:16Z")

</div>

Hi there, I'm simply trying to run a program where I need to completely close one window/papplet and open a new one after an action has been made by the user (e.g. mousePressed). I need something that actually closes the…

---

## [Make text print on screen before the dialog box comes?](https://discourse.processing.org/t/make-text-print-on-screen-before-the-dialog-box-comes/28670)

<div class="topic-metadata">

**Author:** [@resboy2445](https://discourse.processing.org/u/resboy2445)\
**Replies:** 2\
**Last updated:** [March 20, 2021, 10:51pm UTC](https://discourse.processing.org/t/make-text-print-on-screen-before-the-dialog-box-comes/28670 "2021-03-20T22:51:27Z")

</div>

How do i make a text print on the screen before the dialog box comes? i am supposed to make the text be on the screen, then when the user clicks on the screen the user will have to type in the dialog box what is on the s…

---

## [How do I change where the drawing is happening](https://discourse.processing.org/t/how-do-i-change-where-the-drawing-is-happening/28658)

<div class="topic-metadata">

**Author:** [@Saad-py](https://discourse.processing.org/u/Saad-py)\
**Replies:** 7\
**Last updated:** [March 20, 2021, 4:11pm UTC](https://discourse.processing.org/t/how-do-i-change-where-the-drawing-is-happening/28658 "2021-03-20T16:11:45Z")

</div>

My code: float x = 0.10; float y = 0.0; float z = 0.0; float a = 10; float b = 28; float c = 8.0/3.0; ArrayList\<PVector\> points = new ArrayList\<PVector\>(); void setup() { size(800, 600); colorMode(HSB); } voi…

---

## [Forced to donate, still won't let me download](https://discourse.processing.org/t/forced-to-donate-still-wont-let-me-download/28682)

<div class="topic-metadata">

**Author:** [@wakingBear](https://discourse.processing.org/u/wakingBear)\
**Replies:** 4\
**Last updated:** [March 20, 2021, 3:45pm UTC](https://discourse.processing.org/t/forced-to-donate-still-wont-let-me-download/28682 "2021-03-20T15:45:42Z")

</div>

I am trying to download v.2.2.1 and the site wont let me until I donate. Well I donated… and it took me to a page that said thanks, with no links for the download… so I was forced to navigate off the page and lo and beho…

---

## [Downloading Email Attachments Processing 3](https://discourse.processing.org/t/downloading-email-attachments-processing-3/28475)

<div class="topic-metadata">

**Author:** [@Flamingo](https://discourse.processing.org/u/Flamingo)\
**Replies:** 3\
**Last updated:** [March 20, 2021, 12:03am UTC](https://discourse.processing.org/t/downloading-email-attachments-processing-3/28475 "2021-03-20T00:03:34Z")

</div>

Hi there. I'm new to the JavaMail library and I'm simply trying to download the attachments from my last received email to a folder. Every time I run the code I get an error regarding the host and connection. Something t…

---

## [JButtons in processing](https://discourse.processing.org/t/jbuttons-in-processing/28641)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 3\
**Last updated:** [March 19, 2021, 4:53pm UTC](https://discourse.processing.org/t/jbuttons-in-processing/28641 "2021-03-19T16:53:10Z")

</div>

Hello everyone, I am making a simple application that requires a lot of buttons, and I want to be able to use the JButton class in order to do so. However, I don’t know how to do this because traditionally to make a JBut…

---

## [How to access active value in controlP5 dropdown list?](https://discourse.processing.org/t/how-to-access-active-value-in-controlp5-dropdown-list/28613)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 2\
**Last updated:** [March 19, 2021, 4:43pm UTC](https://discourse.processing.org/t/how-to-access-active-value-in-controlp5-dropdown-list/28613 "2021-03-19T16:43:44Z")

</div>

I’m trying to use the controlP5 dropdown list: dropdown = cp5.addScrollableList("Filter") .setPosition(10, 55) .setSize(200, 100) .setBarHeight(20) .setItemHeight(20) .addItems(l) .setOpen(fals…

---

## [Create applications to open a selfmade file type (read discription)](https://discourse.processing.org/t/create-applications-to-open-a-selfmade-file-type-read-discription/28610)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 7\
**Last updated:** [March 19, 2021, 3:32pm UTC](https://discourse.processing.org/t/create-applications-to-open-a-selfmade-file-type-read-discription/28610 "2021-03-19T15:32:33Z")

</div>

I created a programm to process a specific file format. How can I make it compartible with the “open with”-function when double-clicking the file? In the programm the files are opened with selectedInput().

---

## [P3D Processing source code / help me](https://discourse.processing.org/t/p3d-processing-source-code-help-me/28626)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 8\
**Last updated:** [March 19, 2021, 6:51am UTC](https://discourse.processing.org/t/p3d-processing-source-code-help-me/28626 "2021-03-19T06:51:58Z")

</div>

please format code with \</\> button \* homework policy \* asking questions How do I set the initial starting point position? I want to set a location that starts as soon as the program is turned on. Set where the …

---

## [THE MIDI BUS - Program leaves draw Loop when exporting application](https://discourse.processing.org/t/the-midi-bus-program-leaves-draw-loop-when-exporting-application/28577)

<div class="topic-metadata">

**Author:** [@geraldp001](https://discourse.processing.org/u/geraldp001)\
**Replies:** 2\
**Last updated:** [March 18, 2021, 8:40pm UTC](https://discourse.processing.org/t/the-midi-bus-program-leaves-draw-loop-when-exporting-application/28577 "2021-03-18T20:40:46Z")

</div>

Hello, I wrote a program which takes MIDI input from my keyboard and displays graphics. The program works fine until I am exporting it. After exporting the program seems to freeze after the first MIDI event is trigger…

---

## [How to do shape recognition in video feed?](https://discourse.processing.org/t/how-to-do-shape-recognition-in-video-feed/28408)

<div class="topic-metadata">

**Author:** [@samuset](https://discourse.processing.org/u/samuset)\
**Replies:** 10\
**Last updated:** [March 18, 2021, 1:02pm UTC](https://discourse.processing.org/t/how-to-do-shape-recognition-in-video-feed/28408 "2021-03-18T13:02:48Z")

</div>

Hi, I’m looking to have a number of cubes with different irregular polygons on top of them on a table, with a camera looking down onto them. I’d like to get the position and ID of each cube, based on the shapes on them. …

---

## [I really need a help (circle getting smaller)](https://discourse.processing.org/t/i-really-need-a-help-circle-getting-smaller/28629)

<div class="topic-metadata">

**Author:** [@imcute1002](https://discourse.processing.org/u/imcute1002)\
**Replies:** 5\
**Last updated:** [March 18, 2021, 10:53am UTC](https://discourse.processing.org/t/i-really-need-a-help-circle-getting-smaller/28629 "2021-03-18T10:53:04Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I need to make a circle. that size keep samller and color keep change

---

## [SVG from P3D: how to preserve curve continuity and vertex position?](https://discourse.processing.org/t/svg-from-p3d-how-to-preserve-curve-continuity-and-vertex-position/28575)

<div class="topic-metadata">

**Author:** [@YcarusDiedForUs](https://discourse.processing.org/u/YcarusDiedForUs)\
**Replies:** 2\
**Last updated:** [March 18, 2021, 10:35am UTC](https://discourse.processing.org/t/svg-from-p3d-how-to-preserve-curve-continuity-and-vertex-position/28575 "2021-03-18T10:35:59Z")

</div>

Hi! I am trying to make 3D curves with curveVertex and export it as an svg file. However, when I open the resulting svg file with Illustrator, the lines appear correctly, but they are built with unconnected curves, eac…

---

## [Get the key event after losing focus](https://discourse.processing.org/t/get-the-key-event-after-losing-focus/28633)

<div class="topic-metadata">

**Author:** [@AbleYudada](https://discourse.processing.org/u/AbleYudada)\
**Replies:** 2\
**Last updated:** [March 18, 2021, 10:34am UTC](https://discourse.processing.org/t/get-the-key-event-after-losing-focus/28633 "2021-03-18T10:34:40Z")

</div>

Hello guys！ I want to implement a feature that I can still get key events when the focus is not on the current window, but I am having trouble now. I found an example on github, but I put the java code and jar file into…

---

## [Processing keeps crashing a second after I start it](https://discourse.processing.org/t/processing-keeps-crashing-a-second-after-i-start-it/28591)

<div class="topic-metadata">

**Author:** [@Abu-Bakr](https://discourse.processing.org/u/Abu-Bakr)\
**Replies:** 10\
**Last updated:** [March 18, 2021, 12:05am UTC](https://discourse.processing.org/t/processing-keeps-crashing-a-second-after-i-start-it/28591 "2021-03-18T00:05:35Z")

</div>

I start processing, but it crashes. Ideas why? I’ve seen this problem in: https://discourse.processing.org/t/processing-crashes-after-file-selection-dialog/1431 and: https://discourse.processing.org/t/processing-will-no…

---

## [Problem with splitTokens?!](https://discourse.processing.org/t/problem-with-splittokens/28612)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 8\
**Last updated:** [March 17, 2021, 10:38pm UTC](https://discourse.processing.org/t/problem-with-splittokens/28612 "2021-03-17T22:38:05Z")

</div>

Hello, Here is a short code below to count words and more, but I face a strange problem: when I run it some words of the original string don’t appear on the screen!? How come? Did I forgot something using splitTokens …

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

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