# Latest

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

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

**Page:** 458

---

## [Ice Terrain, a short film](https://discourse.processing.org/t/ice-terrain-a-short-film/13228)

<div class="topic-metadata">

**Author:** [@swmarks](https://discourse.processing.org/u/swmarks)\
**Replies:** 2\
**Last updated:** [August 8, 2019, 6:23pm UTC](https://discourse.processing.org/t/ice-terrain-a-short-film/13228 "2019-08-08T18:23:50Z")

</div>

Ice Terrain is my first Processing project of any notable size. It’s my riffing on Coding Challenge #11 by Daniel Shiffman. I made a number of shots (using saveFrame()) and modified the code each time in order to make pa…

---

## [Best practices for "collections" - arrays, objects, or what?](https://discourse.processing.org/t/best-practices-for-collections-arrays-objects-or-what/13233)

<div class="topic-metadata">

**Author:** [@kirkjerk](https://discourse.processing.org/u/kirkjerk)\
**Replies:** 9\
**Last updated:** [August 8, 2019, 6:22pm UTC](https://discourse.processing.org/t/best-practices-for-collections-arrays-objects-or-what/13233 "2019-08-08T18:22:22Z")

</div>

Hi there! I’m a UI developer for work, but now I’m teaching beginner coders with employee-to-employee quick classes. What are people’s suggestions for array-like things? My heart is a bit old school, so I don’t mind re…

---

## [Kinect SimpleOpenNI Delay on lost user](https://discourse.processing.org/t/kinect-simpleopenni-delay-on-lost-user/13166)

<div class="topic-metadata">

**Author:** [@QueenBee](https://discourse.processing.org/u/QueenBee)\
**Replies:** 1\
**Last updated:** [August 8, 2019, 6:03pm UTC](https://discourse.processing.org/t/kinect-simpleopenni-delay-on-lost-user/13166 "2019-08-08T18:03:11Z")

</div>

I’m trying to make a program which counts the number of users the Kinect sees, and displays a particular image depending on that number. if (userCount == 0){ println("No Users!"); } else if (userCount == 1){ …

---

## [Question about openprocessing.org functionality](https://discourse.processing.org/t/question-about-openprocessing-org-functionality/13181)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 6\
**Last updated:** [August 8, 2019, 5:18pm UTC](https://discourse.processing.org/t/question-about-openprocessing-org-functionality/13181 "2019-08-08T17:18:46Z")

</div>

Hello all, If I place a sound in the setup function it will play when I hit the play button. However, if I navigate to the page through a link on my openprocessing.org homepage, then the sound won’t play. In that same s…

---

## [P3D background refresh issue](https://discourse.processing.org/t/p3d-background-refresh-issue/13237)

<div class="topic-metadata">

**Author:** [@mszivos](https://discourse.processing.org/u/mszivos)\
**Replies:** 4\
**Last updated:** [August 8, 2019, 2:52pm UTC](https://discourse.processing.org/t/p3d-background-refresh-issue/13237 "2019-08-08T14:52:33Z")

</div>

Not sure what the issue is but the background in P3D does not seem to be refreshing. The screen is not cleared between frames. This has happened recently and happens on old sketches or just simple 3D examples. Running Wi…

---

## [editText in processing](https://discourse.processing.org/t/edittext-in-processing/13214)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 11\
**Last updated:** [August 8, 2019, 2:30pm UTC](https://discourse.processing.org/t/edittext-in-processing/13214 "2019-08-08T14:30:53Z")

</div>

I am trying to deal with the problem (which I have already discussed in another topic) in a different way. Does anyone know how to use editText in processing? Can you have some examples, please? Only a pure draft exam…

---

## [Organizing large number of tabs](https://discourse.processing.org/t/organizing-large-number-of-tabs/13241)

<div class="topic-metadata">

**Author:** [@adamsero](https://discourse.processing.org/u/adamsero)\
**Replies:** 4\
**Last updated:** [August 8, 2019, 11:03am UTC](https://discourse.processing.org/t/organizing-large-number-of-tabs/13241 "2019-08-08T11:03:54Z")

</div>

Hello, I am currently working on a big game in Processing. I am aware that it might not be the best framework to choose from, but I have already made a decision and now I have a problem with organizing all my .pde files…

---

## [Can't read pixels from capture](https://discourse.processing.org/t/cant-read-pixels-from-capture/13245)

<div class="topic-metadata">

**Author:** [@joshuajenkins](https://discourse.processing.org/u/joshuajenkins)\
**Replies:** 2\
**Last updated:** [August 8, 2019, 4:53am UTC](https://discourse.processing.org/t/cant-read-pixels-from-capture/13245 "2019-08-08T04:53:19Z")

</div>

Hi, I’m obviously missing something foundational. But at the moment I’m trying to simply get the pixels array from a video capture. My code sample follows, note this is on up-to-date versions Chrome and MacOS. let capt…

---

## [How to set apk level to 28](https://discourse.processing.org/t/how-to-set-apk-level-to-28/13244)

<div class="topic-metadata">

**Author:** [@Asra](https://discourse.processing.org/u/Asra)\
**Replies:** 0\
**Last updated:** [August 8, 2019, 3:03am UTC](https://discourse.processing.org/t/how-to-set-apk-level-to-28/13244 "2019-08-08T03:03:20Z")

</div>

I want to upload my game to google play store, but whenever I try to upload my apk it gives me an error: Upload failed Your app currently targets API level 26 and must target at least API level 28 to ensure it is built…

---

## [How do I get my sketch to perform faster?](https://discourse.processing.org/t/how-do-i-get-my-sketch-to-perform-faster/13146)

<div class="topic-metadata">

**Author:** [@thedurf18](https://discourse.processing.org/u/thedurf18)\
**Replies:** 4\
**Last updated:** [August 8, 2019, 12:57am UTC](https://discourse.processing.org/t/how-do-i-get-my-sketch-to-perform-faster/13146 "2019-08-08T00:57:33Z")

</div>

I have written a sketch that is almost 6000 lines, and I’m still not done. I wanted to check my progress so far to see how the animation is running, and it is very laggy. I tried increasing frame rate to 30 and 60, and i…

---

## [Using processing and andoid phone to send data to a ftp server](https://discourse.processing.org/t/using-processing-and-andoid-phone-to-send-data-to-a-ftp-server/13194)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 1\
**Last updated:** [August 7, 2019, 11:18pm UTC](https://discourse.processing.org/t/using-processing-and-andoid-phone-to-send-data-to-a-ftp-server/13194 "2019-08-07T23:18:04Z")

</div>

Hi, Previously i had written a processing script that ran on an old eeePC which essentially turned the eeePC into a data logger. Serial stream data was processed and logged to the hard-drive and periodically the data wa…

---

## [Passing arrays as arguments](https://discourse.processing.org/t/passing-arrays-as-arguments/6692)

<div class="topic-metadata">

**Author:** [@poppanona](https://discourse.processing.org/u/poppanona)\
**Replies:** 4\
**Last updated:** [August 7, 2019, 11:02pm UTC](https://discourse.processing.org/t/passing-arrays-as-arguments/6692 "2019-08-07T23:02:54Z")

</div>

How are arrays passed as arguments into objects? Do i need to create a new array in the object to accept the array data?

---

## [Drawing arc in WEBGL](https://discourse.processing.org/t/drawing-arc-in-webgl/13065)

<div class="topic-metadata">

**Author:** [@Jithin](https://discourse.processing.org/u/Jithin)\
**Replies:** 5\
**Last updated:** [August 7, 2019, 10:36pm UTC](https://discourse.processing.org/t/drawing-arc-in-webgl/13065 "2019-08-07T22:36:36Z")

</div>

Is it possible to draw arc in WEBGL mode?

---

## [Can not save canvas images correctly from p5js in OpenProcessing](https://discourse.processing.org/t/can-not-save-canvas-images-correctly-from-p5js-in-openprocessing/13242)

<div class="topic-metadata">

**Author:** [@rbytes](https://discourse.processing.org/u/rbytes)\
**Replies:** 0\
**Last updated:** [August 7, 2019, 10:28pm UTC](https://discourse.processing.org/t/can-not-save-canvas-images-correctly-from-p5js-in-openprocessing/13242 "2019-08-07T22:28:11Z")

</div>

Why does saving screen images from p5.js in OpenProcessing produce such strange results in Safari on iPad? I follow exactly the examples given on the p5js reference page which specify the file name and extender, but so…

---

## [Key. Russian letters. Problem](https://discourse.processing.org/t/key-russian-letters-problem/13164)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 16\
**Last updated:** [August 7, 2019, 10:29pm UTC](https://discourse.processing.org/t/key-russian-letters-problem/13164 "2019-08-07T22:29:44Z")

</div>

Hello. The problem, in short: the key does not see Russian letters. boolean keyboard = false; void setup() { textSize(50); fullScreen(); fill(0); } void draw() { background(255); text(key, width/2, …

---

## [Rotate the video created by createCapture](https://discourse.processing.org/t/rotate-the-video-created-by-createcapture/13189)

<div class="topic-metadata">

**Author:** [@Skim464](https://discourse.processing.org/u/Skim464)\
**Replies:** 2\
**Last updated:** [August 7, 2019, 9:00pm UTC](https://discourse.processing.org/t/rotate-the-video-created-by-createcapture/13189 "2019-08-07T21:00:50Z")

</div>

Hello. I am doing a posenet implementation of ml5 and p5.js Typical setup for the ML5 Posenet is as following: function setup() { const canvas = createCanvas(640, 480); canvas.parent(‘videoContainer’); video = cre…

---

## [Processing alternative to inline onclick()](https://discourse.processing.org/t/processing-alternative-to-inline-onclick/13179)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 3\
**Last updated:** [August 7, 2019, 8:45pm UTC](https://discourse.processing.org/t/processing-alternative-to-inline-onclick/13179 "2019-08-07T20:45:55Z")

</div>

menu = new button({ x:menuxy\[0\]+xx, y:menuxy\[1\]+yy-10, width:190+12, height:30\*10, id:"menu", col:color(255,255,255,20), label:"", onClick: function(){ setups(); } }); This is what I am converting …

---

## [Issue when loading SVG file: Distortion with P2D or P3D renderer](https://discourse.processing.org/t/issue-when-loading-svg-file-distortion-with-p2d-or-p3d-renderer/13190)

<div class="topic-metadata">

**Author:** [@uli-b](https://discourse.processing.org/u/uli-b)\
**Replies:** 3\
**Last updated:** [August 7, 2019, 8:37pm UTC](https://discourse.processing.org/t/issue-when-loading-svg-file-distortion-with-p2d-or-p3d-renderer/13190 "2019-08-07T20:37:12Z")

</div>

Hello, I am using the processing java library as part of my project. Within the project, I like to load svg files and draw them on a pgraphics object. The svg files show icons with some white space around them. This wor…

---

## [How to center the alignment always](https://discourse.processing.org/t/how-to-center-the-alignment-always/13223)

<div class="topic-metadata">

**Author:** [@Hemanth](https://discourse.processing.org/u/Hemanth)\
**Replies:** 3\
**Last updated:** [August 7, 2019, 6:31pm UTC](https://discourse.processing.org/t/how-to-center-the-alignment-always/13223 "2019-08-07T18:31:28Z")

</div>

Hi, I was learning processing and I was trying something with the co ordinates, and I am having trouble in aligning to the center of the display window, for reference I have attached the video. In detailed explanation o…

---

## [keyPressed() events get missed when another key is held](https://discourse.processing.org/t/keypressed-events-get-missed-when-another-key-is-held/12696)

<div class="topic-metadata">

**Author:** [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Replies:** 19\
**Last updated:** [August 7, 2019, 4:09pm UTC](https://discourse.processing.org/t/keypressed-events-get-missed-when-another-key-is-held/12696 "2019-08-07T16:09:32Z")

</div>

EDIT: This seems to be related to key repeating that OS does when user holds a key for long enough, and how P2D/P3D engines handle that key repeating. My conclusion is seen here: keyPressed() events get missed when anoth…

---

## [Match depth image with color image](https://discourse.processing.org/t/match-depth-image-with-color-image/13161)

<div class="topic-metadata">

**Author:** [@Cai](https://discourse.processing.org/u/Cai)\
**Replies:** 1\
**Last updated:** [August 7, 2019, 1:45pm UTC](https://discourse.processing.org/t/match-depth-image-with-color-image/13161 "2019-08-07T13:45:33Z")

</div>

how do I minimize the error such that the color and displayed pixel match?

---

## [Processing Community Day @ India](https://discourse.processing.org/t/processing-community-day-india/7988)

<div class="topic-metadata">

**Author:** [@Geeky](https://discourse.processing.org/u/Geeky)\
**Replies:** 1\
**Last updated:** [August 7, 2019, 1:22pm UTC](https://discourse.processing.org/t/processing-community-day-india/7988 "2019-08-07T13:22:01Z")

</div>

Dear All, I’m extremely glad that we are organizing PCD at out University in Jalandhar,India on 2nd of February. I hope that we’ll make as many people, artists and creative minds aware about Processing and show them a ne…

---

## [Processing Community Day @ Seoul](https://discourse.processing.org/t/processing-community-day-seoul/4349)

<div class="topic-metadata">

**Author:** [@swinsider](https://discourse.processing.org/u/swinsider)\
**Replies:** 3\
**Last updated:** [August 7, 2019, 1:21pm UTC](https://discourse.processing.org/t/processing-community-day-seoul/4349 "2019-08-07T13:21:18Z")

</div>

Hi! I am Woosung Jung, an organizer of PCD @ Seoul 2019. I am teaching Processing at Seoul National University of Education. Please contact me if you are interested in partipicating or contributing the upcoming PCD Feb. …

---

## [PCD @ Seoul (Feb 11, 2019)](https://discourse.processing.org/t/pcd-seoul-feb-11-2019/8257)

<div class="topic-metadata">

**Author:** [@Youjin](https://discourse.processing.org/u/Youjin)\
**Replies:** 2\
**Last updated:** [August 7, 2019, 1:20pm UTC](https://discourse.processing.org/t/pcd-seoul-feb-11-2019/8257 "2019-08-07T13:20:46Z")

</div>

Hello . I’m Youjin in W&T LAB(Woman and Technology Laboratory) in Seoul, one of organizers of PCD@Seoul 2019. This year, there are two PCD events in Seoul, ours will be tomorrow! Around 15 participants are already reg…

---

## [Converting my Processing sketch to a Processing.js sketch](https://discourse.processing.org/t/converting-my-processing-sketch-to-a-processing-js-sketch/13227)

<div class="topic-metadata">

**Author:** [@graysonh](https://discourse.processing.org/u/graysonh)\
**Replies:** 2\
**Last updated:** [August 7, 2019, 1:17pm UTC](https://discourse.processing.org/t/converting-my-processing-sketch-to-a-processing-js-sketch/13227 "2019-08-07T13:17:11Z")

</div>

Hi All, I have recently created an interactive version of a Daily Minimal graphic design and I really like the way it performs in Processing. I have been trying to put the sketch on OpenProcessing by using processing.js…

---

## [P3D skybox texture mapping problem](https://discourse.processing.org/t/p3d-skybox-texture-mapping-problem/13212)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 4\
**Last updated:** [August 7, 2019, 9:26am UTC](https://discourse.processing.org/t/p3d-skybox-texture-mapping-problem/13212 "2019-08-07T09:26:53Z")

</div>

The picture below shows a simple 3D scene with terrain and a skybox. The problem is that although the sky images tile seamlessly in 2D when applied to my skybox you can see the box seams. Although it is possible I am do…

---

## [How shall I scale my Kinect interaction full screen?](https://discourse.processing.org/t/how-shall-i-scale-my-kinect-interaction-full-screen/13059)

<div class="topic-metadata">

**Author:** [@AxeFire](https://discourse.processing.org/u/AxeFire)\
**Replies:** 2\
**Last updated:** [August 7, 2019, 8:15am UTC](https://discourse.processing.org/t/how-shall-i-scale-my-kinect-interaction-full-screen/13059 "2019-08-07T08:15:40Z")

</div>

Hello, I have created an interactive “graphic” with Open Kinect and Processing where the Kinect detects your hand movements to reveal the “moon surface image” which is below the top image called “moon dirt”. Basically y…

---

## [KeyTyped not working until mouse is pressed](https://discourse.processing.org/t/keytyped-not-working-until-mouse-is-pressed/13151)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 5\
**Last updated:** [August 7, 2019, 7:43am UTC](https://discourse.processing.org/t/keytyped-not-working-until-mouse-is-pressed/13151 "2019-08-07T07:43:56Z")

</div>

Hello, I’ve taken the below code from this example: https://p5js.org/reference/#/p5/keyTyped and I’m using openprocessing.org as an editor, if that’s helpful in this situation. In order to be able to get the sketch t…

---

## [Indexing a for loop](https://discourse.processing.org/t/indexing-a-for-loop/13231)

<div class="topic-metadata">

**Author:** [@thedurf18](https://discourse.processing.org/u/thedurf18)\
**Replies:** 8\
**Last updated:** [August 7, 2019, 5:33am UTC](https://discourse.processing.org/t/indexing-a-for-loop/13231 "2019-08-07T05:33:12Z")

</div>

How can I have access to individual shapes that are contained within a for loop? Can I index the for loop and access the individual shapes through an array? I just received help with this code: PShape a; void setup() …

---

## [Using PShape in a for loop](https://discourse.processing.org/t/using-pshape-in-a-for-loop/13230)

<div class="topic-metadata">

**Author:** [@thedurf18](https://discourse.processing.org/u/thedurf18)\
**Replies:** 4\
**Last updated:** [August 7, 2019, 4:20am UTC](https://discourse.processing.org/t/using-pshape-in-a-for-loop/13230 "2019-08-07T04:20:39Z")

</div>

I’m trying to use the PShape I created and make multiple ones within a for loop, but I’m having some trouble. I’d appreciate any help. float variable; PShape a; void setup(){ size(1680,1005,P3D); background(0); } …

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

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