# Processing

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

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

**Page:** 382

---

## [Sending Data wireless](https://discourse.processing.org/t/sending-data-wireless/1330)

<div class="topic-metadata">

**Author:** [@netphysicist](https://discourse.processing.org/u/netphysicist)\
**Replies:** 6\
**Last updated:** [July 11, 2018, 3:42pm UTC](https://discourse.processing.org/t/sending-data-wireless/1330 "2018-07-11T15:42:38Z")

</div>

Hello, i want to make a project/app, in which i could send txt files from my device to the PC with wireless connection…I am studying right now about oscP5 library and making connection between devices…My question is if …

---

## [Dividing up PImage](https://discourse.processing.org/t/dividing-up-pimage/1664)

<div class="topic-metadata">

**Author:** [@Trilobyte](https://discourse.processing.org/u/Trilobyte)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 2:46pm UTC](https://discourse.processing.org/t/dividing-up-pimage/1664 "2018-07-11T14:46:00Z")

</div>

Hello all! I have a question/problem regarding PImages. I am working on a project that converts MIDI text files into images, concatenates those images into one large image, and then divides that long image into 8888 pix…

---

## [Processing + Leap Motion data + Arduino LED pins](https://discourse.processing.org/t/processing-leap-motion-data-arduino-led-pins/1689)

<div class="topic-metadata">

**Author:** [@iamamiwhoami91](https://discourse.processing.org/u/iamamiwhoami91)\
**Replies:** 1\
**Last updated:** [July 11, 2018, 2:37pm UTC](https://discourse.processing.org/t/processing-leap-motion-data-arduino-led-pins/1689 "2018-07-11T14:37:30Z")

</div>

Dear all, I am trying use the Leap Motion sensor data to turn LED pins on and off using Arduino. Right now I am using a processing code that controls LED pins according to the hand position (x). I am trying to figure ou…

---

## [(!) DISCORD CODING CHANNEL - p5.js - prosessing (!)](https://discourse.processing.org/t/discord-coding-channel-p5-js-prosessing/1684)

<div class="topic-metadata">

**Author:** [@ville2008](https://discourse.processing.org/u/ville2008)\
**Replies:** 0\
**Last updated:** [July 11, 2018, 12:34pm UTC](https://discourse.processing.org/t/discord-coding-channel-p5-js-prosessing/1684 "2018-07-11T12:34:24Z")

</div>

invite: https://discord.gg/2hsG6Zb

---

## [How to get the sketchPath from a static method](https://discourse.processing.org/t/how-to-get-the-sketchpath-from-a-static-method/1617)

<div class="topic-metadata">

**Author:** [@Manuel](https://discourse.processing.org/u/Manuel)\
**Replies:** 10\
**Last updated:** [July 11, 2018, 12:57pm UTC](https://discourse.processing.org/t/how-to-get-the-sketchpath-from-a-static-method/1617 "2018-07-11T12:57:55Z")

</div>

Hi, I’ve tried everything I could think of to try to load a file inside an enum, but can’t get a way to reference to the current sketchPath statically. Does anyone know any posible solution? That’s a small part of the c…

---

## [Alarm Clock in Processing](https://discourse.processing.org/t/alarm-clock-in-processing/1631)

<div class="topic-metadata">

**Author:** [@LaLe](https://discourse.processing.org/u/LaLe)\
**Replies:** 6\
**Last updated:** [July 11, 2018, 12:52pm UTC](https://discourse.processing.org/t/alarm-clock-in-processing/1631 "2018-07-11T12:52:46Z")

</div>

Hello everyone, I am trying to code an alarm clock using Processing. I am pretty new so I am still learning… I already achieved to code a Clock using real time. But I am not sure how I can make a text input field, so yo…

---

## [Using class-wide methods in non-static classes](https://discourse.processing.org/t/using-class-wide-methods-in-non-static-classes/1677)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.processing.org/u/Jake)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 12:03pm UTC](https://discourse.processing.org/t/using-class-wide-methods-in-non-static-classes/1677 "2018-07-11T12:03:12Z")

</div>

After doing some research, I have yet to find a way to use static methods in a non-static class. Alternatively, I can’t create instances of an object of a static class. I did notice someone mention class-wide methods, bu…

---

## [Tooloop Open Media Server](https://discourse.processing.org/t/tooloop-open-media-server/1680)

<div class="topic-metadata">

**Author:** [@vollstock](https://discourse.processing.org/u/vollstock)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 8:48am UTC](https://discourse.processing.org/t/tooloop-open-media-server/1680 "2018-07-11T08:48:19Z")

</div>

I am happy to announce that Tooloop, my open media server for public and live media installations, is now in alpha phase and ready to test. Tooloop is an open media server framework. a well defined range of industrial…

---

## [Using Loops to Make Objects. Help!](https://discourse.processing.org/t/using-loops-to-make-objects-help/1621)

<div class="topic-metadata">

**Author:** [@QuazArxx](https://discourse.processing.org/u/QuazArxx)\
**Replies:** 13\
**Last updated:** [July 11, 2018, 6:45am UTC](https://discourse.processing.org/t/using-loops-to-make-objects-help/1621 "2018-07-11T06:45:05Z")

</div>

So i’m back here again. I’m trying to figure out: is it possible to use let’s say a for loop to draw an object 3 times and be able to control them individually still? What I’m trying to do is make the object appear 3 ti…

---

## [File to code TCG](https://discourse.processing.org/t/file-to-code-tcg/1345)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 4\
**Last updated:** [July 10, 2018, 10:49pm UTC](https://discourse.processing.org/t/file-to-code-tcg/1345 "2018-07-10T22:49:55Z")

</div>

I’m wanting to make a list like name type attack defense and so on in text then get the program to grab the stuff from the list & use the correct info when the card is summoned. I’m thinking of making a TCG & I dont…

---

## [GET DIRECTORY LIST OF ONLY .png FILES](https://discourse.processing.org/t/get-directory-list-of-only-png-files/1662)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 2\
**Last updated:** [July 10, 2018, 7:04pm UTC](https://discourse.processing.org/t/get-directory-list-of-only-png-files/1662 "2018-07-10T19:04:01Z")

</div>

Found code to get listing of names in a directory. https://processing.org/examples/directorylist.html but when i set path to “c:/\*.png” i get null error otherwise i can list all the files in “c:/” asterisk works for…

---

## [Generating as many bisecting lines of a circle as possible](https://discourse.processing.org/t/generating-as-many-bisecting-lines-of-a-circle-as-possible/1653)

<div class="topic-metadata">

**Author:** [@Fhyrestar](https://discourse.processing.org/u/Fhyrestar)\
**Replies:** 2\
**Last updated:** [July 10, 2018, 6:14pm UTC](https://discourse.processing.org/t/generating-as-many-bisecting-lines-of-a-circle-as-possible/1653 "2018-07-10T18:14:44Z")

</div>

Hello! I’ve just discovered Processing, and I’m playing around with it because it seems cool. I’m trying to draw ~30 lines of symmetry in a circle. Well, more specifically, I’m drawing ~30 lines of symmetry in three o…

---

## [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 …

---

## [\[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…

---

## [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…

---

## [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(…

---

## [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?

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

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