# Processing

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

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

**Page:** 307

---

## [\[Processing 3\] Moving through a map bigger than the screen](https://discourse.processing.org/t/processing-3-moving-through-a-map-bigger-than-the-screen/10393)

<div class="topic-metadata">

**Author:** [@whedz](https://discourse.processing.org/u/whedz)\
**Replies:** 6\
**Last updated:** [April 20, 2019, 12:35am UTC](https://discourse.processing.org/t/processing-3-moving-through-a-map-bigger-than-the-screen/10393 "2019-04-20T00:35:27Z")

</div>

Hello, I’m currently trying to make a arcade video game, with a vertical scrolling. I use eclipse and processing 3 as a library import into java classes and I don’t face any issue about it. I now get two variables for …

---

## [Questions about code that involves curveVertex](https://discourse.processing.org/t/questions-about-code-that-involves-curvevertex/10405)

<div class="topic-metadata">

**Author:** [@Mikalaen](https://discourse.processing.org/u/Mikalaen)\
**Replies:** 2\
**Last updated:** [April 19, 2019, 11:44pm UTC](https://discourse.processing.org/t/questions-about-code-that-involves-curvevertex/10405 "2019-04-19T23:44:18Z")

</div>

Hi guys! I need some help here. I got a code sent to me by my teacher, so that i could “evolve” on it, but my problem is that i don’t understand the code and what the different factors and statements do?? I commented o…

---

## [Reading from multiple textfields and saving into .txt file](https://discourse.processing.org/t/reading-from-multiple-textfields-and-saving-into-txt-file/10372)

<div class="topic-metadata">

**Author:** [@AwreetusAwrightus](https://discourse.processing.org/u/AwreetusAwrightus)\
**Replies:** 11\
**Last updated:** [April 19, 2019, 7:56pm UTC](https://discourse.processing.org/t/reading-from-multiple-textfields-and-saving-into-txt-file/10372 "2019-04-19T19:56:31Z")

</div>

Hello, it’s me once again! I’ve made some progress into my code, but now I’m thinking a little bit ahead and decided to share some questions with the community (ask for help, actually) I’m prompting the user with a ser…

---

## [Can't create a PShape in class constructor](https://discourse.processing.org/t/cant-create-a-pshape-in-class-constructor/10463)

<div class="topic-metadata">

**Author:** [@cyanblue](https://discourse.processing.org/u/cyanblue)\
**Replies:** 2\
**Last updated:** [April 19, 2019, 6:18pm UTC](https://discourse.processing.org/t/cant-create-a-pshape-in-class-constructor/10463 "2019-04-19T18:18:36Z")

</div>

I’ve created a “Star” class that allows me to create a star shape given inner and outer radii and number of points. I’ve written a load of code in the constructor that works out the vertices of the star, and saves each t…

---

## [Variable/interactive beginShape() kind?](https://discourse.processing.org/t/variable-interactive-beginshape-kind/10354)

<div class="topic-metadata">

**Author:** [@cyanblue](https://discourse.processing.org/u/cyanblue)\
**Replies:** 3\
**Last updated:** [April 19, 2019, 5:35pm UTC](https://discourse.processing.org/t/variable-interactive-beginshape-kind/10354 "2019-04-19T17:35:49Z")

</div>

I have a set of vertices I’m drawing within beginShape(), and I wanted to cycle through the different options each time the mouse is clicked i.e. beginShape(TRIANGLES), beginShape(POINTS), beginShape(LINES) etc. I’ve ma…

---

## [Unregcognized app bt Windows when export to application](https://discourse.processing.org/t/unregcognized-app-bt-windows-when-export-to-application/10352)

<div class="topic-metadata">

**Author:** [@Mixitsoft](https://discourse.processing.org/u/Mixitsoft)\
**Replies:** 2\
**Last updated:** [April 19, 2019, 5:23pm UTC](https://discourse.processing.org/t/unregcognized-app-bt-windows-when-export-to-application/10352 "2019-04-19T17:23:10Z")

</div>

How to fix Unregcognized app bt Windows when export to application issue? There’s also unknown publisher when starting app. Thanks in advance. I know just press More info and run it but some user dont know this I wa…

---

## [Exclude child from PShape to create mask is it possible?](https://discourse.processing.org/t/exclude-child-from-pshape-to-create-mask-is-it-possible/10425)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 5\
**Last updated:** [April 19, 2019, 9:30am UTC](https://discourse.processing.org/t/exclude-child-from-pshape-to-create-mask-is-it-possible/10425 "2019-04-19T09:30:05Z")

</div>

I try to create a donnut with PShape, but this mission is more difficult than I think, I I don’t find a methode like pshape.exclude(group\_a) or pshape.remove(group\_a) or something like that there is a way do to that? PV…

---

## [General Advice on HTTP GET Request](https://discourse.processing.org/t/general-advice-on-http-get-request/10175)

<div class="topic-metadata">

**Author:** [@jmorri36](https://discourse.processing.org/u/jmorri36)\
**Replies:** 11\
**Last updated:** [April 19, 2019, 7:27am UTC](https://discourse.processing.org/t/general-advice-on-http-get-request/10175 "2019-04-19T07:27:28Z")

</div>

I have about 50 get requests to run at a the same time every time I iterate through the draw loop, and I’m trying to speed things up when connecting to them. One thing that takes about 100 milliseconds is the “c = new C…

---

## [Unclick and it goes back as it started -- a beginner needs help](https://discourse.processing.org/t/unclick-and-it-goes-back-as-it-started-a-beginner-needs-help/10448)

<div class="topic-metadata">

**Author:** [@dianap](https://discourse.processing.org/u/dianap)\
**Replies:** 3\
**Last updated:** [April 19, 2019, 5:11am UTC](https://discourse.processing.org/t/unclick-and-it-goes-back-as-it-started-a-beginner-needs-help/10448 "2019-04-19T05:11:13Z")

</div>

I´ve literally been an hour into Processing and I´ve made this void setup(){ size(500,400); background(#FA9E8D);} void draw(){ stroke(#FAD5BD); fill(#FAD5BD); ellipse(250, 200, 350, 350); stroke(#FA5D5D); fill(#FA5D…

---

## [Movie not available()](https://discourse.processing.org/t/movie-not-available/8171)

<div class="topic-metadata">

**Author:** [@stirman](https://discourse.processing.org/u/stirman)\
**Replies:** 4\
**Last updated:** [April 19, 2019, 3:39am UTC](https://discourse.processing.org/t/movie-not-available/8171 "2019-04-19T03:39:51Z")

</div>

Any idea why this movie won’t play? available() continually returns false. Seems like I’m missing something obvious, but can’t figure it out! AD1.mov is in the “data” folder. import processing.video.\*; Movie AD1; void …

---

## [Changing Image transparency](https://discourse.processing.org/t/changing-image-transparency/10439)

<div class="topic-metadata">

**Author:** [@wom1998](https://discourse.processing.org/u/wom1998)\
**Replies:** 1\
**Last updated:** [April 18, 2019, 9:57pm UTC](https://discourse.processing.org/t/changing-image-transparency/10439 "2019-04-18T21:57:24Z")

</div>

I’m working on a project where image transparency is scaled with the viewers’ proximity to an Arduino ultrasonic sensor. I’ve been following a tutorial that scales image size with proximity. Here is my code so far. Ardu…

---

## [Now it stops spinning but it’s in the center haha now can i do to spinning =/](https://discourse.processing.org/t/now-it-stops-spinning-but-it-s-in-the-center-haha-now-can-i-do-to-spinning/10347)

<div class="topic-metadata">

**Author:** [@fwtini](https://discourse.processing.org/u/fwtini)\
**Replies:** 0\
**Last updated:** [April 16, 2019, 9:44am UTC](https://discourse.processing.org/t/now-it-stops-spinning-but-it-s-in-the-center-haha-now-can-i-do-to-spinning/10347 "2019-04-16T09:44:41Z")

</div>

Now it stops spinning but it’s in the center haha now can i do to spinning =/ PFont myFont; String s1= ("OBECALP PHARMACY "); float angleSpeed= TWO\_PI/s1.length(); float letterX,letterY; int i,cntX,cntY; int radius =26…

---

## [Hallo! Can you explain me why my text doesn't spinning?](https://discourse.processing.org/t/hallo-can-you-explain-me-why-my-text-doesnt-spinning/10288)

<div class="topic-metadata">

**Author:** [@fwtini](https://discourse.processing.org/u/fwtini)\
**Replies:** 22\
**Last updated:** [April 18, 2019, 6:17pm UTC](https://discourse.processing.org/t/hallo-can-you-explain-me-why-my-text-doesnt-spinning/10288 "2019-04-18T18:17:37Z")

</div>

PFont myFont; String s1= ("OBECALP PHARMACY "); float angleSpeed= TWO\_PI/s1.length(); float letterX,letterY; int i,cntX,cntY; int radius =260; float z=random(TWO\_PI); float x; float y; //float rotX,rotY,rotZ; float r…

---

## [How to draw a static PointCloud from Kinect?](https://discourse.processing.org/t/how-to-draw-a-static-pointcloud-from-kinect/10401)

<div class="topic-metadata">

**Author:** [@zly1994411](https://discourse.processing.org/u/zly1994411)\
**Replies:** 2\
**Last updated:** [April 18, 2019, 4:53pm UTC](https://discourse.processing.org/t/how-to-draw-a-static-pointcloud-from-kinect/10401 "2019-04-18T16:53:42Z")

</div>

Hey guys, I’m working on a project that use Kinect. My idea is when event happened, the canvas will draw the PointCloud at that moment. I was trying to make an object , and when mouse clicked, pass the current depth arra…

---

## [Processing Freezes when it runs through a specific if statement](https://discourse.processing.org/t/processing-freezes-when-it-runs-through-a-specific-if-statement/10423)

<div class="topic-metadata">

**Author:** [@Vynarel](https://discourse.processing.org/u/Vynarel)\
**Replies:** 9\
**Last updated:** [April 18, 2019, 3:50pm UTC](https://discourse.processing.org/t/processing-freezes-when-it-runs-through-a-specific-if-statement/10423 "2019-04-18T15:50:51Z")

</div>

Hey there, I’m new to Processing and have been trying to do an assignment for it about swatting flies, I have the fly swatter and a fly appearing on the screen and managed to get the fly swatter to follow my mouse positi…

---

## [Nervous System OBJ Export](https://discourse.processing.org/t/nervous-system-obj-export/10286)

<div class="topic-metadata">

**Author:** [@kirstee\_baxt](https://discourse.processing.org/u/kirstee_baxt)\
**Replies:** 6\
**Last updated:** [April 18, 2019, 3:38pm UTC](https://discourse.processing.org/t/nervous-system-obj-export/10286 "2019-04-18T15:38:17Z")

</div>

Hello! Wondering if anyone is knowledgeable around using nervoussystem library for obj export from Processing. I used it on one file and it worked - now trying it on a different file and it’s creating the obj, says there…

---

## [Constructor Argument for COLOR ~ Dan Shiffman book ~ exercise 8-6](https://discourse.processing.org/t/constructor-argument-for-color-dan-shiffman-book-exercise-8-6/10415)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 2\
**Last updated:** [April 18, 2019, 2:51pm UTC](https://discourse.processing.org/t/constructor-argument-for-color-dan-shiffman-book-exercise-8-6/10415 "2019-04-18T14:51:04Z")

</div>

I want the eyes to appear in RED in one iteration of the Zoog object, and to appear GREEN in the second iteration of the Zoog object. However the eyes are currently appearing BLACK in both iterations. What have I done …

---

## [Trouble with saving to Table](https://discourse.processing.org/t/trouble-with-saving-to-table/10150)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 9\
**Last updated:** [April 18, 2019, 8:07am UTC](https://discourse.processing.org/t/trouble-with-saving-to-table/10150 "2019-04-18T08:07:33Z")

</div>

I am trying to make an interface that would save grades for students. Then the data is saved to CSV. In the first column I have the student ID (SID)- next to it are the grades. What I wish for is that if I go back to…

---

## [Conversion from a "public String" to a normal String](https://discourse.processing.org/t/conversion-from-a-public-string-to-a-normal-string/10355)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 7\
**Last updated:** [April 18, 2019, 5:52am UTC](https://discourse.processing.org/t/conversion-from-a-public-string-to-a-normal-string/10355 "2019-04-18T05:52:04Z")

</div>

I am obtaining a String from the apsync.\*; library. It is very reliable but I have to declare it as a public String. Later I am trying to compare it to a local string and get a True or false. Here is the code simpl…

---

## [Writing code using Processing 3.x on a Samsung Tab S4](https://discourse.processing.org/t/writing-code-using-processing-3-x-on-a-samsung-tab-s4/10228)

<div class="topic-metadata">

**Author:** [@Keif3r](https://discourse.processing.org/u/Keif3r)\
**Replies:** 2\
**Last updated:** [April 18, 2019, 1:04am UTC](https://discourse.processing.org/t/writing-code-using-processing-3-x-on-a-samsung-tab-s4/10228 "2019-04-18T01:04:30Z")

</div>

Hi, Sorry if this is in the wrong spot, I have been trying to work out an easy way to write code on a Samsung Tab S4 in a Processing environment. I normally use my PC at home for most of it, but sometimes I have time to…

---

## [Problem with loadJSONArray example](https://discourse.processing.org/t/problem-with-loadjsonarray-example/10207)

<div class="topic-metadata">

**Author:** [@wprisk](https://discourse.processing.org/u/wprisk)\
**Replies:** 13\
**Last updated:** [April 18, 2019, 12:05am UTC](https://discourse.processing.org/t/problem-with-loadjsonarray-example/10207 "2019-04-18T00:05:29Z")

</div>

Hello, I am trying to run the simple example for “loadJSONArray” found here: https://processing.org/reference/loadJSONArray\_.html When I do so (by copying and pasting into a Processing sketch, and also creating the da…

---

## [Array expand doesn't always work?](https://discourse.processing.org/t/array-expand-doesnt-always-work/10410)

<div class="topic-metadata">

**Author:** [@RichardDL](https://discourse.processing.org/u/RichardDL)\
**Replies:** 2\
**Last updated:** [April 17, 2019, 9:05pm UTC](https://discourse.processing.org/t/array-expand-doesnt-always-work/10410 "2019-04-17T21:05:47Z")

</div>

The example given for ‘expand’ works alright, but the code below is the example for loadStrings, with expand added. Why doesn’t it expand the array? String\[\] lines = loadStrings("list.txt"); println("there are " + line…

---

## [Panorama warping cylinder](https://discourse.processing.org/t/panorama-warping-cylinder/9131)

<div class="topic-metadata">

**Author:** [@janebeta7](https://discourse.processing.org/u/janebeta7)\
**Replies:** 18\
**Last updated:** [April 17, 2019, 6:36pm UTC](https://discourse.processing.org/t/panorama-warping-cylinder/9131 "2019-04-17T18:36:29Z")

</div>

Hello, i would like to create this warp (source: http://paulbourke.net/stereographics/cylinder/) i Just found a way to use opencv but i am not super clear do you know any way to create in real time the cylinder w…

---

## [Text Rain Processing](https://discourse.processing.org/t/text-rain-processing/10306)

<div class="topic-metadata">

**Author:** [@nothingnew](https://discourse.processing.org/u/nothingnew)\
**Replies:** 7\
**Last updated:** [April 17, 2019, 6:21pm UTC](https://discourse.processing.org/t/text-rain-processing/10306 "2019-04-17T18:21:35Z")

</div>

hello! i am creating random alphabet rain at this moment, but it seems like continuously same position with same alphabets. I want it to be all random! is there any solution for this problem? thanks! String \[\] data =…

---

## [Processing will not open past logo screen](https://discourse.processing.org/t/processing-will-not-open-past-logo-screen/10394)

<div class="topic-metadata">

**Author:** [@thekeets](https://discourse.processing.org/u/thekeets)\
**Replies:** 1\
**Last updated:** [April 17, 2019, 3:21pm UTC](https://discourse.processing.org/t/processing-will-not-open-past-logo-screen/10394 "2019-04-17T15:21:34Z")

</div>

Description As soon as I unzip and try to open Processing, I only get to see the startup logo window for about 3 seconds and then nothing else happens. It dissappears and no app opens. Expected Behavior I’m not quite …

---

## [Why I cannot run code NullPointerException](https://discourse.processing.org/t/why-i-cannot-run-code-nullpointerexception/10378)

<div class="topic-metadata">

**Author:** [@warayutsitha2](https://discourse.processing.org/u/warayutsitha2)\
**Replies:** 8\
**Last updated:** [April 17, 2019, 3:20pm UTC](https://discourse.processing.org/t/why-i-cannot-run-code-nullpointerexception/10378 "2019-04-17T15:20:29Z")

</div>

import processing.serial.\*; Serial myPort; String inBuffer; PImage img; String\[\] txt = split(inBuffer,' '); void setup(){ myPort = new Serial(this, "COM9", 115200); myPort.bufferUntil('\\n'); } void draw(){ \*…

---

## [Sequence question](https://discourse.processing.org/t/sequence-question/10365)

<div class="topic-metadata">

**Author:** [@horsemen](https://discourse.processing.org/u/horsemen)\
**Replies:** 3\
**Last updated:** [April 17, 2019, 12:31pm UTC](https://discourse.processing.org/t/sequence-question/10365 "2019-04-17T12:31:58Z")

</div>

The question is the sequence starts with three ones and then every number after that is the sum of the three numbers that precede it. For example: 1 1 1 3 = 1 + 1 + 1 5 = 3 + 1 + 1 9 = 5 + 3 + 1 17 = 9 + 5 + 3 3…

---

## [Import or "translate" a FORTAN code in Processing](https://discourse.processing.org/t/import-or-translate-a-fortan-code-in-processing/9997)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 7\
**Last updated:** [April 16, 2019, 9:24am UTC](https://discourse.processing.org/t/import-or-translate-a-fortan-code-in-processing/9997 "2019-04-16T09:24:27Z")

</div>

Hi everyones, I’m very interested with the synchronisation of globally coupled oscillators due to wonderful pattern it can make. So, I would like to use the periodic signal of 5 oscillators and see how they synchronise…

---

## [How can I make my circles move slightly?](https://discourse.processing.org/t/how-can-i-make-my-circles-move-slightly/10301)

<div class="topic-metadata">

**Author:** [@dana](https://discourse.processing.org/u/dana)\
**Replies:** 3\
**Last updated:** [April 16, 2019, 9:27pm UTC](https://discourse.processing.org/t/how-can-i-make-my-circles-move-slightly/10301 "2019-04-16T21:27:42Z")

</div>

Okay so I found some code and I’ll like to change it to do something else. Right now there’s a class of circles that appear at random places on the screen, and when the mouse hovers over the screen, the colours of the ci…

---

## [How can I convert local time with long & lat into universal time?](https://discourse.processing.org/t/how-can-i-convert-local-time-with-long-lat-into-universal-time/10181)

<div class="topic-metadata">

**Author:** [@EvilDuck](https://discourse.processing.org/u/EvilDuck)\
**Replies:** 5\
**Last updated:** [April 16, 2019, 5:05pm UTC](https://discourse.processing.org/t/how-can-i-convert-local-time-with-long-lat-into-universal-time/10181 "2019-04-16T17:05:25Z")

</div>

How can I convert local time (with long & lat) into universal time, is there maybe a library for this? The problem seems be be very difficult to solve. I am searching the interwebs now for two days already but to no ava…

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

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