# Processing

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

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

**Page:** 249

---

## [Applying Frame differencing tool to video file and exporting data as a csv file?](https://discourse.processing.org/t/applying-frame-differencing-tool-to-video-file-and-exporting-data-as-a-csv-file/16457)

<div class="topic-metadata">

**Author:** [@Louis](https://discourse.processing.org/u/Louis)\
**Replies:** 2\
**Last updated:** [December 20, 2019, 11:38pm UTC](https://discourse.processing.org/t/applying-frame-differencing-tool-to-video-file-and-exporting-data-as-a-csv-file/16457 "2019-12-20T23:38:06Z")

</div>

Hi, very new to coding, but for a MA project I am trying to develop a script that will read movement in a series of videos I have created and enable me to export the data as a CSV file? This existing tool is almost perf…

---

## [Kinect Blob-detection for two objects](https://discourse.processing.org/t/kinect-blob-detection-for-two-objects/16265)

<div class="topic-metadata">

**Author:** [@Liam](https://discourse.processing.org/u/Liam)\
**Replies:** 0\
**Last updated:** [December 9, 2019, 2:19pm UTC](https://discourse.processing.org/t/kinect-blob-detection-for-two-objects/16265 "2019-12-09T14:19:55Z")

</div>

Hi everyone, I’m using Dan Schiffmans example on a Kinect v1 to track the position of two hands. I have been able to track the movement of one hand and get the centre point. but I want to track both hands for the purpos…

---

## [Undo and redo errors PDE IDE](https://discourse.processing.org/t/undo-and-redo-errors-pde-ide/16419)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 4\
**Last updated:** [December 20, 2019, 7:02pm UTC](https://discourse.processing.org/t/undo-and-redo-errors-pde-ide/16419 "2019-12-20T19:02:40Z")

</div>

Has anyone ever experienced any issues undoing multiple times? Most of the time it works fine, but then sometimes it doesn’t and it just restores garbage code. This can be corrected by saving frequently, but still not a…

---

## [Changing game states (beginner)](https://discourse.processing.org/t/changing-game-states-beginner/16526)

<div class="topic-metadata">

**Author:** [@Salttt](https://discourse.processing.org/u/Salttt)\
**Replies:** 11\
**Last updated:** [December 20, 2019, 5:19pm UTC](https://discourse.processing.org/t/changing-game-states-beginner/16526 "2019-12-20T17:19:43Z")

</div>

Hello! I am a recent beginner (1 week), and just trying to make a simple game where you need to dodge a car. Currently I have 3 states; state 0: the beginning screen (fully light blue currently), state 1: The actual game…

---

## [Processing needs 5 minutes to start](https://discourse.processing.org/t/processing-needs-5-minutes-to-start/16532)

<div class="topic-metadata">

**Author:** [@Sabrina](https://discourse.processing.org/u/Sabrina)\
**Replies:** 1\
**Last updated:** [December 20, 2019, 2:07pm UTC](https://discourse.processing.org/t/processing-needs-5-minutes-to-start/16532 "2019-12-20T14:07:14Z")

</div>

Hi, I am trying to install the latest version of processing on school computers (Windows 10). The first start was smooth, I installed the p5.js module and everything worked fine. But after closing the application and …

---

## [Processing 3 with macOS Catalina](https://discourse.processing.org/t/processing-3-with-macos-catalina/13338)

<div class="topic-metadata">

**Author:** [@Proc](https://discourse.processing.org/u/Proc)\
**Replies:** 3\
**Last updated:** [December 20, 2019, 4:30am UTC](https://discourse.processing.org/t/processing-3-with-macos-catalina/13338 "2019-12-20T04:30:53Z")

</div>

I was wondering If anyone else had managed to get Processing working on the new macOS beta or if I’m just doing something wrong with my installation or something like that. FIXED: in developer beta 5 it works

---

## [Query regarding publishing a library](https://discourse.processing.org/t/query-regarding-publishing-a-library/16470)

<div class="topic-metadata">

**Author:** [@pallav12](https://discourse.processing.org/u/pallav12)\
**Replies:** 9\
**Last updated:** [December 20, 2019, 3:29am UTC](https://discourse.processing.org/t/query-regarding-publishing-a-library/16470 "2019-12-20T03:29:01Z")

</div>

Hello everyone, I have developed a library for processing desktop, prepared docs, as well as examples using processing-library-template now I want to distribute it, though almost everything was clearly mentioned in Read…

---

## [Can we run processing code by clicking on a icon like a desktop applications](https://discourse.processing.org/t/can-we-run-processing-code-by-clicking-on-a-icon-like-a-desktop-applications/16515)

<div class="topic-metadata">

**Author:** [@iamgsshetty](https://discourse.processing.org/u/iamgsshetty)\
**Replies:** 4\
**Last updated:** [December 20, 2019, 12:39am UTC](https://discourse.processing.org/t/can-we-run-processing-code-by-clicking-on-a-icon-like-a-desktop-applications/16515 "2019-12-20T00:39:14Z")

</div>

can we run processing code by clicking on a icon like a desktop applications

---

## [ArithmeticException: / by zero](https://discourse.processing.org/t/arithmeticexception-by-zero/16525)

<div class="topic-metadata">

**Author:** [@unique\_username](https://discourse.processing.org/u/unique_username)\
**Replies:** 2\
**Last updated:** [December 19, 2019, 11:14pm UTC](https://discourse.processing.org/t/arithmeticexception-by-zero/16525 "2019-12-19T23:14:49Z")

</div>

Hello. I’ve been working on a new project, which has been going splendidly for me as I thought it would be quite a challenge, but it has been a breeze so far. I was then adding a new element and the first of this element…

---

## [Is there a way to make an interactive bar graph?](https://discourse.processing.org/t/is-there-a-way-to-make-an-interactive-bar-graph/16417)

<div class="topic-metadata">

**Author:** [@xikexa](https://discourse.processing.org/u/xikexa)\
**Replies:** 2\
**Last updated:** [December 19, 2019, 9:49pm UTC](https://discourse.processing.org/t/is-there-a-way-to-make-an-interactive-bar-graph/16417 "2019-12-19T21:49:37Z")

</div>

I want to make a interactive bar graph with clickable icons/buttons and instead of “bars” i want it to have corresponding icons that gather around the data that’s clicked on if that makes sense.

---

## [How to export a multichannelbuffer to wav or mp3?](https://discourse.processing.org/t/how-to-export-a-multichannelbuffer-to-wav-or-mp3/16409)

<div class="topic-metadata">

**Author:** [@molo32](https://discourse.processing.org/u/molo32)\
**Replies:** 2\
**Last updated:** [December 19, 2019, 9:40pm UTC](https://discourse.processing.org/t/how-to-export-a-multichannelbuffer-to-wav-or-mp3/16409 "2019-12-19T21:40:41Z")

</div>

I am using minim and I have an audio inside a MultiChannelBuffer How can I export it to wav or mp3, if you can’t, do you know any way to achieve it. I use java processing

---

## [Kinect camera - MIRROR using Type!](https://discourse.processing.org/t/kinect-camera-mirror-using-type/16063)

<div class="topic-metadata">

**Author:** [@madiMcD](https://discourse.processing.org/u/madiMcD)\
**Replies:** 1\
**Last updated:** [December 19, 2019, 7:44pm UTC](https://discourse.processing.org/t/kinect-camera-mirror-using-type/16063 "2019-12-19T19:44:00Z")

</div>

Hello!! I am at a block with my code, and I don’t know where to go from here. I am creating a mirror out of type for a current project, and I managed to do so following the Coding Train’s point cloud tutorial and substi…

---

## [Cannot build processing by running "ant run"](https://discourse.processing.org/t/cannot-build-processing-by-running-ant-run/16513)

<div class="topic-metadata">

**Author:** [@Jedi18](https://discourse.processing.org/u/Jedi18)\
**Replies:** 0\
**Last updated:** [December 19, 2019, 3:14pm UTC](https://discourse.processing.org/t/cannot-build-processing-by-running-ant-run/16513 "2019-12-19T15:14:51Z")

</div>

I’m on Windows 10 64 bit. Error :- Unable to locate tools.jar. Expected to find it in C:\\Program Files\\Java\\jre1.8.0\_202\\lib\\tools.jar Buildfile: C:\\Users\\targe\\Documents\\GSoC\\processing\\build\\build.xml run: ignore-t…

---

## [MacOS 10.15 does not work to processing](https://discourse.processing.org/t/macos-10-15-does-not-work-to-processing/16507)

<div class="topic-metadata">

**Author:** [@MingYu](https://discourse.processing.org/u/MingYu)\
**Replies:** 1\
**Last updated:** [December 19, 2019, 12:14pm UTC](https://discourse.processing.org/t/macos-10-15-does-not-work-to-processing/16507 "2019-12-19T12:14:57Z")

</div>

MacOS 10.15 Unable to open processing.

---

## [(Beginner) How do I make objects of different classes interact?](https://discourse.processing.org/t/beginner-how-do-i-make-objects-of-different-classes-interact/16497)

<div class="topic-metadata">

**Author:** [@Salttt](https://discourse.processing.org/u/Salttt)\
**Replies:** 2\
**Last updated:** [December 18, 2019, 10:28pm UTC](https://discourse.processing.org/t/beginner-how-do-i-make-objects-of-different-classes-interact/16497 "2019-12-18T22:28:22Z")

</div>

Hello, I started processing about one and a half weeks ago with the first goal being to make a really, really simple game. The goal is basically to jump over cars (so far only a car but that’s not the problem right now),…

---

## [Is there a way to use launch() without the entire system path?](https://discourse.processing.org/t/is-there-a-way-to-use-launch-without-the-entire-system-path/16495)

<div class="topic-metadata">

**Author:** [@sneugle](https://discourse.processing.org/u/sneugle)\
**Replies:** 1\
**Last updated:** [December 18, 2019, 7:31pm UTC](https://discourse.processing.org/t/is-there-a-way-to-use-launch-without-the-entire-system-path/16495 "2019-12-18T19:31:51Z")

</div>

Hello there! I am trying to run a .bat file with the processing function launch(), in the documentation (https://processing.org/reference/launch\_.html) it says you need to use the entire system path to the file you are …

---

## [G4P tool crash corrupts gui.ser.4.3](https://discourse.processing.org/t/g4p-tool-crash-corrupts-gui-ser-4-3/16454)

<div class="topic-metadata">

**Author:** [@mark\_orion](https://discourse.processing.org/u/mark_orion)\
**Replies:** 6\
**Last updated:** [December 18, 2019, 5:20pm UTC](https://discourse.processing.org/t/g4p-tool-crash-corrupts-gui-ser-4-3/16454 "2019-12-18T17:20:23Z")

</div>

This happened to me a couple of times: While doing some operation in the G4P gui builder tool the tool just hangs with a fancy java exception in the console. When I close everything and start again nothing works due to …

---

## [How would I go on and create a slider? Without using any libraries?](https://discourse.processing.org/t/how-would-i-go-on-and-create-a-slider-without-using-any-libraries/16491)

<div class="topic-metadata">

**Author:** [@needhelpwithsliders](https://discourse.processing.org/u/needhelpwithsliders)\
**Replies:** 2\
**Last updated:** [December 18, 2019, 2:00pm UTC](https://discourse.processing.org/t/how-would-i-go-on-and-create-a-slider-without-using-any-libraries/16491 "2019-12-18T14:00:42Z")

</div>

I’m making a game, which also includes a settings tab where the end-user can adjust settings to their preference, the problem is however that I have no idea how to make a slider without making use of a library, the slide…

---

## [Color fill in rotation](https://discourse.processing.org/t/color-fill-in-rotation/16320)

<div class="topic-metadata">

**Author:** [@Eban](https://discourse.processing.org/u/Eban)\
**Replies:** 5\
**Last updated:** [December 18, 2019, 1:42pm UTC](https://discourse.processing.org/t/color-fill-in-rotation/16320 "2019-12-18T13:42:58Z")

</div>

Hi everyone, I am creating an incrementing circle that is drawn with rectangles ( see the code ), and every time the angle reaches HALF\_PI, the color is changed. My problem is, the drawn color (green) gets bigger as th…

---

## [Setting 1st instance location for evenly spaced rotated objects](https://discourse.processing.org/t/setting-1st-instance-location-for-evenly-spaced-rotated-objects/16479)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 11\
**Last updated:** [December 17, 2019, 11:08pm UTC](https://discourse.processing.org/t/setting-1st-instance-location-for-evenly-spaced-rotated-objects/16479 "2019-12-17T23:08:12Z")

</div>

I am rotating small evenly spaced circles around the circumference of a larger circle. Using the while loop I have a version with 4 small circles and a version with 6 small circles. The 4 small circles version places t…

---

## [Interactividad y escenas](https://discourse.processing.org/t/interactividad-y-escenas/16355)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 3\
**Last updated:** [December 16, 2019, 8:29pm UTC](https://discourse.processing.org/t/interactividad-y-escenas/16355 "2019-12-16T20:29:43Z")

</div>

Hi everybody, I’m on the last step to finish my sketch, but losing my head with somoething I don’t get. Sketch has scene1, that lasts 5 seconds. Then, scene 2 has a button that activates animation called scene 3. Final…

---

## [Reading the hue of a color variable gives strange results](https://discourse.processing.org/t/reading-the-hue-of-a-color-variable-gives-strange-results/5509)

<div class="topic-metadata">

**Author:** [@M4th31st](https://discourse.processing.org/u/M4th31st)\
**Replies:** 13\
**Last updated:** [December 17, 2019, 5:38pm UTC](https://discourse.processing.org/t/reading-the-hue-of-a-color-variable-gives-strange-results/5509 "2019-12-17T17:38:56Z")

</div>

I found out that when you set a hue value to a color object, you don’t get the same result back when you use the hue() function on that color. For example: the following code outputs the value 67.166664 instead of 67 co…

---

## [RuntimeException: Could not load movie file Move1.mov](https://discourse.processing.org/t/runtimeexception-could-not-load-movie-file-move1-mov/16473)

<div class="topic-metadata">

**Author:** [@Louis](https://discourse.processing.org/u/Louis)\
**Replies:** 1\
**Last updated:** [December 17, 2019, 2:51pm UTC](https://discourse.processing.org/t/runtimeexception-could-not-load-movie-file-move1-mov/16473 "2019-12-17T14:51:37Z")

</div>

Having some trouble getting the Frame Differencing filter to read a .mov file Any ideas where I am going wrong? import processing.video.\*; int numPixels; int\[\] previousFrame; Movie video; void setup() { size(1920…

---

## [How to make the snake not move constantly](https://discourse.processing.org/t/how-to-make-the-snake-not-move-constantly/16453)

<div class="topic-metadata">

**Author:** [@crazybob5](https://discourse.processing.org/u/crazybob5)\
**Replies:** 2\
**Last updated:** [December 17, 2019, 8:23am UTC](https://discourse.processing.org/t/how-to-make-the-snake-not-move-constantly/16453 "2019-12-17T08:23:47Z")

</div>

Hi, How to make the snake not move constantly? int angle=0; int snakesize=10; int time=0; int\[\] headx= new int\[2500\]; int\[\] heady= new int\[2500\]; int applex=(round(random(47))+1)\*8; int appley=(round(random(47))+1)\*8; b…

---

## [Having trouble with if/else statement](https://discourse.processing.org/t/having-trouble-with-if-else-statement/16460)

<div class="topic-metadata">

**Author:** [@lilturkey7](https://discourse.processing.org/u/lilturkey7)\
**Replies:** 5\
**Last updated:** [December 17, 2019, 6:28am UTC](https://discourse.processing.org/t/having-trouble-with-if-else-statement/16460 "2019-12-17T06:28:24Z")

</div>

Hi, I’m new to Processing. I’m using the program as an introduction to coding in my high school class. I’m currently making a face but I’m having trouble with switching the display of two shapes. PShape face1, head, ey…

---

## [Framerate going down unexpectedly](https://discourse.processing.org/t/framerate-going-down-unexpectedly/16400)

<div class="topic-metadata">

**Author:** [@pieter123](https://discourse.processing.org/u/pieter123)\
**Replies:** 3\
**Last updated:** [December 17, 2019, 6:13am UTC](https://discourse.processing.org/t/framerate-going-down-unexpectedly/16400 "2019-12-17T06:13:53Z")

</div>

I’m working with particles in a flowfield, based on Shiffman’s tutorial in which a lot of lines, circles and text are drawn to the screen on every draw. Normally this runs very smooth with an fps of 60 or more. However, …

---

## [Class Constructor Block not working](https://discourse.processing.org/t/class-constructor-block-not-working/16282)

<div class="topic-metadata">

**Author:** [@hamp](https://discourse.processing.org/u/hamp)\
**Replies:** 12\
**Last updated:** [December 16, 2019, 11:55pm UTC](https://discourse.processing.org/t/class-constructor-block-not-working/16282 "2019-12-16T23:55:34Z")

</div>

So I’m just starting out on processing and I run into this error: Unexpected token: { Here is my code: Person joe; void setup(){ size(500,500); background(0); Person joe = new Person(); } void draw(){ joe.di…

---

## [Arduino to Processing](https://discourse.processing.org/t/arduino-to-processing/16451)

<div class="topic-metadata">

**Author:** [@Cbeni](https://discourse.processing.org/u/Cbeni)\
**Replies:** 1\
**Last updated:** [December 16, 2019, 10:51pm UTC](https://discourse.processing.org/t/arduino-to-processing/16451 "2019-12-16T22:51:01Z")

</div>

Hello! I am trying to send info from arduino to processing but my code is not working, it worked before! =\[ Does the board need to be plugged in to work? Can someone please explain whats wrong? Processing Code impor…

---

## ['img cannot be resolved to a variable'](https://discourse.processing.org/t/img-cannot-be-resolved-to-a-variable/16431)

<div class="topic-metadata">

**Author:** [@Louis](https://discourse.processing.org/u/Louis)\
**Replies:** 7\
**Last updated:** [December 16, 2019, 10:17pm UTC](https://discourse.processing.org/t/img-cannot-be-resolved-to-a-variable/16431 "2019-12-16T22:17:06Z")

</div>

I’m trying to create a script that will print image frames by interval, current code: int xpos = 0; int ypos = 0; int VWIDTH = 8; // width of capture int VHEIGHT = 6; // height of capture int MOVIEWIDTH = VWIDTH \* 60; …

---

## [Paint application](https://discourse.processing.org/t/paint-application/16356)

<div class="topic-metadata">

**Author:** [@Swagific](https://discourse.processing.org/u/Swagific)\
**Replies:** 14\
**Last updated:** [December 16, 2019, 8:37pm UTC](https://discourse.processing.org/t/paint-application/16356 "2019-12-16T20:37:07Z")

</div>

Im trying to make a paint application. when i click on the shape icons the shape of the brush dosent change. when i click on the save icons they dont work either. im not sure what im missing in my code to get them to wor…

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

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