# Latest

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

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

**Page:** 484

---

## [Save/restore system attribute](https://discourse.processing.org/t/save-restore-system-attribute/11364)

<div class="topic-metadata">

**Author:** [@timdoodle](https://discourse.processing.org/u/timdoodle)\
**Replies:** 5\
**Last updated:** [May 22, 2019, 12:24pm UTC](https://discourse.processing.org/t/save-restore-system-attribute/11364 "2019-05-22T12:24:02Z")

</div>

I see how to set the values for many system attributes, but I don’t see how to obtain the current value of a system attribute. For example, one can set the color to fill shapes via fill(), but how does one determine the …

---

## [Creating a new Tool - ArtStation](https://discourse.processing.org/t/creating-a-new-tool-artstation/8347)

<div class="topic-metadata">

**Author:** [@justindwilder](https://discourse.processing.org/u/justindwilder)\
**Replies:** 16\
**Last updated:** [May 22, 2019, 10:51am UTC](https://discourse.processing.org/t/creating-a-new-tool-artstation/8347 "2019-05-22T10:51:40Z")

</div>

Hello, I have created a tool I would like to share with the community, but I built it as a stand alone Java application. It functions in that respect, but I think that it would be most useful as a tool that you could acc…

---

## [Processing client SSL access](https://discourse.processing.org/t/processing-client-ssl-access/11443)

<div class="topic-metadata">

**Author:** [@pacolux](https://discourse.processing.org/u/pacolux)\
**Replies:** 1\
**Last updated:** [May 22, 2019, 8:18am UTC](https://discourse.processing.org/t/processing-client-ssl-access/11443 "2019-05-22T08:18:00Z")

</div>

I cannot seem to find any examples of using the processing client to access an SSL protected website. Here is my code. It just returns a 400 error. Is the Processing default client capable of doing SSL or should I l…

---

## [How to pass arguments to new sketch in instance mode](https://discourse.processing.org/t/how-to-pass-arguments-to-new-sketch-in-instance-mode/11453)

<div class="topic-metadata">

**Author:** [@TimR](https://discourse.processing.org/u/TimR)\
**Replies:** 2\
**Last updated:** [May 22, 2019, 6:49am UTC](https://discourse.processing.org/t/how-to-pass-arguments-to-new-sketch-in-instance-mode/11453 "2019-05-22T06:49:27Z")

</div>

Hey all, Is there a way to pass an arguments array/object to a new sketch in instance mode? I would like to pass settings to the new sketch, like information on who is it’s parent element. But this could also be used t…

---

## [Can't seem to map latitude and longitude coordinates correctly in Processing 3](https://discourse.processing.org/t/cant-seem-to-map-latitude-and-longitude-coordinates-correctly-in-processing-3/734)

<div class="topic-metadata">

**Author:** [@bindaeduk](https://discourse.processing.org/u/bindaeduk)\
**Replies:** 9\
**Last updated:** [May 22, 2019, 6:21am UTC](https://discourse.processing.org/t/cant-seem-to-map-latitude-and-longitude-coordinates-correctly-in-processing-3/734 "2019-05-22T06:21:25Z")

</div>

Hi there, I’m trying to make a very basic Processing sketch, where I map out the latitude and longitude points that my watch tracks on my bike rides. I’m able to parse the XML data from the location source, and I’ve se…

---

## [Libraries | SVG Export on IntelliJ IDEA](https://discourse.processing.org/t/libraries-svg-export-on-intellij-idea/11410)

<div class="topic-metadata">

**Author:** [@Bizkit\_j](https://discourse.processing.org/u/Bizkit_j)\
**Replies:** 3\
**Last updated:** [May 22, 2019, 12:47am UTC](https://discourse.processing.org/t/libraries-svg-export-on-intellij-idea/11410 "2019-05-22T00:47:00Z")

</div>

Hello processing community. before I start, here is my environment: IntelliJ IDEA 2019.1 (Community Edition) Build #IC-191.6183.87, built on March 27, 2019 JRE: 1.8.0\_202-release-1483-b39 amd64 JVM: OpenJDK 64-Bit Serv…

---

## [Rotate and translate](https://discourse.processing.org/t/rotate-and-translate/11392)

<div class="topic-metadata">

**Author:** [@marcholman23](https://discourse.processing.org/u/marcholman23)\
**Replies:** 6\
**Last updated:** [May 21, 2019, 7:58pm UTC](https://discourse.processing.org/t/rotate-and-translate/11392 "2019-05-21T19:58:26Z")

</div>

Hi, I am working on learning how to rotate an image to follow the mouse using a formula from Keith Peters HTML5 Animation. I am curious why the following code does not rotate the image completely. It seems to only swi…

---

## [How loop 2 diferent images](https://discourse.processing.org/t/how-loop-2-diferent-images/11470)

<div class="topic-metadata">

**Author:** [@johnpt](https://discourse.processing.org/u/johnpt)\
**Replies:** 11\
**Last updated:** [May 21, 2019, 7:08pm UTC](https://discourse.processing.org/t/how-loop-2-diferent-images/11470 "2019-05-21T19:08:34Z")

</div>

Hey guys. I’m a student and I have a processing class. I have to do a game to pass. I just started and I can’t make one of the png image moving. So the clouds are moving to the right side, and I want the airplane to co…

---

## [Factal trees grow as mousePressed](https://discourse.processing.org/t/factal-trees-grow-as-mousepressed/11089)

<div class="topic-metadata">

**Author:** [@youyou0032](https://discourse.processing.org/u/youyou0032)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 3:47pm UTC](https://discourse.processing.org/t/factal-trees-grow-as-mousepressed/11089 "2019-05-21T15:47:51Z")

</div>

Hi Everyone I am a beginner in coding and I am working on my first official project. I followed the Coding challenge #14 Fractal tree. It works and very well. I am very happy. And then, I want to change the growth of …

---

## [Video as gl texture setup?](https://discourse.processing.org/t/video-as-gl-texture-setup/11427)

<div class="topic-metadata">

**Author:** [@jedierikb](https://discourse.processing.org/u/jedierikb)\
**Replies:** 4\
**Last updated:** [May 21, 2019, 12:28pm UTC](https://discourse.processing.org/t/video-as-gl-texture-setup/11427 "2019-05-21T12:28:41Z")

</div>

Trying to get a video as a gl texture: https://codepen.io/jedierikb/pen/MdvqGp Any suggestions what steps I missed to get the video to appear as a texture? Much appreciated, thanks!

---

## [How to get atributes from sketch it's parent element](https://discourse.processing.org/t/how-to-get-atributes-from-sketch-its-parent-element/11452)

<div class="topic-metadata">

**Author:** [@TimR](https://discourse.processing.org/u/TimR)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 7:34am UTC](https://discourse.processing.org/t/how-to-get-atributes-from-sketch-its-parent-element/11452 "2019-05-21T07:34:27Z")

</div>

I’ve made a P5 sketch in instance mode. Now, I wanted to get to know some of the settings from it’s parent element. Like dimensions. For this I thought a good starting point would be to be able to know who is it’s paren…

---

## [How do I load images from and array of URLs?](https://discourse.processing.org/t/how-do-i-load-images-from-and-array-of-urls/11435)

<div class="topic-metadata">

**Author:** [@Artie\_veirkant\_sux](https://discourse.processing.org/u/Artie_veirkant_sux)\
**Replies:** 5\
**Last updated:** [May 21, 2019, 5:59am UTC](https://discourse.processing.org/t/how-do-i-load-images-from-and-array-of-urls/11435 "2019-05-21T05:59:51Z")

</div>

Hey all, Snatching URLs from RSS, I’ve been able to populate an array of links; ran into some issues loading the images. Trying to use that array outside of its class has been problematic, and I don’t know where to plac…

---

## [Error on loadJSON](https://discourse.processing.org/t/error-on-loadjson/11439)

<div class="topic-metadata">

**Author:** [@thealex23ro](https://discourse.processing.org/u/thealex23ro)\
**Replies:** 9\
**Last updated:** [May 21, 2019, 2:33am UTC](https://discourse.processing.org/t/error-on-loadjson/11439 "2019-05-21T02:33:23Z")

</div>

I’m attempting to save some data but i’m getting the following error: XML Parsing Error: syntax error Location: file:///path/JS/Domino/data/test.json Line Number 1, Column 1: (there’s nothing after de colon) I tried…

---

## [Convert to array; then variable i does not exist error message](https://discourse.processing.org/t/convert-to-array-then-variable-i-does-not-exist-error-message/11426)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 13\
**Last updated:** [May 21, 2019, 2:22am UTC](https://discourse.processing.org/t/convert-to-array-then-variable-i-does-not-exist-error-message/11426 "2019-05-21T02:22:17Z")

</div>

I converted this from a single instance of each object to implement 2 arrays of multiple ball objects + donut objects. I get the error message the variable i does not exist. Both arrays have been initialized in setup()…

---

## [Custom Text Function](https://discourse.processing.org/t/custom-text-function/11444)

<div class="topic-metadata">

**Author:** [@MrPyro](https://discourse.processing.org/u/MrPyro)\
**Replies:** 1\
**Last updated:** [May 21, 2019, 1:30am UTC](https://discourse.processing.org/t/custom-text-function/11444 "2019-05-21T01:30:30Z")

</div>

Created a custom text function that fills text depending on the colour behind it. Currently works best when drawing on top of either white or black (other colours work but not as well). (source) https://github.com/Mr-…

---

## [Mysql insert speed problem](https://discourse.processing.org/t/mysql-insert-speed-problem/9503)

<div class="topic-metadata">

**Author:** [@SandCrocus](https://discourse.processing.org/u/SandCrocus)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 1:03am UTC](https://discourse.processing.org/t/mysql-insert-speed-problem/9503 "2019-05-21T01:03:56Z")

</div>

I used the de.bezier.data.sql. and processing.serial libary to get data from Arduino then save to MySql database. The transmission speed I get from Arduino is 0.02 second per record, however, I can only insert 10 records…

---

## [Detecting all the shapes formed by intersecting lines](https://discourse.processing.org/t/detecting-all-the-shapes-formed-by-intersecting-lines/11372)

<div class="topic-metadata">

**Author:** [@Raums](https://discourse.processing.org/u/Raums)\
**Replies:** 4\
**Last updated:** [May 20, 2019, 10:31pm UTC](https://discourse.processing.org/t/detecting-all-the-shapes-formed-by-intersecting-lines/11372 "2019-05-20T22:31:43Z")

</div>

Hi All, I have a series of overlapping lines forming multiple closed areas. I want to take all these lines and generate separate shapes for each area they form. What would be the best way to go about this? Below is an e…

---

## [Video Library Capture doesn't work(ugly orange)](https://discourse.processing.org/t/video-library-capture-doesnt-work-ugly-orange/11387)

<div class="topic-metadata">

**Author:** [@EinsMalte](https://discourse.processing.org/u/EinsMalte)\
**Replies:** 4\
**Last updated:** [May 20, 2019, 8:51pm UTC](https://discourse.processing.org/t/video-library-capture-doesnt-work-ugly-orange/11387 "2019-05-20T20:51:03Z")

</div>

Greetings, i’m trying using the Capture feature of the video library, but the output is just a ugly orange(RGB: 255.0,128.0,64.0). And this is the complete output. And there isn’t any error or somethig like that. And i…

---

## [Two windows with 'one draw()'](https://discourse.processing.org/t/two-windows-with-one-draw/11388)

<div class="topic-metadata">

**Author:** [@theo](https://discourse.processing.org/u/theo)\
**Replies:** 4\
**Last updated:** [May 20, 2019, 8:12pm UTC](https://discourse.processing.org/t/two-windows-with-one-draw/11388 "2019-05-20T20:12:36Z")

</div>

Hello, I managed to create a second window with PApplet and runSketch (even if I haven’t understood every thing) but the draw() of the first and second window don’t seem to be linked: they draw whenever they want (if th…

---

## [Processing's annotation processing is not consistent](https://discourse.processing.org/t/processings-annotation-processing-is-not-consistent/11354)

<div class="topic-metadata">

**Author:** [@macbrayne](https://discourse.processing.org/u/macbrayne)\
**Replies:** 1\
**Last updated:** [May 20, 2019, 7:16pm UTC](https://discourse.processing.org/t/processings-annotation-processing-is-not-consistent/11354 "2019-05-20T19:16:49Z")

</div>

Hi there, Processing (v3.5.3 on Windows 10) does not warn when using @Deprecated methods however a program can’t run if a @Override annotation doesn’t actually override anything. Behavior when using @Override and nothi…

---

## [Is it possible to trim a curveVertex() shape?](https://discourse.processing.org/t/is-it-possible-to-trim-a-curvevertex-shape/11314)

<div class="topic-metadata">

**Author:** [@nardove](https://discourse.processing.org/u/nardove)\
**Replies:** 9\
**Last updated:** [May 20, 2019, 5:40pm UTC](https://discourse.processing.org/t/is-it-possible-to-trim-a-curvevertex-shape/11314 "2019-05-20T17:40:02Z")

</div>

Hi, I’m drawing a curveVertex shape by adding a point(x,y) at different intervals of time, this points are stored in an array, the array is use to draw the curve. When my object goes to the edge of the screen, I render…

---

## [Map function worked in Processing 2 and early 3.. But broke in 3.5.3. Need guidance](https://discourse.processing.org/t/map-function-worked-in-processing-2-and-early-3-but-broke-in-3-5-3-need-guidance/11371)

<div class="topic-metadata">

**Author:** [@ItchyBrain](https://discourse.processing.org/u/ItchyBrain)\
**Replies:** 8\
**Last updated:** [May 20, 2019, 4:22pm UTC](https://discourse.processing.org/t/map-function-worked-in-processing-2-and-early-3-but-broke-in-3-5-3-need-guidance/11371 "2019-05-20T16:22:27Z")

</div>

Hi. This exact code worked in Processing versions 2 and and earlier version of 3. I upgraded to 3.5.3 . Since upgrading my HP laptop to Processing 3.5.3 I now get the error: (note: I have another laptop still running P…

---

## [2 Questions about meter lib](https://discourse.processing.org/t/2-questions-about-meter-lib/11329)

<div class="topic-metadata">

**Author:** [@lve0200](https://discourse.processing.org/u/lve0200)\
**Replies:** 5\
**Last updated:** [May 20, 2019, 1:36pm UTC](https://discourse.processing.org/t/2-questions-about-meter-lib/11329 "2019-05-20T13:36:04Z")

</div>

my 1st question, meter draws meters on a white background into a picture, hence background() and fill() has no effect. Only tint() works, but shades the entire picture, not only the background. However I would like to h…

---

## [mouseWheel event.getCount OS difference](https://discourse.processing.org/t/mousewheel-event-getcount-os-difference/11378)

<div class="topic-metadata">

**Author:** [@mala](https://discourse.processing.org/u/mala)\
**Replies:** 11\
**Last updated:** [May 20, 2019, 1:10pm UTC](https://discourse.processing.org/t/mousewheel-event-getcount-os-difference/11378 "2019-05-20T13:10:45Z")

</div>

Has anyone any insight into why getCount on the mousewheel returns differently on OSX(10.14) to Windows(10) ? On OSX the code below will return a range from -12 to 12 dependent on how far the wheel is scrolled. On Wind…

---

## [Ping Pong Arduino program](https://discourse.processing.org/t/ping-pong-arduino-program/11333)

<div class="topic-metadata">

**Author:** [@S.L.C.S](https://discourse.processing.org/u/S.L.C.S)\
**Replies:** 3\
**Last updated:** [May 20, 2019, 12:20pm UTC](https://discourse.processing.org/t/ping-pong-arduino-program/11333 "2019-05-20T12:20:24Z")

</div>

So i was asked to make an Arduino program which simulates ping pong on your LEDs. Each LED should light up in succession, then the lit LED should “bounce back” in the opposite direction when the last LED is reached. This…

---

## [Alpha transparency causing crazy rainbow glitches - Galaxy S8](https://discourse.processing.org/t/alpha-transparency-causing-crazy-rainbow-glitches-galaxy-s8/11383)

<div class="topic-metadata">

**Author:** [@dsvid](https://discourse.processing.org/u/dsvid)\
**Replies:** 3\
**Last updated:** [May 20, 2019, 9:02am UTC](https://discourse.processing.org/t/alpha-transparency-causing-crazy-rainbow-glitches-galaxy-s8/11383 "2019-05-20T09:02:18Z")

</div>

Hi everyone, I’m trying to apply an alpha mask to an image in Processing for Android simply using the .mask method, e.g. img.mask(alpha) and I’m getting seriously wild glitches. I also tried compiling the basic Alphamas…

---

## [G4P closing main window](https://discourse.processing.org/t/g4p-closing-main-window/11411)

<div class="topic-metadata">

**Author:** [@azsdx123](https://discourse.processing.org/u/azsdx123)\
**Replies:** 0\
**Last updated:** [May 20, 2019, 8:10am UTC](https://discourse.processing.org/t/g4p-closing-main-window/11411 "2019-05-20T08:10:41Z")

</div>

Hi i was wondering how to close the main window when pressing a button.

---

## [Android VR Cardboard](https://discourse.processing.org/t/android-vr-cardboard/11098)

<div class="topic-metadata">

**Author:** [@JohnM](https://discourse.processing.org/u/JohnM)\
**Replies:** 1\
**Last updated:** [May 20, 2019, 6:55am UTC](https://discourse.processing.org/t/android-vr-cardboard/11098 "2019-05-20T06:55:59Z")

</div>

Hello, I need some help. I want to display the picture (so she was always before my eyes, even when rotated). When using the background(img) function, I just have error: handleDraw() called before finishing My code: im…

---

## [Just another HickUp, porting to AS](https://discourse.processing.org/t/just-another-hickup-porting-to-as/11361)

<div class="topic-metadata">

**Author:** [@lve0200](https://discourse.processing.org/u/lve0200)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 5:51am UTC](https://discourse.processing.org/t/just-another-hickup-porting-to-as/11361 "2019-05-20T05:51:47Z")

</div>

Hi, my App is organised in 10 tabs, which are in Processing logically seen as 1 big source file. I put the tab w/ setup() and draw() per cut&paste into the AS main activity, but what about all the other tabs? How can I …

---

## [Processing and pcduino3b problem](https://discourse.processing.org/t/processing-and-pcduino3b-problem/11269)

<div class="topic-metadata">

**Author:** [@ben](https://discourse.processing.org/u/ben)\
**Replies:** 5\
**Last updated:** [May 20, 2019, 4:55am UTC](https://discourse.processing.org/t/processing-and-pcduino3b-problem/11269 "2019-05-20T04:55:24Z")

</div>

hello! I have a problem to use processing, When i run it, the result is : If you know the issue, thanks a lot ! Caught handled GLException: EGLGLXDrawableFactory - Could not initialize shared resources for EGLGraphic…

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

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