# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?page=165

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

**Page:** 166

---

## [Passing (boolean) values from cell to cell in a grid](https://discourse.processing.org/t/passing-boolean-values-from-cell-to-cell-in-a-grid/25967)

<div class="topic-metadata">

**Author:** [@Namrad](https://discourse.processing.org/u/Namrad)\
**Replies:** 1\
**Last updated:** [December 4, 2020, 10:38pm UTC](https://discourse.processing.org/t/passing-boolean-values-from-cell-to-cell-in-a-grid/25967 "2020-12-04T22:38:56Z")

</div>

Hello, I’m having trouble solving a problem which I don’t think should be very difficult, yet I haven’t been able to come close to how to figure it out. The simplified version of my idea starts with a grid of objects, …

---

## [Collision detection with walls and objects](https://discourse.processing.org/t/collision-detection-with-walls-and-objects/25856)

<div class="topic-metadata">

**Author:** [@millionish](https://discourse.processing.org/u/millionish)\
**Replies:** 8\
**Last updated:** [December 4, 2020, 9:44pm UTC](https://discourse.processing.org/t/collision-detection-with-walls-and-objects/25856 "2020-12-04T21:44:38Z")

</div>

I’m making a 2D shooter game where a player navigates through the house (as shown in image). I want to add collision detection with walls and objects so that the player doesn’t go over it. Any simple ways to accompli…

---

## [I need help with a project](https://discourse.processing.org/t/i-need-help-with-a-project/25952)

<div class="topic-metadata">

**Author:** [@psn](https://discourse.processing.org/u/psn)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 8:00pm UTC](https://discourse.processing.org/t/i-need-help-with-a-project/25952 "2020-12-04T20:00:28Z")

</div>

Hello! I have made a sketch with bouncing balls, where every time i click, a new ball appears. I want every new ball to have a random colour. Thank you! //GLOBAL VARIABLES Ball myBall; Text myText; Cursor myCursor; fina…

---

## [Serial with Hardware Flow Control](https://discourse.processing.org/t/serial-with-hardware-flow-control/25795)

<div class="topic-metadata">

**Author:** [@gerrikoio](https://discourse.processing.org/u/gerrikoio)\
**Replies:** 5\
**Last updated:** [December 4, 2020, 4:10pm UTC](https://discourse.processing.org/t/serial-with-hardware-flow-control/25795 "2020-12-04T16:10:51Z")

</div>

Every now and then you need to interface with a device via the computer serial port that asks for Hardware Flow Control (RTS/CTS). I had a look at the documentation: https://processing.org/reference/libraries/serial/Ser…

---

## [Button with changing fading text](https://discourse.processing.org/t/button-with-changing-fading-text/25926)

<div class="topic-metadata">

**Author:** [@jenk](https://discourse.processing.org/u/jenk)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 4:01pm UTC](https://discourse.processing.org/t/button-with-changing-fading-text/25926 "2020-12-04T16:01:31Z")

</div>

Hi. I know there’s something blindingly obvious wrong with this - but I’m too blind to know what it is. Would love some help if you can spare the time. The objective is for a button to have text that fades in and out …

---

## [How can I make a program that hits balls in processing?](https://discourse.processing.org/t/how-can-i-make-a-program-that-hits-balls-in-processing/25893)

<div class="topic-metadata">

**Author:** [@hahahajayden](https://discourse.processing.org/u/hahahajayden)\
**Replies:** 4\
**Last updated:** [December 4, 2020, 12:00am UTC](https://discourse.processing.org/t/how-can-i-make-a-program-that-hits-balls-in-processing/25893 "2020-12-04T00:00:29Z")

</div>

please format code with \</\> button \* homework policy \* asking questions hello! I am a novice processing programmer living in Korea. I used Google Translator, so I hope you understand even if the words are strange. T…

---

## [Can we get new light engine?](https://discourse.processing.org/t/can-we-get-new-light-engine/25911)

<div class="topic-metadata">

**Author:** [@WilliamL](https://discourse.processing.org/u/WilliamL)\
**Replies:** 1\
**Last updated:** [December 3, 2020, 4:53pm UTC](https://discourse.processing.org/t/can-we-get-new-light-engine/25911 "2020-12-03T16:53:48Z")

</div>

Hi all! I’m new to the forum but not new to processing, in fact a long time user. I’m calling out to you devs who are doing an astonishing work with Processing! I was coding a project the other night and was playing a…

---

## [Library for cardboard-like display generation for windows](https://discourse.processing.org/t/library-for-cardboard-like-display-generation-for-windows/25928)

<div class="topic-metadata">

**Author:** [@Johan](https://discourse.processing.org/u/Johan)\
**Replies:** 2\
**Last updated:** [December 3, 2020, 3:09pm UTC](https://discourse.processing.org/t/library-for-cardboard-like-display-generation-for-windows/25928 "2020-12-03T15:09:28Z")

</div>

Is there a library for windows that performs some stereoscopic rendering as seen in Android/Google cardboards? Also called split stereoscopic images I believe…

---

## [Creating a button and makin it work!](https://discourse.processing.org/t/creating-a-button-and-makin-it-work/25840)

<div class="topic-metadata">

**Author:** [@denis](https://discourse.processing.org/u/denis)\
**Replies:** 4\
**Last updated:** [December 3, 2020, 2:55pm UTC](https://discourse.processing.org/t/creating-a-button-and-makin-it-work/25840 "2020-12-03T14:55:43Z")

</div>

Hi everyone, I created a button with lp5 control but I can’t get it to work. I want it to function as a start button and click on it to start the code I already create. Thank you! This is what i have in the botton code: …

---

## [Image Slideshow based on folder + QR code triggers /Performance](https://discourse.processing.org/t/image-slideshow-based-on-folder-qr-code-triggers-performance/25895)

<div class="topic-metadata">

**Author:** [@patrickBEL](https://discourse.processing.org/u/patrickBEL)\
**Replies:** 2\
**Last updated:** [December 3, 2020, 7:05am UTC](https://discourse.processing.org/t/image-slideshow-based-on-folder-qr-code-triggers-performance/25895 "2020-12-03T07:05:30Z")

</div>

Hello, I’m a starter and i’m very happy where i got with my code, it does work, but the performance is not optimal, the fps drops significantly, and it makes the fade not nice. And i don’t see how i can ‘simplify’ or m…

---

## [SVG (not always vector format?)](https://discourse.processing.org/t/svg-not-always-vector-format/25885)

<div class="topic-metadata">

**Author:** [@bdon](https://discourse.processing.org/u/bdon)\
**Replies:** 3\
**Last updated:** [December 3, 2020, 2:21am UTC](https://discourse.processing.org/t/svg-not-always-vector-format/25885 "2020-12-03T02:21:35Z")

</div>

hi there - i’m using processing’s SVG library to export SVG files from still images. i’ve noticed that this output is somewhat erratic, though. while it more-or-less always exports the image as i expect, different draw…

---

## [Whats the best way to connect a processing sketch to a minecraft server](https://discourse.processing.org/t/whats-the-best-way-to-connect-a-processing-sketch-to-a-minecraft-server/25910)

<div class="topic-metadata">

**Author:** [@capbap](https://discourse.processing.org/u/capbap)\
**Replies:** 0\
**Last updated:** [December 3, 2020, 12:37am UTC](https://discourse.processing.org/t/whats-the-best-way-to-connect-a-processing-sketch-to-a-minecraft-server/25910 "2020-12-03T00:37:55Z")

</div>

i have a bukkit server running on ubuntu 20 i would like to have a processing sketch automatically trigger commands to make various games on the server i could do this by simply using java.awt.robot to paste commands i…

---

## [Help a newbie create a particle system that follows my player movement](https://discourse.processing.org/t/help-a-newbie-create-a-particle-system-that-follows-my-player-movement/25905)

<div class="topic-metadata">

**Author:** [@Cal\_codes](https://discourse.processing.org/u/Cal_codes)\
**Replies:** 0\
**Last updated:** [December 2, 2020, 10:43pm UTC](https://discourse.processing.org/t/help-a-newbie-create-a-particle-system-that-follows-my-player-movement/25905 "2020-12-02T22:43:32Z")

</div>

Hey guys, I am making a geometrical game for some fun right now and have been pondering for a while how to make sure my “users” would be able to see the direction they are moving in. Right now I have a line that shows t…

---

## [Processing IDE scale variables](https://discourse.processing.org/t/processing-ide-scale-variables/25825)

<div class="topic-metadata">

**Author:** [@Pr0tonX](https://discourse.processing.org/u/Pr0tonX)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 3:46pm UTC](https://discourse.processing.org/t/processing-ide-scale-variables/25825 "2020-12-02T15:46:32Z")

</div>

Hi there, my laptop has a 4K screen and I have searched quite a bit in processing source code to modify the scale of display without a complete success ; I found how to scale correctly the "coding part "of the window an…

---

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

<div class="topic-metadata">

**Author:** [@Wengi](https://discourse.processing.org/u/Wengi)\
**Replies:** 1\
**Last updated:** [December 2, 2020, 1:15pm UTC](https://discourse.processing.org/t/processing-game/25890 "2020-12-02T13:15:27Z")

</div>

Hi guys Does anyone here know how to program this game? It doesn’t have to be exactly the same … Would appreciate your help Lg Wengi😉 The game: https://future-games.itch.io/meteor-run (these blue flying things don’t…

---

## [It keeps me waiting](https://discourse.processing.org/t/it-keeps-me-waiting/25883)

<div class="topic-metadata">

**Author:** [@muffininwinter](https://discourse.processing.org/u/muffininwinter)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 12:17pm UTC](https://discourse.processing.org/t/it-keeps-me-waiting/25883 "2020-12-02T12:17:01Z")

</div>

It keeps loading, but never get the program running. Anyone knows what’s wrong with it? Thanks a lot!

---

## [Convert String to Integer](https://discourse.processing.org/t/convert-string-to-integer/2430)

<div class="topic-metadata">

**Author:** [@jarlook](https://discourse.processing.org/u/jarlook)\
**Replies:** 11\
**Last updated:** [December 2, 2020, 11:40am UTC](https://discourse.processing.org/t/convert-string-to-integer/2430 "2020-12-02T11:40:31Z")

</div>

How can I convert a string to integer? I have a string that contains a set of values, some are text, but some are actually numeric values, all separated by commas. I can use split(string,",") to get any particular valu…

---

## [Animated Text p5](https://discourse.processing.org/t/animated-text-p5/25881)

<div class="topic-metadata">

**Author:** [@kketushkaaa](https://discourse.processing.org/u/kketushkaaa)\
**Replies:** 1\
**Last updated:** [December 2, 2020, 3:23am UTC](https://discourse.processing.org/t/animated-text-p5/25881 "2020-12-02T03:23:16Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I want to know how can I manage changing font weights so it’s animated

---

## [Exporting Applications](https://discourse.processing.org/t/exporting-applications/25853)

<div class="topic-metadata">

**Author:** [@HumanoidX](https://discourse.processing.org/u/HumanoidX)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 3:03am UTC](https://discourse.processing.org/t/exporting-applications/25853 "2020-12-02T03:03:37Z")

</div>

I know how to export to an application. But when I export one, it create a lot of other files. Is it possible to export an application without the “lib” folder? I know the “source” folder is not necessary, and the “ja…

---

## [Help! I have some trouble with my IDE！！](https://discourse.processing.org/t/help-i-have-some-trouble-with-my-ide/25862)

<div class="topic-metadata">

**Author:** [@AbleYudada](https://discourse.processing.org/u/AbleYudada)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 1:57am UTC](https://discourse.processing.org/t/help-i-have-some-trouble-with-my-ide/25862 "2020-12-02T01:57:34Z")

</div>

Hi guys . My IDE keeps reporting errors recently，I dont know what happen to it.The following is a screenshot of its error。 it will appear from time to time, and then the whole IDE will get stuck. Have any of you enco…

---

## [Help with placing a shape on grid for tic tac toe. My code is shown below](https://discourse.processing.org/t/help-with-placing-a-shape-on-grid-for-tic-tac-toe-my-code-is-shown-below/25846)

<div class="topic-metadata">

**Author:** [@seannyb2000](https://discourse.processing.org/u/seannyb2000)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 12:51am UTC](https://discourse.processing.org/t/help-with-placing-a-shape-on-grid-for-tic-tac-toe-my-code-is-shown-below/25846 "2020-12-02T00:51:04Z")

</div>

please format code with \</\> button \* homework policy \* asking questions char player=‘X’+‘O’; // inputs 2 players int cols=3; int rows=3; Cell board= new Cell\[cols\]\[rows\]; void setup() { size(600,600); for(int i…

---

## [Array index out of bounds question](https://discourse.processing.org/t/array-index-out-of-bounds-question/25870)

<div class="topic-metadata">

**Author:** [@karenben](https://discourse.processing.org/u/karenben)\
**Replies:** 4\
**Last updated:** [December 1, 2020, 10:46pm UTC](https://discourse.processing.org/t/array-index-out-of-bounds-question/25870 "2020-12-01T22:46:51Z")

</div>

What’s causing the ArrayIndexOutOfBoundsException: 5? I want to make each bounce have a function that increases the value of the counter per ball. If the counter is greater than 10, stop drawing the ball int bounces = …

---

## [Int that goes from 1 to 100](https://discourse.processing.org/t/int-that-goes-from-1-to-100/25873)

<div class="topic-metadata">

**Author:** [@denis](https://discourse.processing.org/u/denis)\
**Replies:** 5\
**Last updated:** [December 1, 2020, 10:21pm UTC](https://discourse.processing.org/t/int-that-goes-from-1-to-100/25873 "2020-12-01T22:21:24Z")

</div>

Hello everyone, Im trying to make an int that goes from the number 1 to 100, increasing one by one and then to reset and start again. I hope someone can help, Thanks!! D.

---

## [Creating a grid for art](https://discourse.processing.org/t/creating-a-grid-for-art/25874)

<div class="topic-metadata">

**Author:** [@Matrix](https://discourse.processing.org/u/Matrix)\
**Replies:** 1\
**Last updated:** [December 1, 2020, 10:14pm UTC](https://discourse.processing.org/t/creating-a-grid-for-art/25874 "2020-12-01T22:14:16Z")

</div>

Hi, I’m trying to create grid that makes it so the rectangles that are created by my mouse clicks are lined up perfectly on either the x or y axis. This is all so I can make pixel art that’s consistent. This is what I ha…

---

## [Join crosses with random lines](https://discourse.processing.org/t/join-crosses-with-random-lines/25395)

<div class="topic-metadata">

**Author:** [@Dimdimtri](https://discourse.processing.org/u/Dimdimtri)\
**Replies:** 23\
**Last updated:** [December 1, 2020, 9:20pm UTC](https://discourse.processing.org/t/join-crosses-with-random-lines/25395 "2020-12-01T21:20:58Z")

</div>

Hi everyone, I have a simple question but which one I’m blocking on. I would like to join by a line the center of two crosses at random. I’m still new to processing. I’ve understood that line (x + 23, y + 23, random (…

---

## [How to create a reverse fill? Possible?](https://discourse.processing.org/t/how-to-create-a-reverse-fill-possible/25842)

<div class="topic-metadata">

**Author:** [@dgoren1](https://discourse.processing.org/u/dgoren1)\
**Replies:** 1\
**Last updated:** [December 1, 2020, 8:53pm UTC](https://discourse.processing.org/t/how-to-create-a-reverse-fill-possible/25842 "2020-12-01T20:53:10Z")

</div>

Hello! I am trying to figure out how to create a reverse fill of this shape that I have drawn. The purpose of the reverse fill will be to block out some other shapes that I’m drawing outside the borders of this original…

---

## [(Delete) Any Image Created Through Clicks](https://discourse.processing.org/t/delete-any-image-created-through-clicks/25867)

<div class="topic-metadata">

**Author:** [@Matrix](https://discourse.processing.org/u/Matrix)\
**Replies:** 1\
**Last updated:** [December 1, 2020, 7:16pm UTC](https://discourse.processing.org/t/delete-any-image-created-through-clicks/25867 "2020-12-01T19:16:09Z")

</div>

Hi, I’m trying to create a program that makes it so every new click reveals a rectangle in a specific region. When all of the clicks are done, then all the rectangles will be revealed- showing an image. Basically pixel a…

---

## [The constructor Gif(bodycreate.Particle, String) is undefined](https://discourse.processing.org/t/the-constructor-gif-bodycreate-particle-string-is-undefined/25719)

<div class="topic-metadata">

**Author:** [@AbleYudada](https://discourse.processing.org/u/AbleYudada)\
**Replies:** 4\
**Last updated:** [December 1, 2020, 3:45pm UTC](https://discourse.processing.org/t/the-constructor-gif-bodycreate-particle-string-is-undefined/25719 "2020-12-01T15:45:39Z")

</div>

Hi everyone ，I encountered some difficulties in the code. I want to create a new gif when I click the mouse . But it can’t work 。It said The constructor Gif(bodycreate.Particle, String) is undefined. The following is pa…

---

## [A moving ball which bounces off the sides](https://discourse.processing.org/t/a-moving-ball-which-bounces-off-the-sides/25860)

<div class="topic-metadata">

**Author:** [@thedarklord](https://discourse.processing.org/u/thedarklord)\
**Replies:** 1\
**Last updated:** [December 1, 2020, 3:25pm UTC](https://discourse.processing.org/t/a-moving-ball-which-bounces-off-the-sides/25860 "2020-12-01T15:25:10Z")

</div>

I wanna make a ball move and bounce off the walls. Can anyoune help me? thanks in advance

---

## [Use Kinect 1 or 2 sensors with Processing 2 or 3](https://discourse.processing.org/t/use-kinect-1-or-2-sensors-with-processing-2-or-3/86)

<div class="topic-metadata">

**Author:** [@totovr76](https://discourse.processing.org/u/totovr76)\
**Replies:** 28\
**Last updated:** [December 1, 2020, 12:37pm UTC](https://discourse.processing.org/t/use-kinect-1-or-2-sensors-with-processing-2-or-3/86 "2020-12-01T12:37:57Z")

</div>

SimpleOpenNI Repository

[Previous page](https://discourse.processing.org/c/processing/6.md?page=164)

[Next page](https://discourse.processing.org/c/processing/6.md?page=166)
