# Processing

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

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

**Page:** 384

---

## [Microsoft .NET Framework out-of-memory error](https://discourse.processing.org/t/microsoft-net-framework-out-of-memory-error/1476)

<div class="topic-metadata">

**Author:** [@evsc](https://discourse.processing.org/u/evsc)\
**Replies:** 0\
**Last updated:** [July 3, 2018, 8:31pm UTC](https://discourse.processing.org/t/microsoft-net-framework-out-of-memory-error/1476 "2018-07-03T20:31:33Z")

</div>

I have a program that’s mainly playing video files (Animation codec with alpha layer) and it froze and then gave me this Microsoft .NET Framework error. After hitting “quit” the whole computer became unresponsive and nee…

---

## [PShape + 3D no es bueno](https://discourse.processing.org/t/pshape-3d-no-es-bueno/1422)

<div class="topic-metadata">

**Author:** [@bbulkow](https://discourse.processing.org/u/bbulkow)\
**Replies:** 2\
**Last updated:** [July 3, 2018, 5:43pm UTC](https://discourse.processing.org/t/pshape-3d-no-es-bueno/1422 "2018-07-03T17:43:58Z")

</div>

Hi! I’m trying to do the following: I have a file with a complex model in it, originally STEM format, which I’ve gotten into STL, and it still has a lot of polygons ( 40,000 I think ). While I can draw the object, frame…

---

## [Based on what I want to do - should I learn Processing or P5.js?](https://discourse.processing.org/t/based-on-what-i-want-to-do-should-i-learn-processing-or-p5-js/1425)

<div class="topic-metadata">

**Author:** [@MrsGolfShorts](https://discourse.processing.org/u/MrsGolfShorts)\
**Replies:** 12\
**Last updated:** [July 3, 2018, 2:38pm UTC](https://discourse.processing.org/t/based-on-what-i-want-to-do-should-i-learn-processing-or-p5-js/1425 "2018-07-03T14:38:27Z")

</div>

I have a month off to dive full time into learning a visual framework and am unsure which direction to dedicate my time to. I am a musician and build generative and sonification systems. I have never touched any visual …

---

## [Code and Printer](https://discourse.processing.org/t/code-and-printer/1332)

<div class="topic-metadata">

**Author:** [@Farida](https://discourse.processing.org/u/Farida)\
**Replies:** 8\
**Last updated:** [July 3, 2018, 8:36am UTC](https://discourse.processing.org/t/code-and-printer/1332 "2018-07-03T08:36:57Z")

</div>

Hi :smile: I found a code that I really love but I’m having troubles understanding it. Can anyone help me understand each line? And another question: I added a screenshot to the code and want this screenshot to be conne…

---

## [How to separate the first letter of each word in a string](https://discourse.processing.org/t/how-to-separate-the-first-letter-of-each-word-in-a-string/1449)

<div class="topic-metadata">

**Author:** [@nerdboybi](https://discourse.processing.org/u/nerdboybi)\
**Replies:** 6\
**Last updated:** [July 3, 2018, 3:11am UTC](https://discourse.processing.org/t/how-to-separate-the-first-letter-of-each-word-in-a-string/1449 "2018-07-03T03:11:32Z")

</div>

Hello, I want to separate the first letters of each word in the string: String animals=(“ant, bat, cat”);

---

## [Final array is being changed](https://discourse.processing.org/t/final-array-is-being-changed/1447)

<div class="topic-metadata">

**Author:** [@thesuperdaine](https://discourse.processing.org/u/thesuperdaine)\
**Replies:** 7\
**Last updated:** [July 3, 2018, 1:57am UTC](https://discourse.processing.org/t/final-array-is-being-changed/1447 "2018-07-03T01:57:42Z")

</div>

I’m making a platforming game that uses arrays to store the 32x32 tile playfield. There are three arrays that are used in this process. When I construct a Level class object, a specific array is put in that constructor. …

---

## [Trying to toggle multiple layers' visibility - New to Processing/Java,](https://discourse.processing.org/t/trying-to-toggle-multiple-layers-visibility-new-to-processing-java/1443)

<div class="topic-metadata">

**Author:** [@PerryJohnson](https://discourse.processing.org/u/PerryJohnson)\
**Replies:** 3\
**Last updated:** [July 2, 2018, 10:03pm UTC](https://discourse.processing.org/t/trying-to-toggle-multiple-layers-visibility-new-to-processing-java/1443 "2018-07-02T22:03:54Z")

</div>

Some experience in PHP but new to Java. I have a working layer visibility toggle but I’d like to make my toggleVis function able to handle more layers by passing a parameter. Any help out there, please? Here’s my code. P…

---

## [Cut off digit from Integer](https://discourse.processing.org/t/cut-off-digit-from-integer/1446)

<div class="topic-metadata">

**Author:** [@Daniel](https://discourse.processing.org/u/Daniel)\
**Replies:** 2\
**Last updated:** [July 2, 2018, 9:36pm UTC](https://discourse.processing.org/t/cut-off-digit-from-integer/1446 "2018-07-02T21:36:22Z")

</div>

Hi, I have a list of postcodes and I wanna cut off the first digit of each code. If I have the postcodes “85463” for example, I want to cut off the “8” and write it into a variable. Is that possible? The substring() f…

---

## [FFmpeg failed error when recording multiple videos](https://discourse.processing.org/t/ffmpeg-failed-error-when-recording-multiple-videos/1285)

<div class="topic-metadata">

**Author:** [@livia](https://discourse.processing.org/u/livia)\
**Replies:** 2\
**Last updated:** [July 2, 2018, 9:02pm UTC](https://discourse.processing.org/t/ffmpeg-failed-error-when-recording-multiple-videos/1285 "2018-07-02T21:02:28Z")

</div>

Hi all, I have a sketch that records multiple videos using hamoid’s video export library. It automatically loads the previous video, and layers it over the current webcam feed using blend(). After recording about 11 vide…

---

## [Camera only shows black screen. How to fix?](https://discourse.processing.org/t/camera-only-shows-black-screen-how-to-fix/1395)

<div class="topic-metadata">

**Author:** [@WindJammer](https://discourse.processing.org/u/WindJammer)\
**Replies:** 5\
**Last updated:** [July 2, 2018, 8:36pm UTC](https://discourse.processing.org/t/camera-only-shows-black-screen-how-to-fix/1395 "2018-07-02T20:36:02Z")

</div>

It’s a weird thing and only occurs in this sketch i’m working on. So it can’t be a problem with my (laptop) webcam. https://drive.google.com/drive/folders/1Vu4FjusiwR7pa1BzRV1mA\_I5yCBbbgT2?usp=sharing My sketch has 3 s…

---

## [Why is my processing.exe open so slow?](https://discourse.processing.org/t/why-is-my-processing-exe-open-so-slow/1440)

<div class="topic-metadata">

**Author:** [@newton45](https://discourse.processing.org/u/newton45)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 3:34pm UTC](https://discourse.processing.org/t/why-is-my-processing-exe-open-so-slow/1440 "2018-07-02T15:34:28Z")

</div>

When I open processing, it’s very slow. It will takes 60+ second to enter coding editor interface from welcome interface. And after I hit “Run” buttom, it will get stuck and running canvas never comes out, even with the…

---

## [PDF Export of paused animation is blank](https://discourse.processing.org/t/pdf-export-of-paused-animation-is-blank/1436)

<div class="topic-metadata">

**Author:** [@AndrewSleigh](https://discourse.processing.org/u/AndrewSleigh)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 2:27pm UTC](https://discourse.processing.org/t/pdf-export-of-paused-animation-is-blank/1436 "2018-07-02T14:27:44Z")

</div>

I have sketch that generates some wavy lines, with onscreen control to adjust the parameters. Some of those controls allow you to redraw the lines constantly so you can se the changes live, or just redraw it once so you …

---

## [Question About Rotating Quad](https://discourse.processing.org/t/question-about-rotating-quad/1423)

<div class="topic-metadata">

**Author:** [@QuazArxx](https://discourse.processing.org/u/QuazArxx)\
**Replies:** 5\
**Last updated:** [July 2, 2018, 1:15pm UTC](https://discourse.processing.org/t/question-about-rotating-quad/1423 "2018-07-02T13:15:51Z")

</div>

So the title may not be clear enough but i’m trying to make the Galactic Empire emblem from Star Wars. in the very middle circle there are trapezoids coming out. I made the first top one but is there a formula or a funct…

---

## [Read length of lines](https://discourse.processing.org/t/read-length-of-lines/1362)

<div class="topic-metadata">

**Author:** [@disktel](https://discourse.processing.org/u/disktel)\
**Replies:** 5\
**Last updated:** [July 2, 2018, 10:26am UTC](https://discourse.processing.org/t/read-length-of-lines/1362 "2018-07-02T10:26:22Z")

</div>

Hi, i have an image with white background and 2 lines of different color. Is it possible with processing to read the length of the lines? If yes, can you point out what i have to read/check to make it? Thank you

---

## [Transparent/translucent window (drawing graphics on desktop). How to capture mouse and keyboard?](https://discourse.processing.org/t/transparent-translucent-window-drawing-graphics-on-desktop-how-to-capture-mouse-and-keyboard/1390)

<div class="topic-metadata">

**Author:** [@rsb](https://discourse.processing.org/u/rsb)\
**Replies:** 3\
**Last updated:** [July 2, 2018, 12:09am UTC](https://discourse.processing.org/t/transparent-translucent-window-drawing-graphics-on-desktop-how-to-capture-mouse-and-keyboard/1390 "2018-07-02T00:09:23Z")

</div>

Hello forum :slight\_smile: I found a fairly simple way to use processing to draw graphics directly to your screen, to make it seem like your window is transparent or translucent, or that your graphics background has ful…

---

## [How to layer sound in processing](https://discourse.processing.org/t/how-to-layer-sound-in-processing/1409)

<div class="topic-metadata">

**Author:** [@Cida\_Lehmann](https://discourse.processing.org/u/Cida_Lehmann)\
**Replies:** 2\
**Last updated:** [July 1, 2018, 6:00pm UTC](https://discourse.processing.org/t/how-to-layer-sound-in-processing/1409 "2018-07-01T18:00:00Z")

</div>

Hi guys, I’m very new here and a very beginner in Processing. A quick question: Is it possible to layer sounds in Processing. Example: I’m running a sketch with a looping soundscape and I would like a timer to randoml…

---

## [How to pass node script into processing](https://discourse.processing.org/t/how-to-pass-node-script-into-processing/1272)

<div class="topic-metadata">

**Author:** [@sujithsa007](https://discourse.processing.org/u/sujithsa007)\
**Replies:** 3\
**Last updated:** [July 1, 2018, 1:23am UTC](https://discourse.processing.org/t/how-to-pass-node-script-into-processing/1272 "2018-07-01T01:23:37Z")

</div>

I have a node script which sends a value to Samsung Artik Cloud. Also have an Arduino project which send data through the serial port into processing, which I am able to store as an int variable. Question is how can I …

---

## [How to check pixels color](https://discourse.processing.org/t/how-to-check-pixels-color/1316)

<div class="topic-metadata">

**Author:** [@albertohilal](https://discourse.processing.org/u/albertohilal)\
**Replies:** 2\
**Last updated:** [June 30, 2018, 6:45pm UTC](https://discourse.processing.org/t/how-to-check-pixels-color/1316 "2018-06-30T18:45:02Z")

</div>

How to check pixels colors if the rectangle it only has white return “Incompleto !!” has white and yellow return “Incompleto !!” only has yellow return “Amarillos!!” color a = color(255,255,0); color b = color(255,2…

---

## [Databending images through processing](https://discourse.processing.org/t/databending-images-through-processing/1364)

<div class="topic-metadata">

**Author:** [@komats](https://discourse.processing.org/u/komats)\
**Replies:** 2\
**Last updated:** [June 30, 2018, 4:41pm UTC](https://discourse.processing.org/t/databending-images-through-processing/1364 "2018-06-30T16:41:25Z")

</div>

I wonder if there are some scripts for glitching images. Are there some examples that actually work. I tried from this webpage https://steemit.com/art/@granturismo89/how-to-make-amazing-glitch-art-with-processing-and-asd…

---

## [Stuck working with classes not updating](https://discourse.processing.org/t/stuck-working-with-classes-not-updating/1359)

<div class="topic-metadata">

**Author:** [@wontner](https://discourse.processing.org/u/wontner)\
**Replies:** 3\
**Last updated:** [June 29, 2018, 12:26pm UTC](https://discourse.processing.org/t/stuck-working-with-classes-not-updating/1359 "2018-06-29T12:26:43Z")

</div>

Hello, I’m stuck, I’m trying to create a class with ellipse that will go from one place to another, with the help of sinus and cosinus curves. but when I wrote the class and the method and then call it in draw. it doesn’…

---

## [Program is very slow after export from MAC to Window](https://discourse.processing.org/t/program-is-very-slow-after-export-from-mac-to-window/1331)

<div class="topic-metadata">

**Author:** [@Mmminh](https://discourse.processing.org/u/Mmminh)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 5:30am UTC](https://discourse.processing.org/t/program-is-very-slow-after-export-from-mac-to-window/1331 "2018-06-29T05:30:41Z")

</div>

when I run my program on MAC it’s work very well but when I export it to Window, It’s run very slow Is there some thing to do with RAM?? please help thanks

---

## [Match 3 remove from arraylist](https://discourse.processing.org/t/match-3-remove-from-arraylist/1167)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 8\
**Last updated:** [June 28, 2018, 6:35pm UTC](https://discourse.processing.org/t/match-3-remove-from-arraylist/1167 "2018-06-28T18:35:29Z")

</div>

I’m trying to create a match 3 & made a check function that works & tell me when there are 3 in a row. I tried giving each one a float but when I go to remove the letters assign to each i that met nothing happened. Can a…

---

## [Detecting Serial Port's ID in processing?](https://discourse.processing.org/t/detecting-serial-ports-id-in-processing/1342)

<div class="topic-metadata">

**Author:** [@liudr](https://discourse.processing.org/u/liudr)\
**Replies:** 1\
**Last updated:** [June 28, 2018, 5:13pm UTC](https://discourse.processing.org/t/detecting-serial-ports-id-in-processing/1342 "2018-06-28T17:13:12Z")

</div>

I am new here, for the 3rd time. My prior experience with Processing \<1.0 was great and I remember using serial port with it. I am wondering whether it is feasible to detect serial port’s unique ID from within Processing…

---

## [G4P dropList changing roundcorners of scrollbar](https://discourse.processing.org/t/g4p-droplist-changing-roundcorners-of-scrollbar/1277)

<div class="topic-metadata">

**Author:** [@Sonia](https://discourse.processing.org/u/Sonia)\
**Replies:** 3\
**Last updated:** [June 28, 2018, 3:38pm UTC](https://discourse.processing.org/t/g4p-droplist-changing-roundcorners-of-scrollbar/1277 "2018-06-28T15:38:55Z")

</div>

Hi, I’m trying to change roundcorners and the border color of the scrollbar into a dropList. Is there a way to do that ? I’ve tryed to put g4p\_controls.GButton.useRoundCorners(false), but it has no action on the scr…

---

## [How to 'deform' a text generated with theGeomerative library?](https://discourse.processing.org/t/how-to-deform-a-text-generated-with-thegeomerative-library/1147)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 24\
**Last updated:** [June 28, 2018, 10:29am UTC](https://discourse.processing.org/t/how-to-deform-a-text-generated-with-thegeomerative-library/1147 "2018-06-28T10:29:31Z")

</div>

Hello, I try(and manage) to ‘deform’ a text generated thanks to the Geomerative library, but once the text transformed it immediately gets back to its original form?! I’d like to keep this transformation but don’t know …

---

## [Start sketch with hidden window](https://discourse.processing.org/t/start-sketch-with-hidden-window/1263)

<div class="topic-metadata">

**Author:** [@cuI6QV0SphbBeN9E](https://discourse.processing.org/u/cuI6QV0SphbBeN9E)\
**Replies:** 5\
**Last updated:** [June 28, 2018, 2:52am UTC](https://discourse.processing.org/t/start-sketch-with-hidden-window/1263 "2018-06-28T02:52:24Z")

</div>

void setup() { surface.setVisible(false); } If we run the above code, the window itself gets hidden but with a sudden flicker — we can see it get created and then hidden. Is it possible to start with a truly hidden wi…

---

## [Out of memory problem](https://discourse.processing.org/t/out-of-memory-problem/1300)

<div class="topic-metadata">

**Author:** [@Mmminh](https://discourse.processing.org/u/Mmminh)\
**Replies:** 9\
**Last updated:** [June 28, 2018, 1:53am UTC](https://discourse.processing.org/t/out-of-memory-problem/1300 "2018-06-28T01:53:54Z")

</div>

when I run the program for 20 minute it will get slower and then stop and say it out of memory I think problem is at code below if (port.available()\>0){ String val=port.readString(); String list=split(val,‘,’); pre…

---

## [how to Make sound wave change color according to sound frequency from mic input ](https://discourse.processing.org/t/how-to-make-sound-wave-change-color-according-to-sound-frequency-from-mic-input/385)

<div class="topic-metadata">

**Author:** [@harmony](https://discourse.processing.org/u/harmony)\
**Replies:** 3\
**Last updated:** [June 28, 2018, 1:41am UTC](https://discourse.processing.org/t/how-to-make-sound-wave-change-color-according-to-sound-frequency-from-mic-input/385 "2018-06-28T01:41:13Z")

</div>

hello, i have a Mic input from minim library, i want to know the value of the sound frequency and make the sound wave change color according to sound input. i know about fft but all the examples I’ve seen had uploaded …

---

## [Problem with heading()](https://discourse.processing.org/t/problem-with-heading/1317)

<div class="topic-metadata">

**Author:** [@simon](https://discourse.processing.org/u/simon)\
**Replies:** 3\
**Last updated:** [June 28, 2018, 12:44am UTC](https://discourse.processing.org/t/problem-with-heading/1317 "2018-06-28T00:44:32Z")

</div>

Hi guys, I’m trying to write a code based on steering behaviors. And I’m having problems with a vehicle particle, when it starts to going close of the target it begins move strangely. I think something is wrong with the …

---

## [How to instantiate class from with class.forName()](https://discourse.processing.org/t/how-to-instantiate-class-from-with-class-forname/957)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 2\
**Last updated:** [June 27, 2018, 9:47pm UTC](https://discourse.processing.org/t/how-to-instantiate-class-from-with-class-forname/957 "2018-06-27T21:47:35Z")

</div>

I try to instantiate class from a class name but I fail. My first state it’s find a good class, I manage this part but after I find no possibility to instantiate from the class name. I need to do that because all my meth…

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

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