# Processing

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

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

**Page:** 273

---

## [Difference between randomGaussian() and nextGaussian()](https://discourse.processing.org/t/difference-between-randomgaussian-and-nextgaussian/14008)

<div class="topic-metadata">

**Author:** [@nzfs](https://discourse.processing.org/u/nzfs)\
**Replies:** 2\
**Last updated:** [September 18, 2019, 1:43am UTC](https://discourse.processing.org/t/difference-between-randomgaussian-and-nextgaussian/14008 "2019-09-18T01:43:32Z")

</div>

is there a difference between the randomGaussian() function in processing, and the nextGaussian() in the java.util class?

---

## [Adding library in Processing IDE](https://discourse.processing.org/t/adding-library-in-processing-ide/14030)

<div class="topic-metadata">

**Author:** [@ruperty](https://discourse.processing.org/u/ruperty)\
**Replies:** 3\
**Last updated:** [September 17, 2019, 6:23pm UTC](https://discourse.processing.org/t/adding-library-in-processing-ide/14030 "2019-09-17T18:23:15Z")

</div>

I have loaded a library (grafica) in the Processing IDE, but the functions are not recognised. I notice that the library file does not appear in the folder. I guess I can do this manually, but shouldn’t the IDE do this? …

---

## [Display random image(s) according to random number](https://discourse.processing.org/t/display-random-image-s-according-to-random-number/14016)

<div class="topic-metadata">

**Author:** [@Drastard](https://discourse.processing.org/u/Drastard)\
**Replies:** 1\
**Last updated:** [September 16, 2019, 8:51pm UTC](https://discourse.processing.org/t/display-random-image-s-according-to-random-number/14016 "2019-09-16T20:51:51Z")

</div>

It’s been several years since I scraped through any kind of coding but I’ve come back to Processing as I finally have a problem to solve rather than completing something a teacher set! I would like to display a series o…

---

## [Load map API into Processing? (Leaflet.js equivalent)](https://discourse.processing.org/t/load-map-api-into-processing-leaflet-js-equivalent/14022)

<div class="topic-metadata">

**Author:** [@antoinesaurat](https://discourse.processing.org/u/antoinesaurat)\
**Replies:** 0\
**Last updated:** [September 17, 2019, 6:26am UTC](https://discourse.processing.org/t/load-map-api-into-processing-leaflet-js-equivalent/14022 "2019-09-17T06:26:00Z")

</div>

Dear all, I am using the excellent library UnfoldingMaps to easily load map tiles API (Google, ESRI etc.) but I was wondering if anyone was aware of another library that would able to load other more modern map API espe…

---

## [Manually install Contributed Library fails](https://discourse.processing.org/t/manually-install-contributed-library-fails/13881)

<div class="topic-metadata">

**Author:** [@trob999](https://discourse.processing.org/u/trob999)\
**Replies:** 3\
**Last updated:** [September 17, 2019, 3:58am UTC](https://discourse.processing.org/t/manually-install-contributed-library-fails/13881 "2019-09-17T03:58:25Z")

</div>

Hi I’m new to processing and like to “run” the “Background Subtraction Processing Demo” from Jorge Cardoso.on my win 10 with Processing 5.3.5 http://jorgecardoso.eu/blog/index.php?/archives/105-Advanced-Background-Subt…

---

## [Fullscreen with P2D hangs Ubuntu 18.04](https://discourse.processing.org/t/fullscreen-with-p2d-hangs-ubuntu-18-04/13997)

<div class="topic-metadata">

**Author:** [@Alex\_Pr](https://discourse.processing.org/u/Alex_Pr)\
**Replies:** 20\
**Last updated:** [September 16, 2019, 12:33pm UTC](https://discourse.processing.org/t/fullscreen-with-p2d-hangs-ubuntu-18-04/13997 "2019-09-16T12:33:47Z")

</div>

I’m running Ubuntu 18.04 with an AMD Radeon R7 M445 GPU, the amdgpu drivers and Processing 3.5.1. When running a simple sketch like the one below, the entire system hangs after some time (70-120 seconds) and I have to po…

---

## [Get frequencies of sound](https://discourse.processing.org/t/get-frequencies-of-sound/14004)

<div class="topic-metadata">

**Author:** [@Loe159](https://discourse.processing.org/u/Loe159)\
**Replies:** 1\
**Last updated:** [September 16, 2019, 2:48am UTC](https://discourse.processing.org/t/get-frequencies-of-sound/14004 "2019-09-16T02:48:35Z")

</div>

Hi, to start, sorry for my English but I’m French so I’ll maybe do some mistakes. I’m totally new on Processing and I’d like to get bass of the song of my PC. To do it, I already found a code wich do a spectrograme of t…

---

## [Sections of Mathematics to learning for art coding](https://discourse.processing.org/t/sections-of-mathematics-to-learning-for-art-coding/13977)

<div class="topic-metadata">

**Author:** [@etlettering](https://discourse.processing.org/u/etlettering)\
**Replies:** 8\
**Last updated:** [September 15, 2019, 7:32pm UTC](https://discourse.processing.org/t/sections-of-mathematics-to-learning-for-art-coding/13977 "2019-09-15T19:32:32Z")

</div>

Dear passengers, Can you describe me, please, what section of Math (like a trigonometry or discrete math or w.e.) I need to learn for good and deep understanding of art of coding on Processing? It’s not a problem to le…

---

## [How to remove this color bar from color wheel? (Controlp5)](https://discourse.processing.org/t/how-to-remove-this-color-bar-from-color-wheel-controlp5/13984)

<div class="topic-metadata">

**Author:** [@Leonhard](https://discourse.processing.org/u/Leonhard)\
**Replies:** 5\
**Last updated:** [September 15, 2019, 4:16pm UTC](https://discourse.processing.org/t/how-to-remove-this-color-bar-from-color-wheel-controlp5/13984 "2019-09-15T16:16:33Z")

</div>

Remove the rectangle displaying the color underneath the color wheel. Anyone know how to do this? Thanks

---

## [Export to Google Sheet](https://discourse.processing.org/t/export-to-google-sheet/13999)

<div class="topic-metadata">

**Author:** [@sna003](https://discourse.processing.org/u/sna003)\
**Replies:** 1\
**Last updated:** [September 15, 2019, 3:27pm UTC](https://discourse.processing.org/t/export-to-google-sheet/13999 "2019-09-15T15:27:08Z")

</div>

Hi all, May I ask if it is possible to export the data I received into Google Sheet using Processing? I manage to export the data locally every minute but would like to explore further. Thanks in advance. Best Regards …

---

## [Never ending loop](https://discourse.processing.org/t/never-ending-loop/13990)

<div class="topic-metadata">

**Author:** [@Ignaki](https://discourse.processing.org/u/Ignaki)\
**Replies:** 3\
**Last updated:** [September 14, 2019, 7:59pm UTC](https://discourse.processing.org/t/never-ending-loop/13990 "2019-09-14T19:59:52Z")

</div>

Why a loop is never ending a you use de function random as in: for (int i = 0; i \< 1000; i = i+1) { A = random(i); B = random(i); point(A,B); } An…

---

## [Parsing SVG file](https://discourse.processing.org/t/parsing-svg-file/13991)

<div class="topic-metadata">

**Author:** [@eduzal](https://discourse.processing.org/u/eduzal)\
**Replies:** 1\
**Last updated:** [September 14, 2019, 7:46pm UTC](https://discourse.processing.org/t/parsing-svg-file/13991 "2019-09-14T19:46:35Z")

</div>

I have this svg \<g id="Layer\_1"\> \<path style="fill:none;stroke:#FA8B00;stroke-width:4;stroke-linecap:round;stroke-miterlimit:10;" d="M1272.8,558l19.2,20l-49,81 l-18-19L1272.8,558z"/\> how do i access style propertie…

---

## [Line the hard way](https://discourse.processing.org/t/line-the-hard-way/13978)

<div class="topic-metadata">

**Author:** [@arcadeperfect](https://discourse.processing.org/u/arcadeperfect)\
**Replies:** 7\
**Last updated:** [September 14, 2019, 1:59pm UTC](https://discourse.processing.org/t/line-the-hard-way/13978 "2019-09-14T13:59:53Z")

</div>

Hello! I apologize in advance for my appalling math knowledge. How can I calculate coords of locations of regular distance in a straight line between two points? IE I have a source vector and a target vector, and I want…

---

## [ControlP5 - java.lang.NullPointerException](https://discourse.processing.org/t/controlp5-java-lang-nullpointerexception/13974)

<div class="topic-metadata">

**Author:** [@Rammstan](https://discourse.processing.org/u/Rammstan)\
**Replies:** 1\
**Last updated:** [September 14, 2019, 4:38am UTC](https://discourse.processing.org/t/controlp5-java-lang-nullpointerexception/13974 "2019-09-14T04:38:05Z")

</div>

Hello, Similar to this post, i have an error. I know the problem is path = controlP5.get(Textfield.class,"File").getText(); But i don’t understand why. All variables are declared at right time… i think :stuck\_out\_tong…

---

## [How to change slider label? (controlP5)](https://discourse.processing.org/t/how-to-change-slider-label-controlp5/13946)

<div class="topic-metadata">

**Author:** [@Leonhard](https://discourse.processing.org/u/Leonhard)\
**Replies:** 2\
**Last updated:** [September 14, 2019, 4:04am UTC](https://discourse.processing.org/t/how-to-change-slider-label-controlp5/13946 "2019-09-14T04:04:20Z")

</div>

Change to something like that:

---

## [How to color one object in an ArrayList?](https://discourse.processing.org/t/how-to-color-one-object-in-an-arraylist/13949)

<div class="topic-metadata">

**Author:** [@fleischfarbe](https://discourse.processing.org/u/fleischfarbe)\
**Replies:** 2\
**Last updated:** [September 13, 2019, 11:17am UTC](https://discourse.processing.org/t/how-to-color-one-object-in-an-arraylist/13949 "2019-09-13T11:17:15Z")

</div>

Hey everyone, after searching through the internet i really couldn’t find a proper answer so i a make this post. I am currently working through the flocking expample of daniel shiffmann and i would love to finally know,…

---

## [Key and keyCode flicker on release](https://discourse.processing.org/t/key-and-keycode-flicker-on-release/13960)

<div class="topic-metadata">

**Author:** [@blosh](https://discourse.processing.org/u/blosh)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 8:07am UTC](https://discourse.processing.org/t/key-and-keycode-flicker-on-release/13960 "2019-09-13T08:07:36Z")

</div>

When pressing two keys at the same time, then releasing one, processing registers that key as being pressed for a couple of frames. To replicate this issue, use this code: void setup() { size(400,400); fill(0); t…

---

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

<div class="topic-metadata">

**Author:** [@Farida](https://discourse.processing.org/u/Farida)\
**Replies:** 1\
**Last updated:** [August 5, 2018, 5:56pm UTC](https://discourse.processing.org/t/code-understanding-and-printer/1367 "2018-08-05T17:56:11Z")

</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…

---

## [Thread inside class](https://discourse.processing.org/t/thread-inside-class/13959)

<div class="topic-metadata">

**Author:** [@Darkar25](https://discourse.processing.org/u/Darkar25)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 5:55am UTC](https://discourse.processing.org/t/thread-inside-class/13959 "2019-09-13T05:55:25Z")

</div>

How can i run thread inside class?when im trying for example class test { public test() { thread("method123"); } public void method123() { println("123"); } } that will not work…it says that there is no public method m…

---

## [Export SVG from PGraphics](https://discourse.processing.org/t/export-svg-from-pgraphics/12289)

<div class="topic-metadata">

**Author:** [@eduzal](https://discourse.processing.org/u/eduzal)\
**Replies:** 12\
**Last updated:** [September 12, 2019, 11:19pm UTC](https://discourse.processing.org/t/export-svg-from-pgraphics/12289 "2019-09-12T23:19:49Z")

</div>

I have a doubt on how to export an SVG with the vector contents inside a PGraphics. Here’s the deal, I’m doing some mouse interactivity(storing mouseClicks as vectors) that are stored in a PGrpahics that’s sending that …

---

## [New library for Image Processing](https://discourse.processing.org/t/new-library-for-image-processing/13957)

<div class="topic-metadata">

**Author:** [@svr8](https://discourse.processing.org/u/svr8)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 10:00pm UTC](https://discourse.processing.org/t/new-library-for-image-processing/13957 "2019-09-12T22:00:15Z")

</div>

Hi! I was looking towards processing as a tool for artists. I wanted to know if processing can have a library that can convert an image of a hand-drawn design on paper into a list of vectors of different shapes. For exa…

---

## [Get WiFi RSSI on Mac](https://discourse.processing.org/t/get-wifi-rssi-on-mac/13942)

<div class="topic-metadata">

**Author:** [@Nasif](https://discourse.processing.org/u/Nasif)\
**Replies:** 7\
**Last updated:** [September 12, 2019, 11:07pm UTC](https://discourse.processing.org/t/get-wifi-rssi-on-mac/13942 "2019-09-12T23:07:10Z")

</div>

Hey! I’m trying to make a WiFi signal strength mapper so that when I click I can store the RSSI on the current network. However, I can’t find any methods in processing to get the RSSI. I thought it would be something si…

---

## [Selecting a number from an array, only allowing certain numbers to follow](https://discourse.processing.org/t/selecting-a-number-from-an-array-only-allowing-certain-numbers-to-follow/13951)

<div class="topic-metadata">

**Author:** [@Marinus](https://discourse.processing.org/u/Marinus)\
**Replies:** 3\
**Last updated:** [September 12, 2019, 10:29pm UTC](https://discourse.processing.org/t/selecting-a-number-from-an-array-only-allowing-certain-numbers-to-follow/13951 "2019-09-12T22:29:21Z")

</div>

Hi all, Today I’m trying to create another work of generative art. the goal is simple, to generate simple curves and lines that connect to each other, but only connecting curves and lines are allowed to be injected afte…

---

## [Choosing among array, arrayList, etc](https://discourse.processing.org/t/choosing-among-array-arraylist-etc/13956)

<div class="topic-metadata">

**Author:** [@mdg](https://discourse.processing.org/u/mdg)\
**Replies:** 3\
**Last updated:** [September 12, 2019, 10:09pm UTC](https://discourse.processing.org/t/choosing-among-array-arraylist-etc/13956 "2019-09-12T22:09:47Z")

</div>

I am somewhat new to Processing and Java-type syntax, but not new to programming in general. My project requires use of arrays, and I’ve been able to code everything out using for loops etc., but it’s tedious compared to…

---

## [Facial recognition (as opposed to detection)?](https://discourse.processing.org/t/facial-recognition-as-opposed-to-detection/13954)

<div class="topic-metadata">

**Author:** [@prismspecs](https://discourse.processing.org/u/prismspecs)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 8:44pm UTC](https://discourse.processing.org/t/facial-recognition-as-opposed-to-detection/13954 "2019-09-12T20:44:38Z")

</div>

I’m looking for something that will let me train a model based on some prior input (a folder of images) and give me a level of certainty that a face is a match for that person. Does anything like this exist yet in Proces…

---

## [New-ish to creative coding. Was wondering if something like this could be made with Processing?](https://discourse.processing.org/t/new-ish-to-creative-coding-was-wondering-if-something-like-this-could-be-made-with-processing/13941)

<div class="topic-metadata">

**Author:** [@Vosmeves](https://discourse.processing.org/u/Vosmeves)\
**Replies:** 3\
**Last updated:** [September 12, 2019, 7:04pm UTC](https://discourse.processing.org/t/new-ish-to-creative-coding-was-wondering-if-something-like-this-could-be-made-with-processing/13941 "2019-09-12T19:04:01Z")

</div>

I’m interested in experimenting with Live Motion Capture and Typography. Any help is much appreciated.

---

## [Running PGraphics on a second window](https://discourse.processing.org/t/running-pgraphics-on-a-second-window/13563)

<div class="topic-metadata">

**Author:** [@eduzal](https://discourse.processing.org/u/eduzal)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 7:01pm UTC](https://discourse.processing.org/t/running-pgraphics-on-a-second-window/13563 "2019-09-12T19:01:31Z")

</div>

I have the following situation. I have a PGraphics that’s running without problems in the main window. I want to remove this PG from the main window and simply display it on a second window. All the calculation and Cont…

---

## [How to print with 2 decimals?](https://discourse.processing.org/t/how-to-print-with-2-decimals/13929)

<div class="topic-metadata">

**Author:** [@GuilhermeVolker](https://discourse.processing.org/u/GuilhermeVolker)\
**Replies:** 4\
**Last updated:** [September 12, 2019, 2:04am UTC](https://discourse.processing.org/t/how-to-print-with-2-decimals/13929 "2019-09-12T02:04:13Z")

</div>

Hello. I need to print a float variable with 2 decimals. I couldn’t find on processing reference :expressionless:

---

## [Use the Arduino Processing Interface](https://discourse.processing.org/t/use-the-arduino-processing-interface/9409)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 10\
**Last updated:** [September 10, 2019, 10:42pm UTC](https://discourse.processing.org/t/use-the-arduino-processing-interface/9409 "2019-09-10T22:42:17Z")

</div>

Hello everyone, I can not transmit or receive PWM information, sent with analogWrite from Arduino and find it in Processing. I used the Arduino Input example in Processing and I can get the information from the Arduino…

---

## [Which commands are implemented in the SFTP library](https://discourse.processing.org/t/which-commands-are-implemented-in-the-sftp-library/13914)

<div class="topic-metadata">

**Author:** [@michaelkpierce](https://discourse.processing.org/u/michaelkpierce)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 6:46pm UTC](https://discourse.processing.org/t/which-commands-are-implemented-in-the-sftp-library/13914 "2019-09-10T18:46:13Z")

</div>

Hi, I want to use this library to update a library of images in multiple remote raspberry pis. Can you tell which commands are implemented? In particular, can I write files from the local machine to a remote machines. T…

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

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