# Latest

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

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

**Page:** 599

---

## [Monkey catching game where one monkey is stuck in an corner (should be falling down)](https://discourse.processing.org/t/monkey-catching-game-where-one-monkey-is-stuck-in-an-corner-should-be-falling-down/2384)

<div class="topic-metadata">

**Author:** [@sokuv](https://discourse.processing.org/u/sokuv)\
**Replies:** 7\
**Last updated:** [August 5, 2018, 9:13pm UTC](https://discourse.processing.org/t/monkey-catching-game-where-one-monkey-is-stuck-in-an-corner-should-be-falling-down/2384 "2018-08-05T21:13:10Z")

</div>

In the game, 2 monkeys or 1 (that already works) should be falling down but with my code one monkey is stuck in the top left corner flickering (blinking) int monkeyaY = -50; int monkeybY = -50; int monkeya\_X = 0; int m…

---

## [Running Processing code on-site?](https://discourse.processing.org/t/running-processing-code-on-site/2378)

<div class="topic-metadata">

**Author:** [@tony](https://discourse.processing.org/u/tony)\
**Replies:** 2\
**Last updated:** [August 5, 2018, 7:59pm UTC](https://discourse.processing.org/t/running-processing-code-on-site/2378 "2018-08-05T19:59:20Z")

</div>

I’m a big fan of stackoverflow, and I think it’s really awesome that they’ve implemented runnable JS snippets on site. Now, I understand that we’re comparing the capabilities of a major site against our humble forum, bu…

---

## [Processing : drawing radar with sensor](https://discourse.processing.org/t/processing-drawing-radar-with-sensor/2192)

<div class="topic-metadata">

**Author:** [@Charlie](https://discourse.processing.org/u/Charlie)\
**Replies:** 7\
**Last updated:** [August 5, 2018, 5:19pm UTC](https://discourse.processing.org/t/processing-drawing-radar-with-sensor/2192 "2018-08-05T17:19:16Z")

</div>

Hi ! Description I have some problem while doing my project. I am trying to draw radar with incoming values which is variable(value from two potentiometer) I got two variable value from my sensor and its form is like…

---

## [Is TRIANGLE\_STRIP working correctly in WEBGL?](https://discourse.processing.org/t/is-triangle-strip-working-correctly-in-webgl/2381)

<div class="topic-metadata">

**Author:** [@binkpitch](https://discourse.processing.org/u/binkpitch)\
**Replies:** 2\
**Last updated:** [August 5, 2018, 4:06pm UTC](https://discourse.processing.org/t/is-triangle-strip-working-correctly-in-webgl/2381 "2018-08-05T16:06:25Z")

</div>

The TRIANGLE\_STRIP is suppose look like the one in the document (https://p5js.org/reference/#/p5/beginShape). But, when I tried in WEBGL it look different, some points are not connected to each other. (https://alpha.edi…

---

## [Extracting code from ZIP File](https://discourse.processing.org/t/extracting-code-from-zip-file/2376)

<div class="topic-metadata">

**Author:** [@juan](https://discourse.processing.org/u/juan)\
**Replies:** 7\
**Last updated:** [August 5, 2018, 7:01am UTC](https://discourse.processing.org/t/extracting-code-from-zip-file/2376 "2018-08-05T07:01:00Z")

</div>

Hi, i am new in Processing. My question is: -The code are in ZIP file. What i must to do for run code sample? I want to learn with Steering\_Behavior\_Text… I see for file and dont know what i must to do, thanks Juan. …

---

## [Wont display my second set of numbers](https://discourse.processing.org/t/wont-display-my-second-set-of-numbers/2371)

<div class="topic-metadata">

**Author:** [@magic\_moose](https://discourse.processing.org/u/magic_moose)\
**Replies:** 3\
**Last updated:** [August 5, 2018, 6:49am UTC](https://discourse.processing.org/t/wont-display-my-second-set-of-numbers/2371 "2018-08-05T06:49:02Z")

</div>

I am trying to use a TSV data file to plot on a graph however the second collum of data isnt being recognized. Can someone Help? Here is my Code so far: PFont font; float x1, y1, x2, y2; int\[\]fireData; int\[\]years; i…

---

## [Trouble with graph](https://discourse.processing.org/t/trouble-with-graph/2373)

<div class="topic-metadata">

**Author:** [@magic\_moose](https://discourse.processing.org/u/magic_moose)\
**Replies:** 3\
**Last updated:** [August 5, 2018, 2:04am UTC](https://discourse.processing.org/t/trouble-with-graph/2373 "2018-08-05T02:04:30Z")

</div>

So I have 2 questions. First is how to get rid of the black on my graph line. The second is how to flip my graph line around so the highest part is on the left. Here is my code: PFont font; float x1, y1, x2, y2; in…

---

## [CC Fest LA at UCLA on September 8](https://discourse.processing.org/t/cc-fest-la-at-ucla-on-september-8/2187)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 1\
**Last updated:** [August 4, 2018, 10:54pm UTC](https://discourse.processing.org/t/cc-fest-la-at-ucla-on-september-8/2187 "2018-08-04T22:54:27Z")

</div>

Hi peeps, CC Fest LA, a celebration for creative coding for students and teachers, will be back at UCLA on September 8, Saturday. It is a free, accessible, and diverse event for K12 students and teachers to engage with …

---

## [Line appearing after using strokeweight()](https://discourse.processing.org/t/line-appearing-after-using-strokeweight/2362)

<div class="topic-metadata">

**Author:** [@Pumas210](https://discourse.processing.org/u/Pumas210)\
**Replies:** 2\
**Last updated:** [August 4, 2018, 10:41pm UTC](https://discourse.processing.org/t/line-appearing-after-using-strokeweight/2362 "2018-08-04T22:41:38Z")

</div>

So whenever I run this code: int NUMBEROFCOLOURS = 4; int SMALL = 15; int MEDIUM = 30; int BIG = 45; int SHAPESIZE = MEDIUM; color CURRENTCOLOUR = color(0, 0, 0); color DEFAULTCOLOUR = color(0, 0, 0); color COLOUR1 = co…

---

## [How can I do headless / virtual screen buffer pixel reading?](https://discourse.processing.org/t/how-can-i-do-headless-virtual-screen-buffer-pixel-reading/2346)

<div class="topic-metadata">

**Author:** [@adellelin](https://discourse.processing.org/u/adellelin)\
**Replies:** 1\
**Last updated:** [August 4, 2018, 9:14pm UTC](https://discourse.processing.org/t/how-can-i-do-headless-virtual-screen-buffer-pixel-reading/2346 "2018-08-04T21:14:49Z")

</div>

Hi I currently have a setup with Processing running on Raspberry Pi, sending artnet messages across multiple universes to some Teensy’s to do LED lighting animations using @cansik 's artnet library. I’m running into ser…

---

## [I am having an Issue](https://discourse.processing.org/t/i-am-having-an-issue/2367)

<div class="topic-metadata">

**Author:** [@magic\_moose](https://discourse.processing.org/u/magic_moose)\
**Replies:** 5\
**Last updated:** [August 4, 2018, 7:32pm UTC](https://discourse.processing.org/t/i-am-having-an-issue/2367 "2018-08-04T19:32:54Z")

</div>

I am trying to make a bar graph for the following data however my “i” integer is not being recognized. String\[\] name = { “1997:”, “1998:”, “1999:”, “2000:”, “2001:”, “2002:”, “2003:”, “2004:”, “2005:”, “2006:…

---

## [Negative Noise problem](https://discourse.processing.org/t/negative-noise-problem/2297)

<div class="topic-metadata">

**Author:** [@imaginativeCODE](https://discourse.processing.org/u/imaginativeCODE)\
**Replies:** 26\
**Last updated:** [August 4, 2018, 7:09pm UTC](https://discourse.processing.org/t/negative-noise-problem/2297 "2018-08-04T19:09:45Z")

</div>

I found that when you put negative numbers into the noise function like xoff or yoff the noise function converts them to positive numbers. Why?? And how do I solve this to be able to put negative numbers into the noise f…

---

## [SelectOutput() minimizing both rendering window and file select?](https://discourse.processing.org/t/selectoutput-minimizing-both-rendering-window-and-file-select/2364)

<div class="topic-metadata">

**Author:** [@TheZipCreator](https://discourse.processing.org/u/TheZipCreator)\
**Replies:** 0\
**Last updated:** [August 4, 2018, 2:26pm UTC](https://discourse.processing.org/t/selectoutput-minimizing-both-rendering-window-and-file-select/2364 "2018-08-04T14:26:46Z")

</div>

So when I call selectOutput() it minimizes the rendering window and the file select window. I have surface.setSize(512, 512) in draw, and I am using P2D. The reason I have that in draw is because I’m making a game for …

---

## [Help with making a Quiz in Processing](https://discourse.processing.org/t/help-with-making-a-quiz-in-processing/2333)

<div class="topic-metadata">

**Author:** [@Haven](https://discourse.processing.org/u/Haven)\
**Replies:** 7\
**Last updated:** [August 4, 2018, 12:58pm UTC](https://discourse.processing.org/t/help-with-making-a-quiz-in-processing/2333 "2018-08-04T12:58:46Z")

</div>

How to create questions buttons so the programm knows from the position which answer is correct. Also don’t know how to set up the question class correctly. Second big problem: how to shrink the code. Not very familiar …

---

## [Automatic line change](https://discourse.processing.org/t/automatic-line-change/2342)

<div class="topic-metadata">

**Author:** [@hugo](https://discourse.processing.org/u/hugo)\
**Replies:** 2\
**Last updated:** [August 4, 2018, 12:53pm UTC](https://discourse.processing.org/t/automatic-line-change/2342 "2018-08-04T12:53:33Z")

</div>

Hello, While writing a little program on android processing, I encountered a problem ,I would like to know if it is possible to line up automatically when the text meets the right edge of the screen : void setup () { …

---

## [Multi Bat One Player Pong](https://discourse.processing.org/t/multi-bat-one-player-pong/2354)

<div class="topic-metadata">

**Author:** [@Pudwig23](https://discourse.processing.org/u/Pudwig23)\
**Replies:** 1\
**Last updated:** [August 4, 2018, 5:52am UTC](https://discourse.processing.org/t/multi-bat-one-player-pong/2354 "2018-08-04T05:52:14Z")

</div>

Hey guys, I am currently making a single player pong game where every time the ball hits all the bats on the screen (only once otherwise the user dies), it moves to the next level where it is one extra bat from the last…

---

## [Plot grafica in Pgraphics?](https://discourse.processing.org/t/plot-grafica-in-pgraphics/2334)

<div class="topic-metadata">

**Author:** [@jimbojohn](https://discourse.processing.org/u/jimbojohn)\
**Replies:** 2\
**Last updated:** [August 4, 2018, 1:02am UTC](https://discourse.processing.org/t/plot-grafica-in-pgraphics/2334 "2018-08-04T01:02:40Z")

</div>

Dear enthusiasts, I was wondering if any of you would know of a easy and nice way to show grafica plots on Pgraphics without having to hack pgraphics as i have already done that. Moreover if the answer is no, does anyo…

---

## [Looking for random video player on raspberry pi](https://discourse.processing.org/t/looking-for-random-video-player-on-raspberry-pi/2249)

<div class="topic-metadata">

**Author:** [@maxarch](https://discourse.processing.org/u/maxarch)\
**Replies:** 2\
**Last updated:** [August 3, 2018, 8:38pm UTC](https://discourse.processing.org/t/looking-for-random-video-player-on-raspberry-pi/2249 "2018-08-03T20:38:03Z")

</div>

Hello I have been researching for a way to play on raspberry pi random video in a seamless way (no gap between video). I was wondering if someone have see something already build in that way ready to use. Here in detai…

---

## [Movie Color Visualization](https://discourse.processing.org/t/movie-color-visualization/2285)

<div class="topic-metadata">

**Author:** [@Kevin](https://discourse.processing.org/u/Kevin)\
**Replies:** 3\
**Last updated:** [August 3, 2018, 8:00pm UTC](https://discourse.processing.org/t/movie-color-visualization/2285 "2018-08-03T20:00:00Z")

</div>

Inspired by my comic book colors project, I just put together a few visualizations of the colors used by various movies: So far I’ve played around with two different visualizations. The first one shows a movie as a ti…

---

## [Creating Arc if you know center start and end point](https://discourse.processing.org/t/creating-arc-if-you-know-center-start-and-end-point/2338)

<div class="topic-metadata">

**Author:** [@rebin](https://discourse.processing.org/u/rebin)\
**Replies:** 2\
**Last updated:** [August 3, 2018, 6:54pm UTC](https://discourse.processing.org/t/creating-arc-if-you-know-center-start-and-end-point/2338 "2018-08-03T18:54:59Z")

</div>

Hi all; This is my first question so apologize if I do not follow the rule properly. I need to create an arc in processing. but I believe ( maybe I am wrong) the way I wanted the arc function arc( x , y , width , heigh…

---

## [How to do this kind of gradient on shapes](https://discourse.processing.org/t/how-to-do-this-kind-of-gradient-on-shapes/799)

<div class="topic-metadata">

**Author:** [@helloscoopz](https://discourse.processing.org/u/helloscoopz)\
**Replies:** 6\
**Last updated:** [August 3, 2018, 3:41pm UTC](https://discourse.processing.org/t/how-to-do-this-kind-of-gradient-on-shapes/799 "2018-08-03T15:41:17Z")

</div>

here are bunch of shapes floating here and there. so i need to apply this kind of a gradient on them. can anyone tell me how to do these kind of thing will be appreciated. Here is the SS: \[shapesmasksexample\] Many Tha…

---

## [Gyro/Accelerometer noise in VR?](https://discourse.processing.org/t/gyro-accelerometer-noise-in-vr/479)

<div class="topic-metadata">

**Author:** [@Nasif](https://discourse.processing.org/u/Nasif)\
**Replies:** 6\
**Last updated:** [August 3, 2018, 2:42pm UTC](https://discourse.processing.org/t/gyro-accelerometer-noise-in-vr/479 "2018-08-03T14:42:26Z")

</div>

Hello everyone! I’ve been really loving the VR in android mode, its really easy to use! However, I’m developing a little app and I noticed that when the phone is completely still, everything slowly moves/rotates to the …

---

## [How to I make something darker?](https://discourse.processing.org/t/how-to-i-make-something-darker/2326)

<div class="topic-metadata">

**Author:** [@MNLHMBS](https://discourse.processing.org/u/MNLHMBS)\
**Replies:** 5\
**Last updated:** [August 3, 2018, 9:05am UTC](https://discourse.processing.org/t/how-to-i-make-something-darker/2326 "2018-08-03T09:05:01Z")

</div>

I have this code that switches a square from white to black when the mouse is clicked: int value = 255; void draw() { fill(value); rect(25, 25, 50, 50); } void mouseClicked() { if (value == 255) { value = 0; } e…

---

## [ControlP5 library, textfield cursor colour](https://discourse.processing.org/t/controlp5-library-textfield-cursor-colour/2321)

<div class="topic-metadata">

**Author:** [@jormil1](https://discourse.processing.org/u/jormil1)\
**Replies:** 6\
**Last updated:** [August 3, 2018, 8:11am UTC](https://discourse.processing.org/t/controlp5-library-textfield-cursor-colour/2321 "2018-08-03T08:11:21Z")

</div>

Hello! I’m new to cp5 lib and processing at all, but I work on a project from about a month and today I faced a problem and can’t find anyone with the same in the forum. I couldn’t figure out how to change the textfield …

---

## [Dimming and brightening ledstrip using processing](https://discourse.processing.org/t/dimming-and-brightening-ledstrip-using-processing/2269)

<div class="topic-metadata">

**Author:** [@morganruben](https://discourse.processing.org/u/morganruben)\
**Replies:** 7\
**Last updated:** [August 3, 2018, 7:00am UTC](https://discourse.processing.org/t/dimming-and-brightening-ledstrip-using-processing/2269 "2018-08-03T07:00:35Z")

</div>

Hi Everyone! I am kind of new to processing and I am trying to figure out the following: I want to dim and brighten a ledstrip using a slider button in processing. Now I made the slider yet somehow I cannot make it to …

---

## [saveFrame cuts off top and left side of frame](https://discourse.processing.org/t/saveframe-cuts-off-top-and-left-side-of-frame/2026)

<div class="topic-metadata">

**Author:** [@aigos](https://discourse.processing.org/u/aigos)\
**Replies:** 27\
**Last updated:** [August 2, 2018, 11:44pm UTC](https://discourse.processing.org/t/saveframe-cuts-off-top-and-left-side-of-frame/2026 "2018-08-02T23:44:29Z")

</div>

Hey yall, I am using an interpolation algorithm to smooth an image of a heatmap im making from an 8x8 array of thermisistors. It displays an 8x8 picture of circles, but the top row and left column are cut in half for som…

---

## [\[SOLVED\] ArrayIndexOutOfBoundsException: 1](https://discourse.processing.org/t/solved-arrayindexoutofboundsexception-1/2288)

<div class="topic-metadata">

**Author:** [@racs](https://discourse.processing.org/u/racs)\
**Replies:** 11\
**Last updated:** [August 2, 2018, 10:04pm UTC](https://discourse.processing.org/t/solved-arrayindexoutofboundsexception-1/2288 "2018-08-02T22:04:27Z")

</div>

Using an arduino Mega to collect temperature and humidity data then using Processing to display data on meters. Everything works fine for a few seconds then I receive this error: ArrayIndexOutOfBoundsException: 1. Not su…

---

## [Open Call – Choreographic Coding Lab Mainz 2018](https://discourse.processing.org/t/open-call-choreographic-coding-lab-mainz-2018/2323)

<div class="topic-metadata">

**Author:** [@fjenett](https://discourse.processing.org/u/fjenett)\
**Replies:** 0\
**Last updated:** [August 2, 2018, 9:25pm UTC](https://discourse.processing.org/t/open-call-choreographic-coding-lab-mainz-2018/2323 "2018-08-02T21:25:46Z")

</div>

Hey all, since 2013 our dance research project “Motion Bank” has been organising “Choreographic Coding Labs” (CCLs). The format … »offers unique opportunities of exchange and collaboration for digital media artists (you…

---

## [Maze generation problem](https://discourse.processing.org/t/maze-generation-problem/2319)

<div class="topic-metadata">

**Author:** [@relix](https://discourse.processing.org/u/relix)\
**Replies:** 4\
**Last updated:** [August 2, 2018, 8:52pm UTC](https://discourse.processing.org/t/maze-generation-problem/2319 "2018-08-02T20:52:49Z")

</div>

So here’s what I already have: https://pastebin.com/BpUshpKY (this is the relevant function) The maze is divided into invidiual blocks, the maze this code will generate is 9x9 “blocks”. My maze is defined using an X an…

---

## [A quick note on nested TableRow looping](https://discourse.processing.org/t/a-quick-note-on-nested-tablerow-looping/2270)

<div class="topic-metadata">

**Author:** [@DSW](https://discourse.processing.org/u/DSW)\
**Replies:** 7\
**Last updated:** [August 2, 2018, 7:36pm UTC](https://discourse.processing.org/t/a-quick-note-on-nested-tablerow-looping/2270 "2018-08-02T19:36:30Z")

</div>

I ran into a slightly quirky behavior with the Table object today, and figured I’d leave a note in case anyone else runs into this. :slight\_smile: What I’m doing: I’m converting a large spreadsheet to a JSON, for use in…

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

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