# Latest

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

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

**Page:** 536

---

## [Pixel sorting problem](https://discourse.processing.org/t/pixel-sorting-problem/7445)

<div class="topic-metadata">

**Author:** [@thrm](https://discourse.processing.org/u/thrm)\
**Replies:** 3\
**Last updated:** [January 13, 2019, 3:01pm UTC](https://discourse.processing.org/t/pixel-sorting-problem/7445 "2019-01-13T15:01:21Z")

</div>

Hi ! I’m very new to processing and I have a problem with a code I’m working on. I have written some of it, but now I’m stuck finishing it. I am working with pixel sorting of an image in processing 3.0 and I have writt…

---

## [Collision detection between avatar and 5 moving circles](https://discourse.processing.org/t/collision-detection-between-avatar-and-5-moving-circles/7466)

<div class="topic-metadata">

**Author:** [@lucadelagua](https://discourse.processing.org/u/lucadelagua)\
**Replies:** 3\
**Last updated:** [January 13, 2019, 2:41pm UTC](https://discourse.processing.org/t/collision-detection-between-avatar-and-5-moving-circles/7466 "2019-01-13T14:41:07Z")

</div>

Hey, I got a task from the university and I don’t know, why I cant detect the collision between my avatar with the 5 ghosts. some lines under voidDraw. Does anyone see the problem? Thanks :slight\_smile: Here is my Code…

---

## [Toxiclibs: many instances of VerletPhysics2D](https://discourse.processing.org/t/toxiclibs-many-instances-of-verletphysics2d/7395)

<div class="topic-metadata">

**Author:** [@mar](https://discourse.processing.org/u/mar)\
**Replies:** 3\
**Last updated:** [January 12, 2019, 11:09pm UTC](https://discourse.processing.org/t/toxiclibs-many-instances-of-verletphysics2d/7395 "2019-01-12T23:09:42Z")

</div>

Hello! II would love to use this cool library for a project. In this project I have many closed physic systems, which need to be computed parallel, like parallel physics worlds. The question is if it is possible to us…

---

## [So I am trying to make a Pacman kinda game](https://discourse.processing.org/t/so-i-am-trying-to-make-a-pacman-kinda-game/7358)

<div class="topic-metadata">

**Author:** [@captainmajere](https://discourse.processing.org/u/captainmajere)\
**Replies:** 2\
**Last updated:** [January 12, 2019, 9:48pm UTC](https://discourse.processing.org/t/so-i-am-trying-to-make-a-pacman-kinda-game/7358 "2019-01-12T21:48:35Z")

</div>

I am new to processing so I am trying to make a pacman kinda game. I want to make the small ball disappear and randomly spawn at another point in screen but I can’t specify the collision. How can I do that? Here is my …

---

## [Processing Webcam Game](https://discourse.processing.org/t/processing-webcam-game/7313)

<div class="topic-metadata">

**Author:** [@aloal](https://discourse.processing.org/u/aloal)\
**Replies:** 3\
**Last updated:** [January 12, 2019, 9:47pm UTC](https://discourse.processing.org/t/processing-webcam-game/7313 "2019-01-12T21:47:37Z")

</div>

Hello Everyone :slight\_smile: My idea was to create a webcam game where different colored bubbles appear, grow and are burst once a bright area (e.g. a phone torch) is shined over them. I have been struggling with the c…

---

## [\[SOLVED\] Image() nullPtrException](https://discourse.processing.org/t/solved-image-nullptrexception/7424)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 7\
**Last updated:** [January 12, 2019, 6:50pm UTC](https://discourse.processing.org/t/solved-image-nullptrexception/7424 "2019-01-12T18:50:34Z")

</div>

processing.app.SketchException: java.lang.NullPointerException at processing.core.PGraphics.image(PGraphics.java:3771) at processing.core.PApplet.image(PApplet.java:12655) at sun.reflect.GeneratedMethodAccessor10.inv…

---

## [\[SOLVED\] Gradient color with a mask](https://discourse.processing.org/t/solved-gradient-color-with-a-mask/7435)

<div class="topic-metadata">

**Author:** [@uforange](https://discourse.processing.org/u/uforange)\
**Replies:** 2\
**Last updated:** [January 12, 2019, 5:24pm UTC](https://discourse.processing.org/t/solved-gradient-color-with-a-mask/7435 "2019-01-12T17:24:02Z")

</div>

Hello, I am struggling with applying mask in my sketch. I’ve tried PGraphics, but I have no idea how to make it work. I would like to draw a particular shape(rect or ellipse or triangle) using mask on this gradient colo…

---

## [Processing and Windows 10](https://discourse.processing.org/t/processing-and-windows-10/7411)

<div class="topic-metadata">

**Author:** [@Gils](https://discourse.processing.org/u/Gils)\
**Replies:** 7\
**Last updated:** [January 12, 2019, 5:19pm UTC](https://discourse.processing.org/t/processing-and-windows-10/7411 "2019-01-12T17:19:22Z")

</div>

Hi, Processing does not working on Windows 10 (last update). 64 bits 32Mo of ram. when I try to run Processing it takes more 3 minutes to appear on screen and after I write code setup and draw it takes and other 3 minu…

---

## [Live wallpaper app icon](https://discourse.processing.org/t/live-wallpaper-app-icon/4568)

<div class="topic-metadata">

**Author:** [@Boti](https://discourse.processing.org/u/Boti)\
**Replies:** 3\
**Last updated:** [January 12, 2019, 4:42pm UTC](https://discourse.processing.org/t/live-wallpaper-app-icon/4568 "2019-01-12T16:42:19Z")

</div>

Hi, I made a live wallpaper app, and I uploaded it to google play. That’s great but my problem is that live wallpapers in processing don’t have an icon in the launcher. It can be set from wallpapers under live wallpaper…

---

## [Translating horizontally inverted quads](https://discourse.processing.org/t/translating-horizontally-inverted-quads/7364)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 8\
**Last updated:** [January 12, 2019, 3:50pm UTC](https://discourse.processing.org/t/translating-horizontally-inverted-quads/7364 "2019-01-12T15:50:29Z")

</div>

A week ago I asked a question about translations and rotations in Processing. I wanted to: translate, invert and rotate a single quadrilateral (PShape object) multiple times then change the height of one of its 2 top…

---

## [Trail effect on waterfall issue](https://discourse.processing.org/t/trail-effect-on-waterfall-issue/7440)

<div class="topic-metadata">

**Author:** [@bertin](https://discourse.processing.org/u/bertin)\
**Replies:** 1\
**Last updated:** [January 12, 2019, 3:41pm UTC](https://discourse.processing.org/t/trail-effect-on-waterfall-issue/7440 "2019-01-12T15:41:56Z")

</div>

Hi all! I’m trying to implement a simple waterfall sketch, but I’m having an issue with how to show a trail effect on my drops object while moving acros the screen. Here is my code: import java.util.List; import java.ut…

---

## [Trigger a sound file when an object \> width/2](https://discourse.processing.org/t/trigger-a-sound-file-when-an-object-width-2/7438)

<div class="topic-metadata">

**Author:** [@BrokenCode](https://discourse.processing.org/u/BrokenCode)\
**Replies:** 4\
**Last updated:** [January 12, 2019, 1:52pm UTC](https://discourse.processing.org/t/trigger-a-sound-file-when-an-object-width-2/7438 "2019-01-12T13:52:02Z")

</div>

Hello everyone, I’m a bit stack with a rather simple file trigger, the thing is: I have some text() that I can drag and drop, and I would like that when one of them pass the width/2 value, it play a specific sound file…

---

## [Mouse skill tester game made in p5js](https://discourse.processing.org/t/mouse-skill-tester-game-made-in-p5js/7416)

<div class="topic-metadata">

**Author:** [@Brastin](https://discourse.processing.org/u/Brastin)\
**Replies:** 1\
**Last updated:** [January 11, 2019, 6:35pm UTC](https://discourse.processing.org/t/mouse-skill-tester-game-made-in-p5js/7416 "2019-01-11T18:35:08Z")

</div>

Here’s a mouse skill tester game I made after switching over from processing to p5js for the first time. You just have to hover your mouse over the square before the timer runs out, and it keeps getting faster and faster…

---

## [Collating .tif images?](https://discourse.processing.org/t/collating-tif-images/7401)

<div class="topic-metadata">

**Author:** [@Bluu](https://discourse.processing.org/u/Bluu)\
**Replies:** 3\
**Last updated:** [January 11, 2019, 4:38pm UTC](https://discourse.processing.org/t/collating-tif-images/7401 "2019-01-11T16:38:54Z")

</div>

I have a script I’m using to capture frames(I made it simpler for understandability’s sake here, so I can’t change it, sorry :frowning: ). I’ve used the processing moviemaker tool in the past, but is there any way to use…

---

## [Interface and classes](https://discourse.processing.org/t/interface-and-classes/7331)

<div class="topic-metadata">

**Author:** [@bask185](https://discourse.processing.org/u/bask185)\
**Replies:** 4\
**Last updated:** [January 11, 2019, 2:09pm UTC](https://discourse.processing.org/t/interface-and-classes/7331 "2019-01-11T14:09:51Z")

</div>

I have several objects of different types which had to be stored in the same arrayList. I did this because most classes share similar functions. ArrayList \<Node\> objectArray = new ArrayList(); With an interface interf…

---

## [Adding reverb to microphone input and play it through speakers?](https://discourse.processing.org/t/adding-reverb-to-microphone-input-and-play-it-through-speakers/7415)

<div class="topic-metadata">

**Author:** [@AndreasRef](https://discourse.processing.org/u/AndreasRef)\
**Replies:** 1\
**Last updated:** [January 11, 2019, 1:14pm UTC](https://discourse.processing.org/t/adding-reverb-to-microphone-input-and-play-it-through-speakers/7415 "2019-01-11T13:14:18Z")

</div>

Hi I am wondering if it is possible to use p5js and the p5sound library to do the following: Get user input through the microphone Add reverb to the signal Output the wet signal (input + reverb) through the computers …

---

## [How to ADD or Subtract two values from key board and show result in same window?](https://discourse.processing.org/t/how-to-add-or-subtract-two-values-from-key-board-and-show-result-in-same-window/7302)

<div class="topic-metadata">

**Author:** [@Towhid](https://discourse.processing.org/u/Towhid)\
**Replies:** 8\
**Last updated:** [January 11, 2019, 12:49pm UTC](https://discourse.processing.org/t/how-to-add-or-subtract-two-values-from-key-board-and-show-result-in-same-window/7302 "2019-01-11T12:49:43Z")

</div>

Hi, Here I attach screenshot of my processing project. Here I subtract 2 values by putting in my code. but i want to take those values from keyboard after run the program and showing results in that place. MY CODE …

---

## [Sutcliffe Pentagons](https://discourse.processing.org/t/sutcliffe-pentagons/7262)

<div class="topic-metadata">

**Author:** [@Suzie](https://discourse.processing.org/u/Suzie)\
**Replies:** 5\
**Last updated:** [January 11, 2019, 8:12am UTC](https://discourse.processing.org/t/sutcliffe-pentagons/7262 "2019-01-11T08:12:19Z")

</div>

Hi, I am trying to draw a Sutcliffe Pentagons and just get started with processing. I want to start with drawing a recursive pentagon which is in the middle of the Sutcliffe Pentagons but my code only draw one for me. D…

---

## [Reading Phidgets 22 in Processing](https://discourse.processing.org/t/reading-phidgets-22-in-processing/7384)

<div class="topic-metadata">

**Author:** [@rafedigma](https://discourse.processing.org/u/rafedigma)\
**Replies:** 1\
**Last updated:** [January 11, 2019, 4:16am UTC](https://discourse.processing.org/t/reading-phidgets-22-in-processing/7384 "2019-01-11T04:16:06Z")

</div>

Hello, I am trying to get Processing working with Phidgets 22, I found the library Phidgets for Processing but it seems to be only working with previous version of Phidgets 21. I do not know Java to write a new library …

---

## [\[SOLVED\] How do you make a SS Function?](https://discourse.processing.org/t/solved-how-do-you-make-a-ss-function/7406)

<div class="topic-metadata">

**Author:** [@Typhoon](https://discourse.processing.org/u/Typhoon)\
**Replies:** 2\
**Last updated:** [January 11, 2019, 4:14am UTC](https://discourse.processing.org/t/solved-how-do-you-make-a-ss-function/7406 "2019-01-11T04:14:29Z")

</div>

How do you go ahead and make side scrolling in processing?

---

## [Proccessing Game Over funktion](https://discourse.processing.org/t/proccessing-game-over-funktion/7403)

<div class="topic-metadata">

**Author:** [@TheSkyCrafter](https://discourse.processing.org/u/TheSkyCrafter)\
**Replies:** 3\
**Last updated:** [January 11, 2019, 3:22am UTC](https://discourse.processing.org/t/proccessing-game-over-funktion/7403 "2019-01-11T03:22:41Z")

</div>

Hello, I have created a little game in progress. You can move the character in the X position and fall down from above. You have a random X position and a random speed. If you run into an obstacle, I want the Gamestate v…

---

## [AYUDA -Hacer click en una zona y que pase algo (aplicación de dibujo)](https://discourse.processing.org/t/ayuda-hacer-click-en-una-zona-y-que-pase-algo-aplicacion-de-dibujo/7329)

<div class="topic-metadata">

**Author:** [@oriana](https://discourse.processing.org/u/oriana)\
**Replies:** 3\
**Last updated:** [January 10, 2019, 11:30pm UTC](https://discourse.processing.org/t/ayuda-hacer-click-en-una-zona-y-que-pase-algo-aplicacion-de-dibujo/7329 "2019-01-10T23:30:12Z")

</div>

// menú interfaz PImage interimg; // pinceles cursor PImage pincel1; PImage pincel2; PImage pincel3; PImage pincel4; PImage pincel5; PImage pincel6; PImage pincel7; PImage pincel8; PImage pincel9; PImage pincel10; // …

---

## [\[SOLVED\] Question about flipping Images](https://discourse.processing.org/t/solved-question-about-flipping-images/7391)

<div class="topic-metadata">

**Author:** [@Typhoon](https://discourse.processing.org/u/Typhoon)\
**Replies:** 7\
**Last updated:** [January 10, 2019, 10:15pm UTC](https://discourse.processing.org/t/solved-question-about-flipping-images/7391 "2019-01-10T22:15:39Z")

</div>

How do you go ahead and flip an array of images in processing? Im trying to make a game where the character runs left and right but i only have the pictures for him to run right,

---

## [Using the draw method as one giant listener](https://discourse.processing.org/t/using-the-draw-method-as-one-giant-listener/7306)

<div class="topic-metadata">

**Author:** [@faxinadu](https://discourse.processing.org/u/faxinadu)\
**Replies:** 5\
**Last updated:** [January 10, 2019, 6:29pm UTC](https://discourse.processing.org/t/using-the-draw-method-as-one-giant-listener/7306 "2019-01-10T18:29:55Z")

</div>

We have been experimenting with using p5js’s draw function as one giant listener for normal html created dom elements, mostly range sliders that then manipulate p5js.sound objects. Obviously this is not “the right way” …

---

## [Use createVideo with vimeo or youtube assets](https://discourse.processing.org/t/use-createvideo-with-vimeo-or-youtube-assets/7386)

<div class="topic-metadata">

**Author:** [@fgraux](https://discourse.processing.org/u/fgraux)\
**Replies:** 5\
**Last updated:** [January 10, 2019, 3:52pm UTC](https://discourse.processing.org/t/use-createvideo-with-vimeo-or-youtube-assets/7386 "2019-01-10T15:52:05Z")

</div>

Hi there I’m trying to use p5.js and seriously.js to display a vimeo video chromakeyed in a canvas. video = createVideo(’//player.vimeo.com/video/…’); But the wevbsite returns an error : "Access to video at ‘…’ (red…

---

## [Two PVector variables update but only one is changed](https://discourse.processing.org/t/two-pvector-variables-update-but-only-one-is-changed/7388)

<div class="topic-metadata">

**Author:** [@delsey](https://discourse.processing.org/u/delsey)\
**Replies:** 5\
**Last updated:** [January 10, 2019, 3:24pm UTC](https://discourse.processing.org/t/two-pvector-variables-update-but-only-one-is-changed/7388 "2019-01-10T15:24:05Z")

</div>

PVector p; PVector newP; void setup() { p = new PVector(500, 300); newP = new PVector(500, 300); } void draw() { newP = p; println(newP + " \< newP before"); // Adds to p p.add(50, 100); println(newP + "…

---

## [\[Solved(more or less)\] fullScreen() width height not existing](https://discourse.processing.org/t/solved-more-or-less-fullscreen-width-height-not-existing/7387)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 3\
**Last updated:** [January 10, 2019, 1:26pm UTC](https://discourse.processing.org/t/solved-more-or-less-fullscreen-width-height-not-existing/7387 "2019-01-10T13:26:35Z")

</div>

def setup(): fullScreen() # class BlackHole: # def \_\_init\_\_(self): # self.vec = PVector(height/2,width/2) # def show(self): # ellipse(height/2,width/2,100,100) # hole = Blac…

---

## [Changing Processing IDE color scheme](https://discourse.processing.org/t/changing-processing-ide-color-scheme/7244)

<div class="topic-metadata">

**Author:** [@marky04](https://discourse.processing.org/u/marky04)\
**Replies:** 18\
**Last updated:** [January 10, 2019, 11:47am UTC](https://discourse.processing.org/t/changing-processing-ide-color-scheme/7244 "2019-01-10T11:47:50Z")

</div>

Hello, I wanted to change Processing’s color scheme but being a sort of newbie to coding, I’m not sure what some of the tokens in the preferences.txt file correspond to. Here is the list for all token types I found in Pr…

---

## [Lost project file. Is now a temp file](https://discourse.processing.org/t/lost-project-file-is-now-a-temp-file/7379)

<div class="topic-metadata">

**Author:** [@bodmans](https://discourse.processing.org/u/bodmans)\
**Replies:** 3\
**Last updated:** [January 10, 2019, 9:43am UTC](https://discourse.processing.org/t/lost-project-file-is-now-a-temp-file/7379 "2019-01-10T09:43:10Z")

</div>

After saving twice yesterday, I shut down my laptop and let it run some Windows updates. This morning I return to the files above. Panic ensued. Went to the tempfolder in the C drive, no direct recovery there. Could …

---

## [Getting PShape primitive sizes](https://discourse.processing.org/t/getting-pshape-primitive-sizes/7375)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 1\
**Last updated:** [January 10, 2019, 2:41am UTC](https://discourse.processing.org/t/getting-pshape-primitive-sizes/7375 "2019-01-10T02:41:29Z")

</div>

Is there a way to obtain the size of a PShape primitive? PShape ps1 = createShape(); ps1.beginShape(); ps1.vertex(-50, -50); ps1.vertex(50, -50); ps1.vertex(50, 50); ps1.vertex(-50, 50); ps1.endShape(CLOSE); println(ps1…

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

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