# Latest

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

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

**Page:** 485

---

## [Box2D coordinate conversion issue](https://discourse.processing.org/t/box2d-coordinate-conversion-issue/10986)

<div class="topic-metadata">

**Author:** [@Bizkit\_j](https://discourse.processing.org/u/Bizkit_j)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 3:40am UTC](https://discourse.processing.org/t/box2d-coordinate-conversion-issue/10986 "2019-05-20T03:40:44Z")

</div>

Hello Processing community. I am following the most popular and the greatest coding teacher, Daniel Shiffman on youtube now. Currently, I am on the Box2D chapters. While I am playing with PBox2D, found one issue which …

---

## [Time delay issue](https://discourse.processing.org/t/time-delay-issue/11398)

<div class="topic-metadata">

**Author:** [@fewy](https://discourse.processing.org/u/fewy)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 1:19am UTC](https://discourse.processing.org/t/time-delay-issue/11398 "2019-05-20T01:19:50Z")

</div>

I’ve just started learing how to program in processing a couple of days ago and the nxtlvl function gets to be called when 5 points are reached, which means a level is completed. My problem is that the pause() function i…

---

## [Processing, button, void](https://discourse.processing.org/t/processing-button-void/11199)

<div class="topic-metadata">

**Author:** [@macabol](https://discourse.processing.org/u/macabol)\
**Replies:** 31\
**Last updated:** [May 20, 2019, 12:44am UTC](https://discourse.processing.org/t/processing-button-void/11199 "2019-05-20T00:44:00Z")

</div>

Hello everyone I have a presentation of a computer game and my program works very well but when I have to add a button there is a problem with void reset. I will need your help please to be able to add a menu with a butt…

---

## [ArrayList issue?](https://discourse.processing.org/t/arraylist-issue/11323)

<div class="topic-metadata">

**Author:** [@p4stoboy](https://discourse.processing.org/u/p4stoboy)\
**Replies:** 5\
**Last updated:** [May 19, 2019, 10:36pm UTC](https://discourse.processing.org/t/arraylist-issue/11323 "2019-05-19T22:36:39Z")

</div>

I have this Female class that has an array of coordinates, the move() method adds those coordinates to the Female’s location every tick to move the object etc. etc. My issue is that I have an arrayList full of these obje…

---

## [Game with Processing for the novice](https://discourse.processing.org/t/game-with-processing-for-the-novice/11365)

<div class="topic-metadata">

**Author:** [@carotte](https://discourse.processing.org/u/carotte)\
**Replies:** 4\
**Last updated:** [May 19, 2019, 9:46pm UTC](https://discourse.processing.org/t/game-with-processing-for-the-novice/11365 "2019-05-19T21:46:05Z")

</div>

hay, i have chosen to do a game wich takes the particularity of the Snake i have a problem with my code, let exposed my problem: i woud like doing an “if” for a loop to make sure that as soon as the snake recognizes t…

---

## [How to "smooth" noise results](https://discourse.processing.org/t/how-to-smooth-noise-results/11307)

<div class="topic-metadata">

**Author:** [@glaem](https://discourse.processing.org/u/glaem)\
**Replies:** 4\
**Last updated:** [May 19, 2019, 9:43pm UTC](https://discourse.processing.org/t/how-to-smooth-noise-results/11307 "2019-05-19T21:43:11Z")

</div>

I know that noise returns a value between 0,1. I’m looking for a way to “smooth” the noise. Maybe instead of returning .5, .6, .3 etc. it would return .5, .5, .6, .6, .3, .3 basically I want to hold the noise value …

---

## [Memory Usage Optimization](https://discourse.processing.org/t/memory-usage-optimization/11375)

<div class="topic-metadata">

**Author:** [@MrPyro](https://discourse.processing.org/u/MrPyro)\
**Replies:** 5\
**Last updated:** [May 19, 2019, 9:12pm UTC](https://discourse.processing.org/t/memory-usage-optimization/11375 "2019-05-19T21:12:01Z")

</div>

I’m currently working on a project that needs the ability to draw 500 \* 500 \* 256 boxes. \[https://github.com/Mr-Pyro/3DSV\]. I am running out of ram. The PShape storing just the boxes alone seems to be approaching 2-3GB e…

---

## [Sequence of rotation](https://discourse.processing.org/t/sequence-of-rotation/3184)

<div class="topic-metadata">

**Author:** [@kll](https://discourse.processing.org/u/kll)\
**Replies:** 7\
**Last updated:** [May 19, 2019, 4:59pm UTC](https://discourse.processing.org/t/sequence-of-rotation/3184 "2019-05-19T16:59:44Z")

</div>

does the sequence in what i use rotation matter? like by rotateZ(radians(alphaZ)); rotateY(radians(alphaY)); rotateX(radians(alphaX)); show\_object(); rotateX(radians(-alphaX)); rotateY(radians(-alphaY)); rotateZ(radian…

---

## [Gryd System Graphic Design](https://discourse.processing.org/t/gryd-system-graphic-design/10457)

<div class="topic-metadata">

**Author:** [@rand\_colors](https://discourse.processing.org/u/rand_colors)\
**Replies:** 19\
**Last updated:** [May 19, 2019, 4:29pm UTC](https://discourse.processing.org/t/gryd-system-graphic-design/10457 "2019-05-19T16:29:08Z")

</div>

Hello everyone, as far as you know is there a class or library to deal with Grid design systems? I’m looking for something that could be helpful in composition of 2D images. Thank you in advance. Best R\_colors

---

## [Actualise data automaticaly (with a beat detection)](https://discourse.processing.org/t/actualise-data-automaticaly-with-a-beat-detection/11348)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 4\
**Last updated:** [May 19, 2019, 1:19pm UTC](https://discourse.processing.org/t/actualise-data-automaticaly-with-a-beat-detection/11348 "2019-05-19T13:19:24Z")

</div>

Hi there, I would like my program actualise itself the data to compute each time it detected a threshold of Beat in a song. For the moment I actualise my self the program by tapping on the key: 7. I would like my prog…

---

## [Problem with code p5js](https://discourse.processing.org/t/problem-with-code-p5js/11379)

<div class="topic-metadata">

**Author:** [@bitCrasher](https://discourse.processing.org/u/bitCrasher)\
**Replies:** 5\
**Last updated:** [May 19, 2019, 12:54pm UTC](https://discourse.processing.org/t/problem-with-code-p5js/11379 "2019-05-19T12:54:03Z")

</div>

hello! i’m trying to rewrite this code in processing: https://www.openprocessing.org/sketch/617540 but there is a part i don’t understand row 8: noiseSeed = noiseSeed || 1 this code pass to block function an int: …

---

## [Drop CSV file to loadTable()](https://discourse.processing.org/t/drop-csv-file-to-loadtable/11324)

<div class="topic-metadata">

**Author:** [@phoebus](https://discourse.processing.org/u/phoebus)\
**Replies:** 4\
**Last updated:** [May 19, 2019, 10:40am UTC](https://discourse.processing.org/t/drop-csv-file-to-loadtable/11324 "2019-05-19T10:40:04Z")

</div>

Hello I make a txt file with a header line, separated by commas, and some data lignes. ID, name, age, favorite color 00, Robert, 32, blue 01, Michele, 36, white If I use the drop() function, I get the file parameter t…

---

## [Simplest method for pshape triangle with rounded corners?](https://discourse.processing.org/t/simplest-method-for-pshape-triangle-with-rounded-corners/8563)

<div class="topic-metadata">

**Author:** [@mala](https://discourse.processing.org/u/mala)\
**Replies:** 4\
**Last updated:** [May 19, 2019, 10:11am UTC](https://discourse.processing.org/t/simplest-method-for-pshape-triangle-with-rounded-corners/8563 "2019-05-19T10:11:23Z")

</div>

Has anyone got any suggestions for this ? It can be drawn point by point rather tediously with vertex and beziervertex, but is there maybe an easier method ? Thanks for any suggestions. mala

---

## [Shader in processing](https://discourse.processing.org/t/shader-in-processing/11288)

<div class="topic-metadata">

**Author:** [@karinalopez87](https://discourse.processing.org/u/karinalopez87)\
**Replies:** 3\
**Last updated:** [May 19, 2019, 9:34am UTC](https://discourse.processing.org/t/shader-in-processing/11288 "2019-05-19T09:34:50Z")

</div>

Does anyone know how to bring the float remain and coord.x into processing to edit and add randomization? Also, I’ve been attempting to use pgraphics to incorporate the shader as a layer to fade in and fade out. glsl c…

---

## [Check if a shape exists inside a complex shape](https://discourse.processing.org/t/check-if-a-shape-exists-inside-a-complex-shape/11176)

<div class="topic-metadata">

**Author:** [@Alisha](https://discourse.processing.org/u/Alisha)\
**Replies:** 4\
**Last updated:** [May 19, 2019, 6:43am UTC](https://discourse.processing.org/t/check-if-a-shape-exists-inside-a-complex-shape/11176 "2019-05-19T06:43:05Z")

</div>

I have a custom shape, which I made using: beginShape(LINES); vertex(190, 231); vertex(203, 143); vertex(203, 143); vertex(298, 153); vertex(298, 153); vertex(365,…

---

## [Functional Stencils() and Brushes()](https://discourse.processing.org/t/functional-stencils-and-brushes/11291)

<div class="topic-metadata">

**Author:** [@Student40](https://discourse.processing.org/u/Student40)\
**Replies:** 4\
**Last updated:** [May 19, 2019, 6:14am UTC](https://discourse.processing.org/t/functional-stencils-and-brushes/11291 "2019-05-19T06:14:58Z")

</div>

having a hard time incorporating this into a code, any help would be great. the directions state to do this for my assignment each key a,s,d,f,g will be assigned to call a different function use noLoop(), loop(), comb…

---

## [Pong - problems with boundary check](https://discourse.processing.org/t/pong-problems-with-boundary-check/11367)

<div class="topic-metadata">

**Author:** [@marcholman23](https://discourse.processing.org/u/marcholman23)\
**Replies:** 11\
**Last updated:** [May 19, 2019, 3:32am UTC](https://discourse.processing.org/t/pong-problems-with-boundary-check/11367 "2019-05-19T03:32:08Z")

</div>

Hi, I’m new to processing and working on implementing a simple pong like program. At this point I have created a Ball and a Paddle. The Paddle is simply a rectangle that tracks the mouseX variable. Now I am working o…

---

## [Imageloader, How to convert Image to PImage?](https://discourse.processing.org/t/imageloader-how-to-convert-image-to-pimage/11357)

<div class="topic-metadata">

**Author:** [@Palp](https://discourse.processing.org/u/Palp)\
**Replies:** 1\
**Last updated:** [May 18, 2019, 3:35pm UTC](https://discourse.processing.org/t/imageloader-how-to-convert-image-to-pimage/11357 "2019-05-18T15:35:35Z")

</div>

Hello, I am trying to Load images from data folder with string on by one with 2 seconds of displaying time, and get pixel brightness value from these images. What I have: String path = sketchPath("data"); ImageLoader …

---

## [Processing video library wont play larger files](https://discourse.processing.org/t/processing-video-library-wont-play-larger-files/11368)

<div class="topic-metadata">

**Author:** [@sfickel](https://discourse.processing.org/u/sfickel)\
**Replies:** 1\
**Last updated:** [May 19, 2019, 1:50am UTC](https://discourse.processing.org/t/processing-video-library-wont-play-larger-files/11368 "2019-05-19T01:50:56Z")

</div>

Hello! I am using the processing-video library and I am not able to get it to play a video file larger than 250mb which seems pretty small. Is there any way to get it to play larger files or is there a file size restrict…

---

## [How do I integrate dist() into my current code?](https://discourse.processing.org/t/how-do-i-integrate-dist-into-my-current-code/11313)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 14\
**Last updated:** [May 18, 2019, 11:39pm UTC](https://discourse.processing.org/t/how-do-i-integrate-dist-into-my-current-code/11313 "2019-05-18T23:39:40Z")

</div>

Below is a simple program I am trying to build up. When the Ball object and Donut object intersect I would like: 1/ the ball to turn red 2/ the donut to turn blue 3/ the background to be a random color When there is…

---

## [Detect if any window in the sketch is the active window](https://discourse.processing.org/t/detect-if-any-window-in-the-sketch-is-the-active-window/8989)

<div class="topic-metadata">

**Author:** [@jamcdonald](https://discourse.processing.org/u/jamcdonald)\
**Replies:** 9\
**Last updated:** [May 18, 2019, 8:30pm UTC](https://discourse.processing.org/t/detect-if-any-window-in-the-sketch-is-the-active-window/8989 "2019-05-18T20:30:59Z")

</div>

I have a 2+ windows processing Sketch, I want 1 windows to stay on top of all the other windows in the sketch, to do this I am using surface.setAlwaysOnTop(true);, however this puts the window on top of all windows, not …

---

## [SZENER\_2019, the first tool for gameLibZero](https://discourse.processing.org/t/szener-2019-the-first-tool-for-gamelibzero/11188)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 1\
**Last updated:** [May 18, 2019, 3:12pm UTC](https://discourse.processing.org/t/szener-2019-the-first-tool-for-gamelibzero/11188 "2019-05-18T15:12:28Z")

</div>

Hello, I bring you my last project created entirely with processing, it is a tool to change scenarios and then load them into our games, soon I will publish a library called “gameLibZero” created and maintained by me for…

---

## [Control Ableton Live from Processing with a Mac](https://discourse.processing.org/t/control-ableton-live-from-processing-with-a-mac/11036)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 10\
**Last updated:** [May 18, 2019, 9:29am UTC](https://discourse.processing.org/t/control-ableton-live-from-processing-with-a-mac/11036 "2019-05-18T09:29:11Z")

</div>

Hi, I saw a method to use Processing as MIDI controller to Ableton here http://legacy.andrewflo.com/work/liveosc-processing-bridge/ I’m trying to use to use it to send MIDI value, but I can’t send data or make recogni…

---

## [Track balls by color and shape with camera and OpenCV](https://discourse.processing.org/t/track-balls-by-color-and-shape-with-camera-and-opencv/11234)

<div class="topic-metadata">

**Author:** [@Chemi](https://discourse.processing.org/u/Chemi)\
**Replies:** 4\
**Last updated:** [May 17, 2019, 1:01pm UTC](https://discourse.processing.org/t/track-balls-by-color-and-shape-with-camera-and-opencv/11234 "2019-05-17T13:01:31Z")

</div>

Hello. I have an exam that consists on detecting an object with a camera. I explain it a little bit: With the mouse you have to select the object and then the programme have to make the tracking of that object. The code…

---

## [Running .class file built from command line](https://discourse.processing.org/t/running-class-file-built-from-command-line/1719)

<div class="topic-metadata">

**Author:** [@ellenlowing](https://discourse.processing.org/u/ellenlowing)\
**Replies:** 7\
**Last updated:** [May 17, 2019, 10:58pm UTC](https://discourse.processing.org/t/running-class-file-built-from-command-line/1719 "2019-05-17T22:58:35Z")

</div>

Hi all Processing folks, I am having trouble running .class file on command line. Since I want to run my sketch in headless mode on a Mac, I followed this solution (https://github.com/processing/processing/issues/3996) t…

---

## [Calculate intersection between 3d object and line of sight?](https://discourse.processing.org/t/calculate-intersection-between-3d-object-and-line-of-sight/11229)

<div class="topic-metadata">

**Author:** [@sundftig](https://discourse.processing.org/u/sundftig)\
**Replies:** 1\
**Last updated:** [May 17, 2019, 8:30pm UTC](https://discourse.processing.org/t/calculate-intersection-between-3d-object-and-line-of-sight/11229 "2019-05-17T20:30:44Z")

</div>

Hi all, here is my problem. I’m using for the first time processing in Android mode. I setup an environment with sphere floating in space. What I want to do is trigger an audio file when I look at a specific sphere. …

---

## [Two level to my game](https://discourse.processing.org/t/two-level-to-my-game/11281)

<div class="topic-metadata">

**Author:** [@macabol](https://discourse.processing.org/u/macabol)\
**Replies:** 19\
**Last updated:** [May 17, 2019, 7:31pm UTC](https://discourse.processing.org/t/two-level-to-my-game/11281 "2019-05-17T19:31:14Z")

</div>

Hello everyone I urgently need your help I must make my game tomorrow and I just miss it to do 2 level to my game but I do not know how to do it. Thank you for your help and here is my code: PImage img;//image boule PIm…

---

## [Local server sublime browser sync broken?](https://discourse.processing.org/t/local-server-sublime-browser-sync-broken/11209)

<div class="topic-metadata">

**Author:** [@ursula](https://discourse.processing.org/u/ursula)\
**Replies:** 1\
**Last updated:** [May 17, 2019, 6:46pm UTC](https://discourse.processing.org/t/local-server-sublime-browser-sync-broken/11209 "2019-05-17T18:46:13Z")

</div>

I am experimenting with the various ways to build a local server. I tried the "Setting up Browser Sync for Sublime) but the final step does not happen. Help?

---

## [Paint line question](https://discourse.processing.org/t/paint-line-question/11312)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.processing.org/u/Nick1)\
**Replies:** 4\
**Last updated:** [May 17, 2019, 3:26pm UTC](https://discourse.processing.org/t/paint-line-question/11312 "2019-05-17T15:26:55Z")

</div>

Hey, I want to draw a line with my “paint” program but is does not draw. Can anyone help me? Thanks int akt\_links, akt\_breite, akt\_oben, akt\_hoehe; boolean zeichnen\_aktiv, zeichnen\_aktiv\_linie, loeschen, viereck, kre…

---

## [\[SOLVED\] While using Javafx for playing a video, how can i make a "rect", for example, appear in front of it?](https://discourse.processing.org/t/solved-while-using-javafx-for-playing-a-video-how-can-i-make-a-rect-for-example-appear-in-front-of-it/11173)

<div class="topic-metadata">

**Author:** [@94matheus](https://discourse.processing.org/u/94matheus)\
**Replies:** 8\
**Last updated:** [May 17, 2019, 1:37pm UTC](https://discourse.processing.org/t/solved-while-using-javafx-for-playing-a-video-how-can-i-make-a-rect-for-example-appear-in-front-of-it/11173 "2019-05-17T13:37:16Z")

</div>

Hi! I’m using PApplet inside Eclipse (A college assignment requires that we use Processing IDE but I need some of Java functions to make it work the way I envision it) and everytime a video starts playing (through java…

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

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