# Latest

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

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

**Page:** 421

---

## [Why is the distance increasing when I draw objects in a line with while loop?](https://discourse.processing.org/t/why-is-the-distance-increasing-when-i-draw-objects-in-a-line-with-while-loop/15872)

<div class="topic-metadata">

**Author:** [@Hangmansraven](https://discourse.processing.org/u/Hangmansraven)\
**Replies:** 2\
**Last updated:** [November 27, 2019, 1:29pm UTC](https://discourse.processing.org/t/why-is-the-distance-increasing-when-i-draw-objects-in-a-line-with-while-loop/15872 "2019-11-27T13:29:18Z")

</div>

Dear community, I am quite new to coding and doing some typical beginner’s exercises to learn more. My current exercise is about repeatedly drawing objects by using while loops. Therefore I declared the variables posi…

---

## [Processing Kinect Tracking - Change .jpg file to .gif -](https://discourse.processing.org/t/processing-kinect-tracking-change-jpg-file-to-gif/15865)

<div class="topic-metadata">

**Author:** [@12345](https://discourse.processing.org/u/12345)\
**Replies:** 1\
**Last updated:** [November 27, 2019, 1:26pm UTC](https://discourse.processing.org/t/processing-kinect-tracking-change-jpg-file-to-gif/15865 "2019-11-27T13:26:44Z")

</div>

Hi, I’m currently having trouble trying to change a jpg which is moving with the tracker into a gif file - so multiple images can be shown whilst moving around a screen. Alternatively I’m trying to load more than one im…

---

## [On the last flag the text is not visible, why?](https://discourse.processing.org/t/on-the-last-flag-the-text-is-not-visible-why/15834)

<div class="topic-metadata">

**Author:** [@CyberDodo](https://discourse.processing.org/u/CyberDodo)\
**Replies:** 5\
**Last updated:** [November 27, 2019, 12:09pm UTC](https://discourse.processing.org/t/on-the-last-flag-the-text-is-not-visible-why/15834 "2019-11-27T12:09:08Z")

</div>

I tried to put this text (Das war’s Danke für’s mitmachen) on flag 3 but it did not work, why? int flag = 0; // 3 parallel arrays String\[\] text1 = { "1. Aussage:", "2. Aussage:", "3. Aussage:", "4. Auss…

---

## [How to increase Processing's processing power?](https://discourse.processing.org/t/how-to-increase-processings-processing-power/15851)

<div class="topic-metadata">

**Author:** [@mrwizard487](https://discourse.processing.org/u/mrwizard487)\
**Replies:** 2\
**Last updated:** [November 27, 2019, 11:14am UTC](https://discourse.processing.org/t/how-to-increase-processings-processing-power/15851 "2019-11-27T11:14:33Z")

</div>

Hey guys, so I'm currently working on a game in Processing 3 on my 2018 macbook pro. This game involves drawing a lot of rectangles, and despite my best optimization efforts, the game suffers from frame rates dropping t…

---

## [How i extends class in p5.js?](https://discourse.processing.org/t/how-i-extends-class-in-p5-js/894)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 16\
**Last updated:** [November 27, 2019, 9:11am UTC](https://discourse.processing.org/t/how-i-extends-class-in-p5-js/894 "2019-11-27T09:11:10Z")

</div>

Hi, i try to extends class in p5.js sketch, but not works… How do you make this? Any simple example please?

---

## [Interactivity, mouseDragged(), two discs](https://discourse.processing.org/t/interactivity-mousedragged-two-discs/15664)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 38\
**Last updated:** [November 26, 2019, 10:23pm UTC](https://discourse.processing.org/t/interactivity-mousedragged-two-discs/15664 "2019-11-26T22:23:21Z")

</div>

The disc (see below) moves when it is dragged. That is fine. How do I have two discs and have them move independently? So if I drag disc1 it moves, and disc2 does not move and if I drag disc2 that moves and disc1 does n…

---

## [What is FFT.analzye() range? I'm only getting tiny tiny values](https://discourse.processing.org/t/what-is-fft-analzye-range-im-only-getting-tiny-tiny-values/10827)

<div class="topic-metadata">

**Author:** [@DerekCresswell](https://discourse.processing.org/u/DerekCresswell)\
**Replies:** 4\
**Last updated:** [November 26, 2019, 10:05pm UTC](https://discourse.processing.org/t/what-is-fft-analzye-range-im-only-getting-tiny-tiny-values/10827 "2019-11-26T22:05:31Z")

</div>

I’ve tried putting in different songs and my values are coming out usually about “0.00XXXe-6” or just tiny. The largest I’ve gotten is “8”. I’ve tried mapping my values but only guessing on the range they either come out…

---

## [Help with Painting Program](https://discourse.processing.org/t/help-with-painting-program/15840)

<div class="topic-metadata">

**Author:** [@keeg23](https://discourse.processing.org/u/keeg23)\
**Replies:** 2\
**Last updated:** [November 26, 2019, 9:18pm UTC](https://discourse.processing.org/t/help-with-painting-program/15840 "2019-11-26T21:18:05Z")

</div>

When I use the save function it changes the background to red and erases what is painted, Wondering how I can save without it going away and background staying orange. Also need help with creating a way to have the other…

---

## [Python libraries in Processing Python mode?](https://discourse.processing.org/t/python-libraries-in-processing-python-mode/15842)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 2\
**Last updated:** [November 26, 2019, 7:46pm UTC](https://discourse.processing.org/t/python-libraries-in-processing-python-mode/15842 "2019-11-26T19:46:25Z")

</div>

Hi how can you add a Python library to Processing Python mode?

---

## [Duración de un elemento y secuencia](https://discourse.processing.org/t/duracion-de-un-elemento-y-secuencia/15646)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 9\
**Last updated:** [November 26, 2019, 12:40pm UTC](https://discourse.processing.org/t/duracion-de-un-elemento-y-secuencia/15646 "2019-11-26T12:40:37Z")

</div>

Estoy intentando que aparezca un texto en la pantalla durante 3 segundos y luego aparezca otro texto diferente. He conseguido programar el primer texto correctamente, pero no sé que función tengo que usar para desaparezc…

---

## [Google Sign-In and Processing Android](https://discourse.processing.org/t/google-sign-in-and-processing-android/15788)

<div class="topic-metadata">

**Author:** [@ssdesign](https://discourse.processing.org/u/ssdesign)\
**Replies:** 2\
**Last updated:** [November 26, 2019, 10:08am UTC](https://discourse.processing.org/t/google-sign-in-and-processing-android/15788 "2019-11-26T10:08:34Z")

</div>

Hi, How can I integrate Google Sign-In when building Processing Android app? I tried searching the forum but could not find any answer to it. Any tips or advice is appreciated. Thanks

---

## [Creating a simple map using a given map provider does not work in unfolding map](https://discourse.processing.org/t/creating-a-simple-map-using-a-given-map-provider-does-not-work-in-unfolding-map/15771)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 3\
**Last updated:** [November 26, 2019, 6:53am UTC](https://discourse.processing.org/t/creating-a-simple-map-using-a-given-map-provider-does-not-work-in-unfolding-map/15771 "2019-11-26T06:53:22Z")

</div>

/\* An application with a basic map.\*/ import de.fhpotsdam.unfolding.\*; import de.fhpotsdam.unfolding.core.\*; import de.fhpotsdam.unfolding.data.\*; import de.fhpotsdam.unfolding.events.\*; import de.fhpotsdam.unfolding.ge…

---

## [Kinect Typographic MIRROR!](https://discourse.processing.org/t/kinect-typographic-mirror/15825)

<div class="topic-metadata">

**Author:** [@madiMcD](https://discourse.processing.org/u/madiMcD)\
**Replies:** 1\
**Last updated:** [November 26, 2019, 5:16am UTC](https://discourse.processing.org/t/kinect-typographic-mirror/15825 "2019-11-26T05:16:26Z")

</div>

Hello!! I am at a block with my code, and I don’t know where to go from here. I am creating a mirror out of type for a current project, and I managed to do so following the Coding Train’s point cloud tutorial and substi…

---

## [Displaying console in exported executable output](https://discourse.processing.org/t/displaying-console-in-exported-executable-output/15816)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 1\
**Last updated:** [November 26, 2019, 4:08am UTC](https://discourse.processing.org/t/displaying-console-in-exported-executable-output/15816 "2019-11-26T04:08:17Z")

</div>

Hi, I have a python mode script that has no setup() or draw() functions which is fine as 99% of the time the output is not viewed. This script has been exported to a 32 bit executable running on Win 10 and runs well how…

---

## [Help with P5.js Project](https://discourse.processing.org/t/help-with-p5-js-project/15823)

<div class="topic-metadata">

**Author:** [@Sheikah](https://discourse.processing.org/u/Sheikah)\
**Replies:** 1\
**Last updated:** [November 26, 2019, 3:02am UTC](https://discourse.processing.org/t/help-with-p5-js-project/15823 "2019-11-26T03:02:21Z")

</div>

Hi, I’m new to coding and I’m struggling trying to get my code to do what I want it to. My idea was to have 4 different buttons that, when clicked, change the colour scheme of the composition and have a unique effect t…

---

## [Sometimes key returns capital letter](https://discourse.processing.org/t/sometimes-key-returns-capital-letter/15820)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 2\
**Last updated:** [November 26, 2019, 2:36am UTC](https://discourse.processing.org/t/sometimes-key-returns-capital-letter/15820 "2019-11-26T02:36:56Z")

</div>

Making a textbox, and using a = char(key); to return a key. Most of the time it works fine but sometimes it will randomly capitalize a letter, any idea what would cause this?

---

## [How to put a marker at a specific position using unfolding map?](https://discourse.processing.org/t/how-to-put-a-marker-at-a-specific-position-using-unfolding-map/15765)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 3\
**Last updated:** [November 25, 2019, 11:10pm UTC](https://discourse.processing.org/t/how-to-put-a-marker-at-a-specific-position-using-unfolding-map/15765 "2019-11-25T23:10:13Z")

</div>

Location center = new Location(64, 20); Integer zoom\_start = 9; AbstractMapProvider provider5; UnfoldingMap map; String provider5Attrib; String attrib; Float attribWidth; PImage clock; PImage calendar; int totalFrames…

---

## [Why this rectangle disappear?](https://discourse.processing.org/t/why-this-rectangle-disappear/15812)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 3\
**Last updated:** [November 25, 2019, 10:02pm UTC](https://discourse.processing.org/t/why-this-rectangle-disappear/15812 "2019-11-25T22:02:46Z")

</div>

void setup(){ size(1000,1000,P3D); } void draw(){ noStroke(); fill(0, 20); rect(0, 0, width, height); pushMatrix(); pushStyle(); translate(500, 500); rotate(PI/2 + PI/2); …

---

## [Making space for the future of p5.js](https://discourse.processing.org/t/making-space-for-the-future-of-p5-js/15806)

<div class="topic-metadata">

**Author:** [@lmccart](https://discourse.processing.org/u/lmccart)\
**Replies:** 1\
**Last updated:** [November 25, 2019, 9:55pm UTC](https://discourse.processing.org/t/making-space-for-the-future-of-p5-js/15806 "2019-11-25T21:55:08Z")

</div>

In January, p5.js will be making its 1.0 release! And after nearly 7 years, I’ll be leaving my role as project lead. Our goal is to transition the project to a rotating model of leadership. I have the deepest gratitude a…

---

## [Can I read data from another softwares database?](https://discourse.processing.org/t/can-i-read-data-from-another-softwares-database/15733)

<div class="topic-metadata">

**Author:** [@Teljemo](https://discourse.processing.org/u/Teljemo)\
**Replies:** 3\
**Last updated:** [November 25, 2019, 8:40pm UTC](https://discourse.processing.org/t/can-i-read-data-from-another-softwares-database/15733 "2019-11-25T20:40:26Z")

</div>

Hi! I recently found out and have been shown the potential of using processing to create small programs dealing with information like production times :blush: Now I wondered… I have a lot of data in a production planni…

---

## [USB Camera Capture on RaspberryPI](https://discourse.processing.org/t/usb-camera-capture-on-raspberrypi/15811)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [November 25, 2019, 7:43pm UTC](https://discourse.processing.org/t/usb-camera-capture-on-raspberrypi/15811 "2019-11-25T19:43:43Z")

</div>

Previously it was thought that you should use Gottfreid Haider GLVideo library on the RaspberryPI. However @kll has shown the latest beta release of the processing video2 library works on RaspberryPI. Here I can confirm …

---

## [Mouse inside a triangle checker](https://discourse.processing.org/t/mouse-inside-a-triangle-checker/15727)

<div class="topic-metadata">

**Author:** [@SimoneBatistini](https://discourse.processing.org/u/SimoneBatistini)\
**Replies:** 18\
**Last updated:** [November 25, 2019, 6:51pm UTC](https://discourse.processing.org/t/mouse-inside-a-triangle-checker/15727 "2019-11-25T18:51:40Z")

</div>

I’m trying to make a program that will detect if the mouse is inside a triangle or not. It has to be any type of triangle. My idea is taking a triangle ABC and the mouse point K and calculating the areas Aabc Aabk Aakc A…

---

## [Text input for choosing Colour](https://discourse.processing.org/t/text-input-for-choosing-colour/15772)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 2\
**Last updated:** [November 25, 2019, 7:16am UTC](https://discourse.processing.org/t/text-input-for-choosing-colour/15772 "2019-11-25T07:16:31Z")

</div>

Hi, I want to choose a colour by typing the hex (or the RGB) into a field. Is my rough sketch (see below) the way to go? Later, I will add a value for the Alpha to the string rather than type it into the text field and …

---

## [Println(color) gives strange color number](https://discourse.processing.org/t/println-color-gives-strange-color-number/15654)

<div class="topic-metadata">

**Author:** [@Ruchi](https://discourse.processing.org/u/Ruchi)\
**Replies:** 17\
**Last updated:** [November 25, 2019, 5:03pm UTC](https://discourse.processing.org/t/println-color-gives-strange-color-number/15654 "2019-11-25T17:03:19Z")

</div>

color c=color(255,1); println(c); console 33554431 color c=color(200,129); println(c); console -2117547832 color c=color(12,127); println(c); console 2131495948 The negative & positive sign is related to alpha & …

---

## [Trouble on array's \[COMPLICATED\]](https://discourse.processing.org/t/trouble-on-arrays-complicated/15496)

<div class="topic-metadata">

**Author:** [@IsaiahZ](https://discourse.processing.org/u/IsaiahZ)\
**Replies:** 27\
**Last updated:** [November 25, 2019, 3:39pm UTC](https://discourse.processing.org/t/trouble-on-arrays-complicated/15496 "2019-11-25T15:39:03Z")

</div>

I’m making a palette where when I press on a square it will change to whatever color I have selected from the palette. Right now I’m having trouble with two things: Making the array that when I select a circle or multi…

---

## [What does this error mean?](https://discourse.processing.org/t/what-does-this-error-mean/15794)

<div class="topic-metadata">

**Author:** [@24stevek](https://discourse.processing.org/u/24stevek)\
**Replies:** 8\
**Last updated:** [November 25, 2019, 1:19pm UTC](https://discourse.processing.org/t/what-does-this-error-mean/15794 "2019-11-25T13:19:01Z")

</div>

Hello! I am making a bar graph program and I need to get some numbers in an array. But an error pops out and I don’t get what it means. Can anybody tell me what this error is and what I have to do in order to fix it? T…

---

## [Android studio - Remove action bar](https://discourse.processing.org/t/android-studio-remove-action-bar/15760)

<div class="topic-metadata">

**Author:** [@soet\_za](https://discourse.processing.org/u/soet_za)\
**Replies:** 7\
**Last updated:** [November 25, 2019, 9:33am UTC](https://discourse.processing.org/t/android-studio-remove-action-bar/15760 "2019-11-25T09:33:59Z")

</div>

When I remove the action bar, only static images remain and updated images are not loaded and or updated in draw(). Any ideas?

---

## [How to get a number array in processing\_beginner](https://discourse.processing.org/t/how-to-get-a-number-array-in-processing-beginner/15759)

<div class="topic-metadata">

**Author:** [@24stevek](https://discourse.processing.org/u/24stevek)\
**Replies:** 7\
**Last updated:** [November 25, 2019, 7:00am UTC](https://discourse.processing.org/t/how-to-get-a-number-array-in-processing-beginner/15759 "2019-11-25T07:00:32Z")

</div>

Hi. I gave up on my electrostatic project and started a graph project. I need to receive an array to make a graph, but “ArrayIndexOutOfBoundsException: 1” keeps popping up. Can anyone tell me a way of getting a number a…

---

## [I need help with a problem](https://discourse.processing.org/t/i-need-help-with-a-problem/15687)

<div class="topic-metadata">

**Author:** [@Leyonad](https://discourse.processing.org/u/Leyonad)\
**Replies:** 2\
**Last updated:** [November 24, 2019, 8:09pm UTC](https://discourse.processing.org/t/i-need-help-with-a-problem/15687 "2019-11-24T20:09:15Z")

</div>

Hello, Does anyone know how to solve this problem? “Determine the letter with the largest gap. A gap is the number of letters that is different from the letter that is determined.” If someone could help me, I would b…

---

## [Rounded corners rectangle in webGL?](https://discourse.processing.org/t/rounded-corners-rectangle-in-webgl/15739)

<div class="topic-metadata">

**Author:** [@ishback](https://discourse.processing.org/u/ishback)\
**Replies:** 3\
**Last updated:** [November 24, 2019, 11:13pm UTC](https://discourse.processing.org/t/rounded-corners-rectangle-in-webgl/15739 "2019-11-24T23:13:35Z")

</div>

Is it possible to draw a rectangle with rounded corners in webGL? When I try it squares it. // setup let canvas = createCanvas(400, 400, WEBGL); // draw rectMode(CENTER); rotateX(radians(-rotationX)); rotateY(radia…

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

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