# Processing

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

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

**Page:** 376

---

## [How to show multiple data from arduino](https://discourse.processing.org/t/how-to-show-multiple-data-from-arduino/2255)

<div class="topic-metadata">

**Author:** [@sandy](https://discourse.processing.org/u/sandy)\
**Replies:** 6\
**Last updated:** [August 6, 2018, 8:44am UTC](https://discourse.processing.org/t/how-to-show-multiple-data-from-arduino/2255 "2018-08-06T08:44:19Z")

</div>

how to read the value from arduino and then i want to displaying that on processing window. This is my arduino code : #include \<TimerOne.h\> #include \<PZEM004T.h\> #include \<LiquidCrystal.h\> int dutycycle = 0; // Ini…

---

## [Http request library](https://discourse.processing.org/t/http-request-library/2379)

<div class="topic-metadata">

**Author:** [@AbuYazid](https://discourse.processing.org/u/AbuYazid)\
**Replies:** 2\
**Last updated:** [August 6, 2018, 5:14am UTC](https://discourse.processing.org/t/http-request-library/2379 "2018-08-06T05:14:53Z")

</div>

I keep on getting this error message, how to solve it. I tried copying the library files manually but still, it’s not working. pls help

---

## [Help a newbie with Penrose tilling](https://discourse.processing.org/t/help-a-newbie-with-penrose-tilling/2392)

<div class="topic-metadata">

**Author:** [@Tonchii](https://discourse.processing.org/u/Tonchii)\
**Replies:** 3\
**Last updated:** [August 5, 2018, 10:16pm UTC](https://discourse.processing.org/t/help-a-newbie-with-penrose-tilling/2392 "2018-08-05T22:16:34Z")

</div>

Hello guys, i have been trying to draw this Penrose tile, I already got the pentagon but now i’m stuck with the other figure. Any help? I’m new to this. By the way here’s the code: void setup(){ size(400,400); } …

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

## [Creating a graph - Error: Graph is bunched together](https://discourse.processing.org/t/creating-a-graph-error-graph-is-bunched-together/2286)

<div class="topic-metadata">

**Author:** [@sjames2](https://discourse.processing.org/u/sjames2)\
**Replies:** 1\
**Last updated:** [August 2, 2018, 4:35pm UTC](https://discourse.processing.org/t/creating-a-graph-error-graph-is-bunched-together/2286 "2018-08-02T16:35:26Z")

</div>

Hello! I’m recently new to java-processing, and we’re curently working on creating graphs. My program loads, but it bunches my graph up together. If anyone could help me it would be greatly appreciated! int\[\] Private; …

---

## [Create multiple buttons with different functions](https://discourse.processing.org/t/create-multiple-buttons-with-different-functions/2304)

<div class="topic-metadata">

**Author:** [@Haven](https://discourse.processing.org/u/Haven)\
**Replies:** 2\
**Last updated:** [August 2, 2018, 1:46pm UTC](https://discourse.processing.org/t/create-multiple-buttons-with-different-functions/2304 "2018-08-02T13:46:15Z")

</div>

Hi, I very new to processing and I have to do a project for my university. I can’t figure out how to build multiple buttons that each have a different function. The whole thing should be a quiz when it is ready. Total o…

---

## [Spread infection to other cells (help with a school assignment)](https://discourse.processing.org/t/spread-infection-to-other-cells-help-with-a-school-assignment/2110)

<div class="topic-metadata">

**Author:** [@the-junk](https://discourse.processing.org/u/the-junk)\
**Replies:** 9\
**Last updated:** [August 2, 2018, 1:44pm UTC](https://discourse.processing.org/t/spread-infection-to-other-cells-help-with-a-school-assignment/2110 "2018-08-02T13:44:12Z")

</div>

Can someone please help me spread the infection to other cells? I am able to spread it to the left neighbouring cell. But when I spread in other directions, the infection goes out of bounds of myth array and crashes the…

---

## [What to do with old, obsolete libraries?](https://discourse.processing.org/t/what-to-do-with-old-obsolete-libraries/2305)

<div class="topic-metadata">

**Author:** [@haschdl](https://discourse.processing.org/u/haschdl)\
**Replies:** 0\
**Last updated:** [August 2, 2018, 1:37pm UTC](https://discourse.processing.org/t/what-to-do-with-old-obsolete-libraries/2305 "2018-08-02T13:37:40Z")

</div>

Hello, I noticed Processing has at least a couple of contributed libraries which are no longer working. What are your thoughts, any plans of removing libraries from the catalog if they are no longer working?

---

## [Help with void receive](https://discourse.processing.org/t/help-with-void-receive/2121)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 3\
**Last updated:** [August 2, 2018, 11:11am UTC](https://discourse.processing.org/t/help-with-void-receive/2121 "2018-08-02T11:11:51Z")

</div>

I wanted to use my laptop to work on some processing sketches that I had on my desktop PC. Laptop Environment: WINDOWS 10 with PROCESSING 3.3.7, static IP Desktop Environment: WINDOWS 7 with PROCESSING 3.3.3, another…

---

## [Increase memory allocated for the Console](https://discourse.processing.org/t/increase-memory-allocated-for-the-console/2294)

<div class="topic-metadata">

**Author:** [@thereventonshow](https://discourse.processing.org/u/thereventonshow)\
**Replies:** 2\
**Last updated:** [August 2, 2018, 7:44am UTC](https://discourse.processing.org/t/increase-memory-allocated-for-the-console/2294 "2018-08-02T07:44:22Z")

</div>

Hello I need to have an bigger Console, I have searched many ways to have it but it don’t seem that processing allow that, I have tried to change console.length in the preference File, but if I write an to big number an…

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

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