# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=446

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

**Page:** 447

---

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

---

## [Evitar la atenuación del brillo al cabo de un rato - AS](https://discourse.processing.org/t/evitar-la-atenuacion-del-brillo-al-cabo-de-un-rato-as/13796)

<div class="topic-metadata">

**Author:** [@Waboqueox](https://discourse.processing.org/u/Waboqueox)\
**Replies:** 2\
**Last updated:** [September 14, 2019, 11:32pm UTC](https://discourse.processing.org/t/evitar-la-atenuacion-del-brillo-al-cabo-de-un-rato-as/13796 "2019-09-14T23:32:40Z")

</div>

Hola; Lamento preguntar por aquí, ya que es el foro de processing y la solución creo que es de android studio, pero me estoy volviendo loco :upside\_down\_face::upside\_down\_face::upside\_down\_face: intentando hacer que la …

---

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

---

## [Need help for p5.js ellipse "detail"](https://discourse.processing.org/t/need-help-for-p5-js-ellipse-detail/13983)

<div class="topic-metadata">

**Author:** [@SayokoWang](https://discourse.processing.org/u/SayokoWang)\
**Replies:** 2\
**Last updated:** [September 14, 2019, 6:35am UTC](https://discourse.processing.org/t/need-help-for-p5-js-ellipse-detail/13983 "2019-09-14T06:35:13Z")

</div>

Hi, I am new to p5.js; now I can draw ellipse ; but I don’t understand the “detail” in ellipse(x, y, w, h, detail) , how to use “detail”, I found no one example for it.

---

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

---

## [PWM example anyone?](https://discourse.processing.org/t/pwm-example-anyone/13967)

<div class="topic-metadata">

**Author:** [@stephanschulz](https://discourse.processing.org/u/stephanschulz)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 1:54pm UTC](https://discourse.processing.org/t/pwm-example-anyone/13967 "2019-09-13T13:54:19Z")

</div>

I see from the documentation that PWM.list() should list the available channels. When using upload to pi or directly on the pi nothing gets printed out. When running on macOS two channels get printed. Is this fully fu…

---

## [Pass image path into loadimage](https://discourse.processing.org/t/pass-image-path-into-loadimage/13966)

<div class="topic-metadata">

**Author:** [@KicksTV](https://discourse.processing.org/u/KicksTV)\
**Replies:** 5\
**Last updated:** [September 13, 2019, 12:05pm UTC](https://discourse.processing.org/t/pass-image-path-into-loadimage/13966 "2019-09-13T12:05:33Z")

</div>

I am having the problem where I want to pass a variable with image path into loadImage(). However, I am getting the error: This must be possible but I don’t see anything in docs or online demonstrating this.

---

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

---

## [Collect digitalRead() in an array](https://discourse.processing.org/t/collect-digitalread-in-an-array/13952)

<div class="topic-metadata">

**Author:** [@stephanschulz](https://discourse.processing.org/u/stephanschulz)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 9:46pm UTC](https://discourse.processing.org/t/collect-digitalread-in-an-array/13952 "2019-09-12T21:46:42Z")

</div>

digitalRead() get compared with GPIO.LOW or GPIO.HIGH. What kind of array could I set up to collect and compare the state to it? usually I do: boolean\[\] values = {false,false,false}; if(GPIO.digitalRead(4) == values\[…

---

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

---

## [Tone generation](https://discourse.processing.org/t/tone-generation/13938)

<div class="topic-metadata">

**Author:** [@stephanschulz](https://discourse.processing.org/u/stephanschulz)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 3:59pm UTC](https://discourse.processing.org/t/tone-generation/13938 "2019-09-12T15:59:02Z")

</div>

I have used wiringpi before and it has a softTone() function to use one of the pin to generate a tone. I ended up using this to generate a PWM signal which drives a stepper motor speed pin. What would be best to used i…

---

## [Export application problem especially when include csv library in processing.py](https://discourse.processing.org/t/export-application-problem-especially-when-include-csv-library-in-processing-py/13920)

<div class="topic-metadata">

**Author:** [@rumidita](https://discourse.processing.org/u/rumidita)\
**Replies:** 4\
**Last updated:** [September 12, 2019, 7:48am UTC](https://discourse.processing.org/t/export-application-problem-especially-when-include-csv-library-in-processing-py/13920 "2019-09-12T07:48:47Z")

</div>

Hello everyone, I have a problem when trying to export the program especially if it contains CSV library in Processing.py. If I don’t tick the option for “Embed Java for Windows (64-bit)”, it successful to be exported. …

---

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

---

## [Interface with encoder](https://discourse.processing.org/t/interface-with-encoder/13937)

<div class="topic-metadata">

**Author:** [@stephanschulz](https://discourse.processing.org/u/stephanschulz)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 12:02am UTC](https://discourse.processing.org/t/interface-with-encoder/13937 "2019-09-12T00:02:59Z")

</div>

I am very excited to translate some of my older projects to processing for PI. In the past I used a call like this to monitor the 2 digital pins of my encoder: wiringPiISR (encoderPinA,INT\_EDGE\_BOTH, &handleInterrupt);…

---

## [P5.js library and sound issue (bug?)](https://discourse.processing.org/t/p5-js-library-and-sound-issue-bug/13923)

<div class="topic-metadata">

**Author:** [@gaborpszti](https://discourse.processing.org/u/gaborpszti)\
**Replies:** 0\
**Last updated:** [September 11, 2019, 9:58am UTC](https://discourse.processing.org/t/p5-js-library-and-sound-issue-bug/13923 "2019-09-11T09:58:48Z")

</div>

I copied a code from p5.js website ( https://p5js.org/examples/sound-oscillator-frequency.html ) on oscillator example. It runs perfectly on official online p5.js editor, however when I paste it in my Brackets editor it…

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=445)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=447)
