# Latest

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

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

**Page:** 608

---

## [Question switched to p5.js category](https://discourse.processing.org/t/question-switched-to-p5-js-category/1608)

<div class="topic-metadata">

**Author:** [@ville2008](https://discourse.processing.org/u/ville2008)\
**Replies:** 4\
**Last updated:** [July 10, 2018, 4:10pm UTC](https://discourse.processing.org/t/question-switched-to-p5-js-category/1608 "2018-07-10T16:10:34Z")

</div>

when i play my game and eat a food and then move it sometimes removes my scale heres my source code sketch source: (where my move runs) var s; var scl = 20; var food = 20; var foods = 0; var foodU = foods; function se…

---

## [Unable to run Motion Sensor example provided by Daniel on Pi, Error when trying to use copy](https://discourse.processing.org/t/unable-to-run-motion-sensor-example-provided-by-daniel-on-pi-error-when-trying-to-use-copy/1635)

<div class="topic-metadata">

**Author:** [@Phaneeth](https://discourse.processing.org/u/Phaneeth)\
**Replies:** 1\
**Last updated:** [July 10, 2018, 3:47pm UTC](https://discourse.processing.org/t/unable-to-run-motion-sensor-example-provided-by-daniel-on-pi-error-when-trying-to-use-copy/1635 "2018-07-10T15:47:10Z")

</div>

I am trying to run the example on motion sensor on raspberry p. I am caught with this error. The reason for this error is in prevframe.copy Code: import processing.video.\*; // Variable for capture device Capture vid…

---

## [Basic questions possibly related to how Draw() works](https://discourse.processing.org/t/basic-questions-possibly-related-to-how-draw-works/1651)

<div class="topic-metadata">

**Author:** [@rharbert](https://discourse.processing.org/u/rharbert)\
**Replies:** 2\
**Last updated:** [July 10, 2018, 12:42pm UTC](https://discourse.processing.org/t/basic-questions-possibly-related-to-how-draw-works/1651 "2018-07-10T12:42:00Z")

</div>

Hi Everyone, I’m new to Processing and can’t figure out a couple things about the code below. When I execute the code, it draws either one line or no line at all. Maybe one out of every 4 or 5 runs actually draws a l…

---

## [ArrayList Problems / get() & remove()](https://discourse.processing.org/t/arraylist-problems-get-remove/1150)

<div class="topic-metadata">

**Author:** [@RC75018](https://discourse.processing.org/u/RC75018)\
**Replies:** 8\
**Last updated:** [July 10, 2018, 10:20am UTC](https://discourse.processing.org/t/arraylist-problems-get-remove/1150 "2018-07-10T10:20:06Z")

</div>

Hi everyone, I am a newbie in processing, at my early stages of learning and playing with this amazing language. I am trying to create a kind of “space invader” program from scratch. I don’t want to get inspired by the…

---

## [Problem with scenes management on processing.js](https://discourse.processing.org/t/problem-with-scenes-management-on-processing-js/1543)

<div class="topic-metadata">

**Author:** [@Vik007](https://discourse.processing.org/u/Vik007)\
**Replies:** 2\
**Last updated:** [July 10, 2018, 9:07am UTC](https://discourse.processing.org/t/problem-with-scenes-management-on-processing-js/1543 "2018-07-10T09:07:03Z")

</div>

Hi, I´m studying in Khan Academy “processing.js” I haven’t seen an specific category for processing.js so I´ll ask here. Ask a question Questions Tips & Thanks Top Recent I am coding a side scroll game and I have cr…

---

## [Sequencer firing multiple events/ or one step behind](https://discourse.processing.org/t/sequencer-firing-multiple-events-or-one-step-behind/1571)

<div class="topic-metadata">

**Author:** [@sensn](https://discourse.processing.org/u/sensn)\
**Replies:** 20\
**Last updated:** [July 10, 2018, 8:29am UTC](https://discourse.processing.org/t/sequencer-firing-multiple-events-or-one-step-behind/1571 "2018-07-10T08:29:47Z")

</div>

I have some code for a 16 step sequencer but I’m having problems with triggering the events. I’ll post 2 versions of the code. In the first version the problem is that the event is triggert multiple times but it should …

---

## [Guidance on releasing new Processing-like library](https://discourse.processing.org/t/guidance-on-releasing-new-processing-like-library/1629)

<div class="topic-metadata">

**Author:** [@Crazyinfin8](https://discourse.processing.org/u/Crazyinfin8)\
**Replies:** 2\
**Last updated:** [July 10, 2018, 1:42am UTC](https://discourse.processing.org/t/guidance-on-releasing-new-processing-like-library/1629 "2018-07-10T01:42:42Z")

</div>

Recently I thought it would be a cool idea to create a library based on Processing for the Haxe programming language. So far its actually going quite smoothly! Anyway… I was wondering what may be the best approach to re…

---

## [\[SOLVED\] Greatly Increase Available Memory](https://discourse.processing.org/t/solved-greatly-increase-available-memory/512)

<div class="topic-metadata">

**Author:** [@jamcdonald](https://discourse.processing.org/u/jamcdonald)\
**Replies:** 7\
**Last updated:** [July 9, 2018, 11:12pm UTC](https://discourse.processing.org/t/solved-greatly-increase-available-memory/512 "2018-07-09T23:12:47Z")

</div>

Before I begin, let me say that I am in a rather niche position. I am developing a bioinformatics program that is designed for use on computers with 128GB of ram (here is a link the computers I am running https://pcpart…

---

## [DomeProjection example low quality](https://discourse.processing.org/t/domeprojection-example-low-quality/1519)

<div class="topic-metadata">

**Author:** [@ngd](https://discourse.processing.org/u/ngd)\
**Replies:** 4\
**Last updated:** [July 9, 2018, 7:06pm UTC](https://discourse.processing.org/t/domeprojection-example-low-quality/1519 "2018-07-09T19:06:01Z")

</div>

Hello dear processing friends, Ive bee experimenting with the DomeProjection example from the processing examples Somehow the render/output quality is relatively low compared to other sketches. I ve tried to increa…

---

## [Is there mouse locking in processing?](https://discourse.processing.org/t/is-there-mouse-locking-in-processing/1633)

<div class="topic-metadata">

**Author:** [@codingking03](https://discourse.processing.org/u/codingking03)\
**Replies:** 5\
**Last updated:** [July 9, 2018, 5:00pm UTC](https://discourse.processing.org/t/is-there-mouse-locking-in-processing/1633 "2018-07-09T17:00:25Z")

</div>

Is there a way to not necessarily lock the mouse in the middle of the screen, but rather make sure that it stays within a small box in the middle and when it hits the edge will just go on the other side? And of course it…

---

## [Can't use variable in draw()](https://discourse.processing.org/t/cant-use-variable-in-draw/1619)

<div class="topic-metadata">

**Author:** [@Daniel](https://discourse.processing.org/u/Daniel)\
**Replies:** 3\
**Last updated:** [July 9, 2018, 2:24pm UTC](https://discourse.processing.org/t/cant-use-variable-in-draw/1619 "2018-07-09T14:24:10Z")

</div>

Hi Folks, I’m learning processing and I can’t see the forest for the trees… Why can’t I use the variable “temp” in draw(): String temp; public void setup() { cp5.addButton(“plz0”) .setValue(0) .setPosition(100,100…

---

## [Program stops working once 2-d array is full](https://discourse.processing.org/t/program-stops-working-once-2-d-array-is-full/846)

<div class="topic-metadata">

**Author:** [@Wnz](https://discourse.processing.org/u/Wnz)\
**Replies:** 2\
**Last updated:** [July 9, 2018, 2:18pm UTC](https://discourse.processing.org/t/program-stops-working-once-2-d-array-is-full/846 "2018-07-09T14:18:29Z")

</div>

I am making a 2048 game without the use of classes. One of my most major problems is that once the array is full with values, the program stops working. I tried creating a Boolean to change screens before the array is fu…

---

## [Ayuda! Como hacer que una figura tome una nueva posición aleatoria?](https://discourse.processing.org/t/ayuda-como-hacer-que-una-figura-tome-una-nueva-posicion-aleatoria/1587)

<div class="topic-metadata">

**Author:** [@lu4425](https://discourse.processing.org/u/lu4425)\
**Replies:** 11\
**Last updated:** [July 9, 2018, 10:00am UTC](https://discourse.processing.org/t/ayuda-como-hacer-que-una-figura-tome-una-nueva-posicion-aleatoria/1587 "2018-07-09T10:00:58Z")

</div>

Hola! Si alguien me puede ayudar se lo agradecería mucho! Tengo que dibujar dos figuras (circulo de 40 de diámetro y cuadrado de 30 x 30), y necesito que al clickear sobre alguna de estas figuras, pasen a tener un nu…

---

## [Multitouch sound keyboard](https://discourse.processing.org/t/multitouch-sound-keyboard/1612)

<div class="topic-metadata">

**Author:** [@Carpece](https://discourse.processing.org/u/Carpece)\
**Replies:** 1\
**Last updated:** [July 9, 2018, 10:06am UTC](https://discourse.processing.org/t/multitouch-sound-keyboard/1612 "2018-07-09T10:06:34Z")

</div>

Hi, I’m trying to create a keyboard to play some oscillators, but I thought it could managed multitouch (in case I open the URL on a mobile device, for example), but no… Any suggestion? Thanks in advance var song, est…

---

## [Multiple Windows: How to close/exit only one or get it to only create one](https://discourse.processing.org/t/multiple-windows-how-to-close-exit-only-one-or-get-it-to-only-create-one/1611)

<div class="topic-metadata">

**Author:** [@jbrod](https://discourse.processing.org/u/jbrod)\
**Replies:** 2\
**Last updated:** [July 9, 2018, 7:17am UTC](https://discourse.processing.org/t/multiple-windows-how-to-close-exit-only-one-or-get-it-to-only-create-one/1611 "2018-07-09T07:17:16Z")

</div>

Hello! I am currently trying to create my own version of paint. I want my menus to be popup windows. I have two separate windows created for the two different menus. The problem I currently have is that 1) I don’t know h…

---

## [How to keep the screen awake](https://discourse.processing.org/t/how-to-keep-the-screen-awake/1601)

<div class="topic-metadata">

**Author:** [@chanof](https://discourse.processing.org/u/chanof)\
**Replies:** 4\
**Last updated:** [July 9, 2018, 7:14am UTC](https://discourse.processing.org/t/how-to-keep-the-screen-awake/1601 "2018-07-09T07:14:46Z")

</div>

Hi! I would like to ask how I can keep the screen awake while I use my application inside Android, I found different solutions all out of dated. Thanks

---

## [P3D slowing down outside of draw()](https://discourse.processing.org/t/p3d-slowing-down-outside-of-draw/1474)

<div class="topic-metadata">

**Author:** [@Vince7778](https://discourse.processing.org/u/Vince7778)\
**Replies:** 6\
**Last updated:** [July 9, 2018, 5:45am UTC](https://discourse.processing.org/t/p3d-slowing-down-outside-of-draw/1474 "2018-07-09T05:45:38Z")

</div>

Hi, I have a problem in my Processing program where the sketch lags outside of draw(). All my program does is draw around 300 textured cubes. After about 20 seconds of running time, the program slows down to one frame e…

---

## [Closing a running application on PC](https://discourse.processing.org/t/closing-a-running-application-on-pc/1590)

<div class="topic-metadata">

**Author:** [@Lucifer](https://discourse.processing.org/u/Lucifer)\
**Replies:** 2\
**Last updated:** [July 9, 2018, 5:29am UTC](https://discourse.processing.org/t/closing-a-running-application-on-pc/1590 "2018-07-09T05:29:55Z")

</div>

After I launch a exe app using lauch(); how do i close it?? Please help

---

## [Deeply-layered nested classes](https://discourse.processing.org/t/deeply-layered-nested-classes/805)

<div class="topic-metadata">

**Author:** [@FurryNightShade](https://discourse.processing.org/u/FurryNightShade)\
**Replies:** 12\
**Last updated:** [July 9, 2018, 5:19am UTC](https://discourse.processing.org/t/deeply-layered-nested-classes/805 "2018-07-09T05:19:04Z")

</div>

Hello. I’m trying to make nested classes to make some sort of system in my classes. I am working insode Visual Studio Code, where you can hide lines of code. When I try: static class A{ static class B{ cla…

---

## [Creating a function that will calculate the equation of a line in 3D space](https://discourse.processing.org/t/creating-a-function-that-will-calculate-the-equation-of-a-line-in-3d-space/1597)

<div class="topic-metadata">

**Author:** [@Scott06](https://discourse.processing.org/u/Scott06)\
**Replies:** 3\
**Last updated:** [July 9, 2018, 12:58am UTC](https://discourse.processing.org/t/creating-a-function-that-will-calculate-the-equation-of-a-line-in-3d-space/1597 "2018-07-09T00:58:09Z")

</div>

Hi, I am in need of some help. I am currently writing a program that will take a camera position and a point in space and project that point onto a 2D image plane. One function that I need to create is to create a functi…

---

## [Looking for some advice using PShape & .svg](https://discourse.processing.org/t/looking-for-some-advice-using-pshape-svg/1410)

<div class="topic-metadata">

**Author:** [@red](https://discourse.processing.org/u/red)\
**Replies:** 2\
**Last updated:** [July 8, 2018, 10:30pm UTC](https://discourse.processing.org/t/looking-for-some-advice-using-pshape-svg/1410 "2018-07-08T22:30:52Z")

</div>

Hello Processing Forum, I’m a beginner and this is my first post. I wrote a little sketch which animates simple and more or less complex shapes around the screen. I’ve been using shape primitives like rect(), ellipse(…

---

## [\[Android\] Detect Pinch Gestures](https://discourse.processing.org/t/android-detect-pinch-gestures/1599)

<div class="topic-metadata">

**Author:** [@l-winston](https://discourse.processing.org/u/l-winston)\
**Replies:** 1\
**Last updated:** [July 8, 2018, 9:00pm UTC](https://discourse.processing.org/t/android-detect-pinch-gestures/1599 "2018-07-08T21:00:06Z")

</div>

I want to be able to detect if the user is pinching/spreading on an android app. How can I do this?

---

## [Is it possible to extend the classes PGraphics/ PGraphics3D?](https://discourse.processing.org/t/is-it-possible-to-extend-the-classes-pgraphics-pgraphics3d/1593)

<div class="topic-metadata">

**Author:** [@teresa](https://discourse.processing.org/u/teresa)\
**Replies:** 4\
**Last updated:** [July 8, 2018, 5:10pm UTC](https://discourse.processing.org/t/is-it-possible-to-extend-the-classes-pgraphics-pgraphics3d/1593 "2018-07-08T17:10:05Z")

</div>

Hello, I am currently working with the Keystone library, which enables to map projections onto surfaces. The library uses an offscreen buffer (PGraphics object) to draw the sketch. I’ve written a simple programm, consis…

---

## [How can extract an mp3 file's icon image?](https://discourse.processing.org/t/how-can-extract-an-mp3-files-icon-image/1573)

<div class="topic-metadata">

**Author:** [@KAZ](https://discourse.processing.org/u/KAZ)\
**Replies:** 3\
**Last updated:** [July 7, 2018, 6:57pm UTC](https://discourse.processing.org/t/how-can-extract-an-mp3-files-icon-image/1573 "2018-07-07T18:57:56Z")

</div>

How can extract an mp3 file’s icon image?

---

## [Saving Data on Web-Online Service](https://discourse.processing.org/t/saving-data-on-web-online-service/1574)

<div class="topic-metadata">

**Author:** [@martinstacey](https://discourse.processing.org/u/martinstacey)\
**Replies:** 1\
**Last updated:** [July 8, 2018, 8:21am UTC](https://discourse.processing.org/t/saving-data-on-web-online-service/1574 "2018-07-08T08:21:53Z")

</div>

Hello, I am making a simple app, it inputs user information (name, age, etc.) and stores it in a .csv table is there a way to export that data to a place online? (google drive, dropbox, anywhere were I can access it f…

---

## [controlP5 listBox and buttonBar problem](https://discourse.processing.org/t/controlp5-listbox-and-buttonbar-problem/1585)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 0\
**Last updated:** [July 8, 2018, 2:27am UTC](https://discourse.processing.org/t/controlp5-listbox-and-buttonbar-problem/1585 "2018-07-08T02:27:39Z")

</div>

hello! I\`ve a problem with controlP5 library. In a json file i stored the value of a variable of a class name “layer”, witch is equal to buttonBar choice. buttonBar = layer Next, i want to load that value, but i cant …

---

## [StringList Manipulation](https://discourse.processing.org/t/stringlist-manipulation/1561)

<div class="topic-metadata">

**Author:** [@poltergeister](https://discourse.processing.org/u/poltergeister)\
**Replies:** 3\
**Last updated:** [July 7, 2018, 11:44pm UTC](https://discourse.processing.org/t/stringlist-manipulation/1561 "2018-07-07T23:44:48Z")

</div>

I’m trying to manipulate the contents of a StringList for use in one place in the code while leaving the original list intact. I’m finding this doesn’t work. I’m guessing that the StringList is being maintained by ‘refer…

---

## [Millis() doubt: how to do the program wait two seconds before doing anything?](https://discourse.processing.org/t/millis-doubt-how-to-do-the-program-wait-two-seconds-before-doing-anything/1579)

<div class="topic-metadata">

**Author:** [@parzival](https://discourse.processing.org/u/parzival)\
**Replies:** 2\
**Last updated:** [July 7, 2018, 4:50pm UTC](https://discourse.processing.org/t/millis-doubt-how-to-do-the-program-wait-two-seconds-before-doing-anything/1579 "2018-07-07T16:50:35Z")

</div>

Hello. I’m new here and I’m trying to make the program wait two seconds before doing anything, but I do not know exactly how to do it. For example, how can I draw a rectangle, then wait two seconds and draw another one, …

---

## [Java: Processing can't run multiple key inputs simultaneously](https://discourse.processing.org/t/java-processing-cant-run-multiple-key-inputs-simultaneously/1575)

<div class="topic-metadata">

**Author:** [@Brian](https://discourse.processing.org/u/Brian)\
**Replies:** 4\
**Last updated:** [July 7, 2018, 4:43pm UTC](https://discourse.processing.org/t/java-processing-cant-run-multiple-key-inputs-simultaneously/1575 "2018-07-07T16:43:17Z")

</div>

I’m making a 2-player Ping pong game. I tried moving 1 player at a time, it worked fine but when I held down the move buttons of both at once, one moved flawlessly but the other moved just a bit then it got stuck. final…

---

## [\[SOLVED\] Minim progress bar](https://discourse.processing.org/t/solved-minim-progress-bar/1551)

<div class="topic-metadata">

**Author:** [@DogeMastr](https://discourse.processing.org/u/DogeMastr)\
**Replies:** 16\
**Last updated:** [July 7, 2018, 3:24pm UTC](https://discourse.processing.org/t/solved-minim-progress-bar/1551 "2018-07-07T15:24:41Z")

</div>

I’m trying to make a music player using minim and I have a progress bar thats halfway down the screen, the way I intend it to work is when you click on the progress bar the song will skip to that part, I know something i…

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

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