# Latest

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

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

**Page:** 610

---

## [Convert a button class for multi touch](https://discourse.processing.org/t/convert-a-button-class-for-multi-touch/1504)

<div class="topic-metadata">

**Author:** [@chanof](https://discourse.processing.org/u/chanof)\
**Replies:** 2\
**Last updated:** [July 5, 2018, 4:53am UTC](https://discourse.processing.org/t/convert-a-button-class-for-multi-touch/1504 "2018-07-05T04:53:47Z")

</div>

Hello to all, i try to convert this class to obtain a multi touch possibility inside android, to pass from mousePressed, mouseX and MouseY to Touches array. Actually it is visible only when the screen is touched. Im un…

---

## [Android SeekBar (slider)](https://discourse.processing.org/t/android-seekbar-slider/1245)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 21\
**Last updated:** [July 5, 2018, 4:36am UTC](https://discourse.processing.org/t/android-seekbar-slider/1245 "2018-07-05T04:36:46Z")

</div>

Hi. I am trying to implement a java SeekBar programmatically in my sketch but without any success. Untill now I have the code below, but giving a lot of errors starting with “The constructor SeekBar(seekbar) is undefin…

---

## [Change color of the shapes with audio](https://discourse.processing.org/t/change-color-of-the-shapes-with-audio/1495)

<div class="topic-metadata">

**Author:** [@IlPastaio](https://discourse.processing.org/u/IlPastaio)\
**Replies:** 2\
**Last updated:** [July 5, 2018, 1:08am UTC](https://discourse.processing.org/t/change-color-of-the-shapes-with-audio/1495 "2018-07-05T01:08:09Z")

</div>

Hello everyone, I need your help for a project I’m creating. First of all, I’m a complete noob! So try to be as simple as possible with me please. Basically I’ve created this simple draw and I need that every shape ins…

---

## [Sketching pattern](https://discourse.processing.org/t/sketching-pattern/1421)

<div class="topic-metadata">

**Author:** [@NancyBecky](https://discourse.processing.org/u/NancyBecky)\
**Replies:** 11\
**Last updated:** [July 4, 2018, 7:24pm UTC](https://discourse.processing.org/t/sketching-pattern/1421 "2018-07-04T19:24:36Z")

</div>

Hi Friends, I am new to this forum. I am curious to learn programming and I started learning it. I’m trying to write a code based on the image attached. Can anyone help me to reproduce this image?

---

## [Is it possible to change the transparency of a PShape object in draw()?](https://discourse.processing.org/t/is-it-possible-to-change-the-transparency-of-a-pshape-object-in-draw/1429)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 3\
**Last updated:** [July 2, 2018, 4:17pm UTC](https://discourse.processing.org/t/is-it-possible-to-change-the-transparency-of-a-pshape-object-in-draw/1429 "2018-07-02T16:17:44Z")

</div>

Hi, The title says it all, I’d like to change in draw() the alpha value of a PShape object originally created in setup(). A quick example: def setup(): size(800, 800, P3D) global shp shp = createShape…

---

## [Help: Make particlesystem bounce off edges](https://discourse.processing.org/t/help-make-particlesystem-bounce-off-edges/1311)

<div class="topic-metadata">

**Author:** [@ElegyforFedora](https://discourse.processing.org/u/ElegyforFedora)\
**Replies:** 7\
**Last updated:** [July 4, 2018, 6:06pm UTC](https://discourse.processing.org/t/help-make-particlesystem-bounce-off-edges/1311 "2018-07-04T18:06:49Z")

</div>

Hi all! I’m fairly new to coding and all new to this forum. I have a small problem with some code which I would like a bit of guidance on. The code is supposed to model a fire/flame moving around the screen. The problem …

---

## [Key value disappears after holding two keys](https://discourse.processing.org/t/key-value-disappears-after-holding-two-keys/1497)

<div class="topic-metadata">

**Author:** [@Richard122](https://discourse.processing.org/u/Richard122)\
**Replies:** 1\
**Last updated:** [July 4, 2018, 5:43pm UTC](https://discourse.processing.org/t/key-value-disappears-after-holding-two-keys/1497 "2018-07-04T17:43:56Z")

</div>

Hi there, I am new to Processing and I came up with the idea to make a version of Space Invaders to get acquainted with it. After encountering a lot of trouble with processing simultaneous key inputs I properly took care…

---

## [Running p5.js sketch error](https://discourse.processing.org/t/running-p5-js-sketch-error/1492)

<div class="topic-metadata">

**Author:** [@ville2008](https://discourse.processing.org/u/ville2008)\
**Replies:** 3\
**Last updated:** [July 4, 2018, 2:27pm UTC](https://discourse.processing.org/t/running-p5-js-sketch-error/1492 "2018-07-04T14:27:45Z")

</div>

when i try to launch my sketch (P5.JS libarary used) i get this error in the console: java.lang.NullPointerException at processing.mode.p5js.p5jsBuild.updateHtml(p5jsBuild.java:103) at processing.mode.p5js.p5jsEditor.…

---

## [How to get section of pixels from entire screen?](https://discourse.processing.org/t/how-to-get-section-of-pixels-from-entire-screen/1480)

<div class="topic-metadata">

**Author:** [@Grimtin10](https://discourse.processing.org/u/Grimtin10)\
**Replies:** 4\
**Last updated:** [July 4, 2018, 8:00am UTC](https://discourse.processing.org/t/how-to-get-section-of-pixels-from-entire-screen/1480 "2018-07-04T08:00:43Z")

</div>

I’m going to write a simple bot for a game, and I need to get a section of pixels (or at least one pixel) from the game. How do I do this? -Grim

---

## [Why won't Processing find my library?](https://discourse.processing.org/t/why-wont-processing-find-my-library/1483)

<div class="topic-metadata">

**Author:** [@apratt](https://discourse.processing.org/u/apratt)\
**Replies:** 3\
**Last updated:** [July 4, 2018, 7:54am UTC](https://discourse.processing.org/t/why-wont-processing-find-my-library/1483 "2018-07-04T07:54:18Z")

</div>

Anyone know why the Processing program isn’t picking up my library “papaya” ? I moved the extracted folder into the libraries folder, but it still won’t pick it up when I run. Since I can only post one picture, I’ll post…

---

## [Como me puede ayudar este lenguaje en mi proyecto](https://discourse.processing.org/t/como-me-puede-ayudar-este-lenguaje-en-mi-proyecto/1463)

<div class="topic-metadata">

**Author:** [@joseman](https://discourse.processing.org/u/joseman)\
**Replies:** 1\
**Last updated:** [July 4, 2018, 5:25am UTC](https://discourse.processing.org/t/como-me-puede-ayudar-este-lenguaje-en-mi-proyecto/1463 "2018-07-04T05:25:11Z")

</div>

Soy diseñador grafico, pero me estoy aprendiendo a configurar paginas web. Tengo un blog de ecologia que aun comienza. Pero mi pregunta es saber como es que me puede ayudar este lenguaje a la realizacion de mejoras en mi…

---

## [Any documentation for creating custom modes?](https://discourse.processing.org/t/any-documentation-for-creating-custom-modes/1136)

<div class="topic-metadata">

**Author:** [@jmorrow](https://discourse.processing.org/u/jmorrow)\
**Replies:** 8\
**Last updated:** [July 4, 2018, 2:54am UTC](https://discourse.processing.org/t/any-documentation-for-creating-custom-modes/1136 "2018-07-04T02:54:27Z")

</div>

I want to write a custom mode for Processing and don’t know where to begin. I couldn’t find anything on the wiki for Processing that describes how to create a custom mode. I also tried looking at the source for Debug M…

---

## [Regex \\w and \\\\w is not working](https://discourse.processing.org/t/regex-w-and-w-is-not-working/1478)

<div class="topic-metadata">

**Author:** [@tomte55](https://discourse.processing.org/u/tomte55)\
**Replies:** 1\
**Last updated:** [July 3, 2018, 11:36pm UTC](https://discourse.processing.org/t/regex-w-and-w-is-not-working/1478 "2018-07-03T23:36:40Z")

</div>

I’m making a rename function where you input a filepath then a name. Then the function is going to find the last entry in the filepath and replace it with the inputted name, And the filepath input is something like thi…

---

## [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…

---

## [Module Python for all domain users](https://discourse.processing.org/t/module-python-for-all-domain-users/1471)

<div class="topic-metadata">

**Author:** [@LooselySubtle](https://discourse.processing.org/u/LooselySubtle)\
**Replies:** 1\
**Last updated:** [July 3, 2018, 7:21pm UTC](https://discourse.processing.org/t/module-python-for-all-domain-users/1471 "2018-07-03T19:21:10Z")

</div>

Hi processing I am the sysadmin for a K12-school and I am asked to install Processing with the python plugin on all of my desktops. When preparing the master image for my school and testing the software, I noticed that …

---

## [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 …

---

## [Want to replace text with new element instead of adding a new element](https://discourse.processing.org/t/want-to-replace-text-with-new-element-instead-of-adding-a-new-element/1458)

<div class="topic-metadata">

**Author:** [@LWoodall](https://discourse.processing.org/u/LWoodall)\
**Replies:** 2\
**Last updated:** [July 3, 2018, 12:16pm UTC](https://discourse.processing.org/t/want-to-replace-text-with-new-element-instead-of-adding-a-new-element/1458 "2018-07-03T12:16:16Z")

</div>

Hi i’m trying to make a random message generator using data from a JSON file https://github.com/dariusk/corpora/blob/master/data/games/dark\_souls\_iii\_messages.json Here’s what i’ve got so far. I can get the buttons to a…

---

## [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…

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

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