# Latest

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

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

**Page:** 352

---

## [I am planning to create a new android gesture Api](https://discourse.processing.org/t/i-am-planning-to-create-a-new-android-gesture-api/15276)

<div class="topic-metadata">

**Author:** [@technew](https://discourse.processing.org/u/technew)\
**Replies:** 3\
**Last updated:** [May 12, 2020, 12:09pm UTC](https://discourse.processing.org/t/i-am-planning-to-create-a-new-android-gesture-api/15276 "2020-05-12T12:09:51Z")

</div>

Currently, the most used gesture api for android is ketaigesture. This api solved the basic android gesture requirements. However, there are problems like some functions will falsely call multiple times (ontap for examp…

---

## [Is Oracle JDK required for Processing ARM to run?](https://discourse.processing.org/t/is-oracle-jdk-required-for-processing-arm-to-run/16404)

<div class="topic-metadata">

**Author:** [@mb668](https://discourse.processing.org/u/mb668)\
**Replies:** 18\
**Last updated:** [May 12, 2020, 7:29am UTC](https://discourse.processing.org/t/is-oracle-jdk-required-for-processing-arm-to-run/16404 "2020-05-12T07:29:37Z")

</div>

First time poster here. I’ve just installed Processing on a Pinebook Pro (ARM64 processor; nice machine!) running Manjaro Preview 4. I’m getting a list of Java-related errors when I invoke Processing from the command li…

---

## [Multiple seed values for noise](https://discourse.processing.org/t/multiple-seed-values-for-noise/20695)

<div class="topic-metadata">

**Author:** [@shinyogre](https://discourse.processing.org/u/shinyogre)\
**Replies:** 3\
**Last updated:** [May 12, 2020, 8:02am UTC](https://discourse.processing.org/t/multiple-seed-values-for-noise/20695 "2020-05-12T08:02:03Z")

</div>

I have multiple layers of 1D perlin noise rendering with vertices via beginShape() and endShape(). I noticed however that because each layer uses the same noise seed, their shape is quite similar and the effect is a les…

---

## [Get value from ScrollableList controlp5](https://discourse.processing.org/t/get-value-from-scrollablelist-controlp5/20752)

<div class="topic-metadata">

**Author:** [@matteocabe](https://discourse.processing.org/u/matteocabe)\
**Replies:** 2\
**Last updated:** [May 12, 2020, 7:33am UTC](https://discourse.processing.org/t/get-value-from-scrollablelist-controlp5/20752 "2020-05-12T07:33:29Z")

</div>

Hi, I’m trying to catch the value from a scrollable list created with controlp5. This is an example I found online very similiar to what I have to do. import controlP5.\*; import java.util.\*; ControlP5 cp5; String …

---

## [Is it possible to get the index of the array object that called a function?](https://discourse.processing.org/t/is-it-possible-to-get-the-index-of-the-array-object-that-called-a-function/20769)

<div class="topic-metadata">

**Author:** [@Bassam](https://discourse.processing.org/u/Bassam)\
**Replies:** 2\
**Last updated:** [May 12, 2020, 6:09am UTC](https://discourse.processing.org/t/is-it-possible-to-get-the-index-of-the-array-object-that-called-a-function/20769 "2020-05-12T06:09:47Z")

</div>

So I learned some time ago on this forum that the same function can be called by a button press and it’s possible to determine which button did the pressing: function buttonPressListener(){ switch (this) { c…

---

## [Trademark Guidelines?](https://discourse.processing.org/t/trademark-guidelines/20631)

<div class="topic-metadata">

**Author:** [@NFellenor](https://discourse.processing.org/u/NFellenor)\
**Replies:** 1\
**Last updated:** [May 12, 2020, 3:45am UTC](https://discourse.processing.org/t/trademark-guidelines/20631 "2020-05-12T03:45:49Z")

</div>

Hello I have been using p5.js in my Computer Science dissertation project (an open audio web platform); one of the requirements is to make a poster promoting our product. I was wondering if I am allowed to use the p5.js …

---

## [How to add gravity to this example?](https://discourse.processing.org/t/how-to-add-gravity-to-this-example/20751)

<div class="topic-metadata">

**Author:** [@Pepbaggen](https://discourse.processing.org/u/Pepbaggen)\
**Replies:** 2\
**Last updated:** [May 12, 2020, 1:06am UTC](https://discourse.processing.org/t/how-to-add-gravity-to-this-example/20751 "2020-05-12T01:06:12Z")

</div>

Thanks in advance!!! int schermMode = 0; //begint bij beginscherm PImage img; int punten = 0; float schiethoek = 0; //schiethoek : -100 float schiethoekrekenen; PVector plaats; //xt --\> uitendelijke pos PVector snelheid…

---

## [G4P how to make a new windows in a simple way?](https://discourse.processing.org/t/g4p-how-to-make-a-new-windows-in-a-simple-way/20338)

<div class="topic-metadata">

**Author:** [@nicks](https://discourse.processing.org/u/nicks)\
**Replies:** 2\
**Last updated:** [May 1, 2020, 4:48pm UTC](https://discourse.processing.org/t/g4p-how-to-make-a-new-windows-in-a-simple-way/20338 "2020-05-01T16:48:44Z")

</div>

Hello everyone. I’m new at processing, and I’m starting to learn how to use it. I have to write a program and I really want to make a new window appear when the user clicks a button. Something like a main menu, and fro…

---

## [Representation of Elevation and Azimuth in the plane](https://discourse.processing.org/t/representation-of-elevation-and-azimuth-in-the-plane/20730)

<div class="topic-metadata">

**Author:** [@jcduino](https://discourse.processing.org/u/jcduino)\
**Replies:** 3\
**Last updated:** [May 11, 2020, 11:34pm UTC](https://discourse.processing.org/t/representation-of-elevation-and-azimuth-in-the-plane/20730 "2020-05-11T23:34:56Z")

</div>

Hello, I am trying to represent the position of the gps satellites in the plane, X and Y coordinates. I use the TinyGps ++ library. I obtain for each satellite its Azimuth (0…359) and its elevation (0…90). My problem…

---

## [Changing from moving the grid to moving box()](https://discourse.processing.org/t/changing-from-moving-the-grid-to-moving-box/20740)

<div class="topic-metadata">

**Author:** [@JunQu](https://discourse.processing.org/u/JunQu)\
**Replies:** 3\
**Last updated:** [May 11, 2020, 10:46pm UTC](https://discourse.processing.org/t/changing-from-moving-the-grid-to-moving-box/20740 "2020-05-11T22:46:18Z")

</div>

I don’t know how to form the right topic, although I believe it explains enough. Right now, my movement controls the grid (WASD). This stops me from creating independent “enemy” boxes. I would like to make the grid stati…

---

## [Concat with an object not working](https://discourse.processing.org/t/concat-with-an-object-not-working/20632)

<div class="topic-metadata">

**Author:** [@Eyetoof](https://discourse.processing.org/u/Eyetoof)\
**Replies:** 4\
**Last updated:** [May 11, 2020, 10:58pm UTC](https://discourse.processing.org/t/concat-with-an-object-not-working/20632 "2020-05-11T22:58:02Z")

</div>

I’ve stripped the issue I am having down to isolate the issue. I figure its just a data type issue and I should maybe switch to ArrayLists but… I wanted to see if anyone had a specific insight. First off here is what I…

---

## [Error 502 randomly occurs when the project is shared](https://discourse.processing.org/t/error-502-randomly-occurs-when-the-project-is-shared/20028)

<div class="topic-metadata">

**Author:** [@paco06](https://discourse.processing.org/u/paco06)\
**Replies:** 1\
**Last updated:** [May 11, 2020, 10:57pm UTC](https://discourse.processing.org/t/error-502-randomly-occurs-when-the-project-is-shared/20028 "2020-05-11T22:57:52Z")

</div>

Hello I’m a P5.js newby…I developed 4 years ago a processing program and moved it to p5.js. It loads and works fine in the preview window. My problem occurs when I share the program, the program loading time increase ran…

---

## [Is it possible to override the constructor for GWinData in G4P?](https://discourse.processing.org/t/is-it-possible-to-override-the-constructor-for-gwindata-in-g4p/20756)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 1\
**Last updated:** [May 11, 2020, 9:22pm UTC](https://discourse.processing.org/t/is-it-possible-to-override-the-constructor-for-gwindata-in-g4p/20756 "2020-05-11T21:22:48Z")

</div>

Hi again! I was trying to override the constructor for GWinData so that I could create all the controls required for the child window in the GWinData constructor (to maximize encapsulation), but it isn’t working. The pr…

---

## [Can you print a pdf file?](https://discourse.processing.org/t/can-you-print-a-pdf-file/20743)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [May 11, 2020, 10:40am UTC](https://discourse.processing.org/t/can-you-print-a-pdf-file/20743 "2020-05-11T10:40:24Z")

</div>

Can you print a pdf file? Good morning. You can print jpg files, but it is difficult to print pdf files. Is there any way? \[jpg printer code\] import java.io.FileInputStream; import javax.print.Doc; import javax.prin…

---

## [Android: Access system APIs (not sensors) with Processing. "Cannot make a static reference to a non static method. " ](https://discourse.processing.org/t/android-access-system-apis-not-sensors-with-processing-cannot-make-a-static-reference-to-a-non-static-method/20732)

<div class="topic-metadata">

**Author:** [@Evlmnkey](https://discourse.processing.org/u/Evlmnkey)\
**Replies:** 10\
**Last updated:** [May 11, 2020, 5:15pm UTC](https://discourse.processing.org/t/android-access-system-apis-not-sensors-with-processing-cannot-make-a-static-reference-to-a-non-static-method/20732 "2020-05-11T17:15:57Z")

</div>

Hey guys, so im pretty confident with regular processing but this java-Android stuff is killing me. Here is my problem: I want the result of this API: https://developer.android.com/reference/android/telephony/CellSignal…

---

## [Get rid of sound distortion](https://discourse.processing.org/t/get-rid-of-sound-distortion/20696)

<div class="topic-metadata">

**Author:** [@mhr](https://discourse.processing.org/u/mhr)\
**Replies:** 2\
**Last updated:** [May 11, 2020, 2:41pm UTC](https://discourse.processing.org/t/get-rid-of-sound-distortion/20696 "2020-05-11T14:41:02Z")

</div>

Hi, I’m trying to play tiny parts of the same sound file through MouseDragged function on p5. Everything works just fine when the variables are defined in the begining, but I want to be able to change them using the ke…

---

## [Class problem: Place four Sketches on the screen](https://discourse.processing.org/t/class-problem-place-four-sketches-on-the-screen/20689)

<div class="topic-metadata">

**Author:** [@Filo96ge](https://discourse.processing.org/u/Filo96ge)\
**Replies:** 11\
**Last updated:** [May 11, 2020, 2:39pm UTC](https://discourse.processing.org/t/class-problem-place-four-sketches-on-the-screen/20689 "2020-05-11T14:39:06Z")

</div>

Hi guys I have this situation: I created an exercise where inside of it I created a class object called A\_square, but my goal would be has in a square 666x666, four different classes (A\_B\_C\_D) which different graphic out…

---

## [Saturation filter](https://discourse.processing.org/t/saturation-filter/20734)

<div class="topic-metadata">

**Author:** [@IRIGIMA](https://discourse.processing.org/u/IRIGIMA)\
**Replies:** 1\
**Last updated:** [May 11, 2020, 6:13am UTC](https://discourse.processing.org/t/saturation-filter/20734 "2020-05-11T06:13:28Z")

</div>

So I am attempting to hard code a Saturation filter based on a built in function from another language. (Graphics Mode Saturation) All to do with Luminance / HSB and colour space etc with no record of algorithmic proces…

---

## [Make p5py loop run for 90 frames exaclty?](https://discourse.processing.org/t/make-p5py-loop-run-for-90-frames-exaclty/20736)

<div class="topic-metadata">

**Author:** [@renec112](https://discourse.processing.org/u/renec112)\
**Replies:** 2\
**Last updated:** [May 11, 2020, 8:19am UTC](https://discourse.processing.org/t/make-p5py-loop-run-for-90-frames-exaclty/20736 "2020-05-11T08:19:38Z")

</div>

I’m using the p5 python lib https://github.com/p5py/p5 I would love to do an animation scence that is 3 seconds long. So the draw loop should run for 90 frames, with 30 frames a second. I’m trying to do this by using n…

---

## [FFT with video as a source](https://discourse.processing.org/t/fft-with-video-as-a-source/20729)

<div class="topic-metadata">

**Author:** [@ballinoates](https://discourse.processing.org/u/ballinoates)\
**Replies:** 0\
**Last updated:** [May 10, 2020, 11:24pm UTC](https://discourse.processing.org/t/fft-with-video-as-a-source/20729 "2020-05-10T23:24:46Z")

</div>

Hi all- trying to use p5js for a new project instead of P3 and having some issues. I normally use minim for all my FFT related coding but that is not available for p5js. Anyway, I have a local video (for now) that I wa…

---

## [Create .exe to export without showing the source code](https://discourse.processing.org/t/create-exe-to-export-without-showing-the-source-code/20724)

<div class="topic-metadata">

**Author:** [@juanjoc](https://discourse.processing.org/u/juanjoc)\
**Replies:** 1\
**Last updated:** [May 10, 2020, 11:25pm UTC](https://discourse.processing.org/t/create-exe-to-export-without-showing-the-source-code/20724 "2020-05-10T23:25:09Z")

</div>

Hi everyone. I wonder If it is possible to export a processing application for windows (e.g. .exe) that does not show the source code as happens in processing for android where it is one file to install and then run the…

---

## [Present mode, what is it and when would I need it?](https://discourse.processing.org/t/present-mode-what-is-it-and-when-would-i-need-it/20686)

<div class="topic-metadata">

**Author:** [@wsintra](https://discourse.processing.org/u/wsintra)\
**Replies:** 4\
**Last updated:** [May 10, 2020, 11:20pm UTC](https://discourse.processing.org/t/present-mode-what-is-it-and-when-would-i-need-it/20686 "2020-05-10T23:20:44Z")

</div>

Hi, I have just noticed the present mode, I understand I can use fullscreen in setup to make a fullscreen, but when would I need to use present mode, and is it true in present mode I can change code on the fly? I tried …

---

## [Let user input date and time and store it as variable](https://discourse.processing.org/t/let-user-input-date-and-time-and-store-it-as-variable/20705)

<div class="topic-metadata">

**Author:** [@kimikim](https://discourse.processing.org/u/kimikim)\
**Replies:** 2\
**Last updated:** [May 10, 2020, 9:39pm UTC](https://discourse.processing.org/t/let-user-input-date-and-time-and-store-it-as-variable/20705 "2020-05-10T21:39:22Z")

</div>

hello… I am a beginner in processing may I know how can I let user enter date and time of their choice and then assign it to a variable in date and time format because 1 want to compare the input time with current t…

---

## [Reading / Writing HSB values](https://discourse.processing.org/t/reading-writing-hsb-values/20710)

<div class="topic-metadata">

**Author:** [@IRIGIMA](https://discourse.processing.org/u/IRIGIMA)\
**Replies:** 9\
**Last updated:** [May 10, 2020, 9:34pm UTC](https://discourse.processing.org/t/reading-writing-hsb-values/20710 "2020-05-10T21:34:36Z")

</div>

Using the below code, trying to read the HSB values from PGraphics screen. Reading is from random areas. As a test, am currently writing back read values expecting no change. Running code shows change as should show u…

---

## [G4P: Can't 'select' DropList item if there is only one item in the list](https://discourse.processing.org/t/g4p-cant-select-droplist-item-if-there-is-only-one-item-in-the-list/20606)

<div class="topic-metadata">

**Author:** [@PhilHaw](https://discourse.processing.org/u/PhilHaw)\
**Replies:** 11\
**Last updated:** [May 10, 2020, 9:16pm UTC](https://discourse.processing.org/t/g4p-cant-select-droplist-item-if-there-is-only-one-item-in-the-list/20606 "2020-05-10T21:16:15Z")

</div>

In my app I have a DropList to let the user select which Serial port (COM port) that an external device is connected to via USB. It works great if there are at least two COM ports present in the list. For example if I se…

---

## [Doesn't the 'IPCAPTURE' library sound CCTV?](https://discourse.processing.org/t/doesnt-the-ipcapture-library-sound-cctv/20269)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [May 10, 2020, 9:13pm UTC](https://discourse.processing.org/t/doesnt-the-ipcapture-library-sound-cctv/20269 "2020-05-10T21:13:56Z")

</div>

Good morning. I have a question. Doesn’t the ‘IPCAPTURE’ library sound CCTV? If you look at the video, COMPUTER: RTSP protocol Smartphone: MJPEG (import ipcapture. \*:wink: PC(Computer) → VIDEO, SOUND …

---

## ["Create font" not find new font](https://discourse.processing.org/t/create-font-not-find-new-font/18006)

<div class="topic-metadata">

**Author:** [@Naik\_Trofimov](https://discourse.processing.org/u/Naik_Trofimov)\
**Replies:** 6\
**Last updated:** [May 10, 2020, 8:48pm UTC](https://discourse.processing.org/t/create-font-not-find-new-font/18006 "2020-05-10T20:48:22Z")

</div>

Downloaded new and install new ttf font, but processing dont see he! Haw I do using .ttf font in processing? and: image|690x475 and:

---

## [Can you help me understand why b = null in draw function is incorrect](https://discourse.processing.org/t/can-you-help-me-understand-why-b-null-in-draw-function-is-incorrect/20713)

<div class="topic-metadata">

**Author:** [@Arsenii](https://discourse.processing.org/u/Arsenii)\
**Replies:** 2\
**Last updated:** [May 10, 2020, 7:34pm UTC](https://discourse.processing.org/t/can-you-help-me-understand-why-b-null-in-draw-function-is-incorrect/20713 "2020-05-10T19:34:43Z")

</div>

Can you help me understand why b = null in draw function is incorrect import java.util.List; import java.util.ArrayList; spaceShip ship; boolean left = false; boolean right = false; boolean forward = false; int maxQu…

---

## [How can I connect OSCP5 in Processing python](https://discourse.processing.org/t/how-can-i-connect-oscp5-in-processing-python/20688)

<div class="topic-metadata">

**Author:** [@lasc95](https://discourse.processing.org/u/lasc95)\
**Replies:** 3\
**Last updated:** [May 10, 2020, 7:13pm UTC](https://discourse.processing.org/t/how-can-i-connect-oscp5-in-processing-python/20688 "2020-05-10T19:13:38Z")

</div>

Hi dears, I try to connect Processing.py with supercollider but I have problems with import OSCP5. Can you help me :c How can I instance OSCP5, I imported with add\_library(‘oscP5’). thanks :smiley:

---

## [Shutdown dialog box does not work in premade raspbian processing image on 3B+](https://discourse.processing.org/t/shutdown-dialog-box-does-not-work-in-premade-raspbian-processing-image-on-3b/20721)

<div class="topic-metadata">

**Author:** [@ITman496](https://discourse.processing.org/u/ITman496)\
**Replies:** 0\
**Last updated:** [May 10, 2020, 6:57pm UTC](https://discourse.processing.org/t/shutdown-dialog-box-does-not-work-in-premade-raspbian-processing-image-on-3b/20721 "2020-05-10T18:57:32Z")

</div>

I installed a fresh download of the pre-made image on my new 3B+ and when I click the shutdown dialog box… nothing happens. It pops up but when I click the shutdown button, it just sits there. I wind up having to use t…

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

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