# Processing

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

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

**Page:** 170

---

## [Server that gets image stream from spout and send it to client](https://discourse.processing.org/t/server-that-gets-image-stream-from-spout-and-send-it-to-client/25563)

<div class="topic-metadata">

**Author:** [@phaidon](https://discourse.processing.org/u/phaidon)\
**Replies:** 2\
**Last updated:** [November 20, 2020, 6:05pm UTC](https://discourse.processing.org/t/server-that-gets-image-stream-from-spout-and-send-it-to-client/25563 "2020-11-20T18:05:38Z")

</div>

hello all, i try to get a texture from spout and send it thought server and client, the data flow seems working but i can reconvert the bytes into an image the scripts are here server with spout: import java.nio.Byte…

---

## [How to make clone stamp tool as the photoshop?](https://discourse.processing.org/t/how-to-make-clone-stamp-tool-as-the-photoshop/25547)

<div class="topic-metadata">

**Author:** [@datacolor](https://discourse.processing.org/u/datacolor)\
**Replies:** 1\
**Last updated:** [November 20, 2020, 6:01am UTC](https://discourse.processing.org/t/how-to-make-clone-stamp-tool-as-the-photoshop/25547 "2020-11-20T06:01:23Z")

</div>

please format code with \</\> button \* homework policy \* asking questions The idea is with mouse pointer(as photoshop) clone pixel or pixels from the PImage1 to PImage2,please!!

---

## [When I press "run" buttom, there's no response, no warning or error. Nothing seems to have happened](https://discourse.processing.org/t/when-i-press-run-buttom-theres-no-response-no-warning-or-error-nothing-seems-to-have-happened/25504)

<div class="topic-metadata">

**Author:** [@MuTsing](https://discourse.processing.org/u/MuTsing)\
**Replies:** 2\
**Last updated:** [November 20, 2020, 4:31am UTC](https://discourse.processing.org/t/when-i-press-run-buttom-theres-no-response-no-warning-or-error-nothing-seems-to-have-happened/25504 "2020-11-20T04:31:49Z")

</div>

And when i press "pause" or "run" again, the program stucks. I'm sure that's not my programs' fault, because they ran well yesterday

---

## [Please help on copying pixels between two PImage](https://discourse.processing.org/t/please-help-on-copying-pixels-between-two-pimage/24350)

<div class="topic-metadata">

**Author:** [@datacolor](https://discourse.processing.org/u/datacolor)\
**Replies:** 4\
**Last updated:** [November 19, 2020, 11:58pm UTC](https://discourse.processing.org/t/please-help-on-copying-pixels-between-two-pimage/24350 "2020-11-19T23:58:49Z")

</div>

I have two images in two PImage the first image ( 1.jpg) consists of colored mosaics, while the second image also (2.jpg) consists only of a succession of pixels of a single color on a black background. Well, what I’m t…

---

## [Help me to bounce the ball of the paddle](https://discourse.processing.org/t/help-me-to-bounce-the-ball-of-the-paddle/25540)

<div class="topic-metadata">

**Author:** [@AzizurRahman](https://discourse.processing.org/u/AzizurRahman)\
**Replies:** 7\
**Last updated:** [November 19, 2020, 9:05pm UTC](https://discourse.processing.org/t/help-me-to-bounce-the-ball-of-the-paddle/25540 "2020-11-19T21:05:59Z")

</div>

Hi so far I wrote this code which has the ball bouncing from the edges.But I have the paddle here but i want it to make bouncing from the from the paddle I have literally no idea how make the ball bounce from the paddle.…

---

## [I need serious help with creating a pong game in processing for my college homework!](https://discourse.processing.org/t/i-need-serious-help-with-creating-a-pong-game-in-processing-for-my-college-homework/25545)

<div class="topic-metadata">

**Author:** [@TheGuga](https://discourse.processing.org/u/TheGuga)\
**Replies:** 1\
**Last updated:** [November 19, 2020, 8:30pm UTC](https://discourse.processing.org/t/i-need-serious-help-with-creating-a-pong-game-in-processing-for-my-college-homework/25545 "2020-11-19T20:30:43Z")

</div>

Hello everyone! Im being for help cause today is the deadline of the work a need to delivery. basically im creating a pong game in processing using java, but im having serious problems with the creation of a menu and s…

---

## [Void settings() not working](https://discourse.processing.org/t/void-settings-not-working/25542)

<div class="topic-metadata">

**Author:** [@Ellie98](https://discourse.processing.org/u/Ellie98)\
**Replies:** 2\
**Last updated:** [November 19, 2020, 8:03pm UTC](https://discourse.processing.org/t/void-settings-not-working/25542 "2020-11-19T20:03:41Z")

</div>

Hello, I just typed this code from our script to processing. And the size is staying small, why isn’t it changing? public void setup() { // Fenstertitel mit aktueller Fenstergröße setzen surface.setTitle("Schach "…

---

## [Multiple window with user input](https://discourse.processing.org/t/multiple-window-with-user-input/25515)

<div class="topic-metadata">

**Author:** [@MiguelSanches](https://discourse.processing.org/u/MiguelSanches)\
**Replies:** 4\
**Last updated:** [November 19, 2020, 9:12am UTC](https://discourse.processing.org/t/multiple-window-with-user-input/25515 "2020-11-19T09:12:03Z")

</div>

Hi all! I am trying to make a simple GUI with an option menu so that when a button is pressed, a second window opens and waits for the user to click on a button of that second window, before closing it and returning to …

---

## [Trails not fading completely WHY?](https://discourse.processing.org/t/trails-not-fading-completely-why/25514)

<div class="topic-metadata">

**Author:** [@Eyetoof](https://discourse.processing.org/u/Eyetoof)\
**Replies:** 2\
**Last updated:** [November 18, 2020, 5:21pm UTC](https://discourse.processing.org/t/trails-not-fading-completely-why/25514 "2020-11-18T17:21:52Z")

</div>

I learned a technique from the Ben Fry books for doing trails. Its very simple and effective but I have come across an issue that I don’t understand and wonder if someone can explain. The technique is to, at the top of…

---

## [Virtual Piano Help ASAP](https://discourse.processing.org/t/virtual-piano-help-asap/25503)

<div class="topic-metadata">

**Author:** [@lil\_doggo](https://discourse.processing.org/u/lil_doggo)\
**Replies:** 3\
**Last updated:** [November 18, 2020, 4:47pm UTC](https://discourse.processing.org/t/virtual-piano-help-asap/25503 "2020-11-18T16:47:52Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi! I’m making a virtual piano for a school assignment and since the black keys and white keys overlap, two notes are played when I tap on blac…

---

## [Generating a hairy circle](https://discourse.processing.org/t/generating-a-hairy-circle/25481)

<div class="topic-metadata">

**Author:** [@fiveyearplan](https://discourse.processing.org/u/fiveyearplan)\
**Replies:** 5\
**Last updated:** [November 18, 2020, 4:05pm UTC](https://discourse.processing.org/t/generating-a-hairy-circle/25481 "2020-11-18T16:05:20Z")

</div>

My assignment is to generate a hair-like/fur-like texture. For this case, I’m creating a circle of this texture and I would like some advice on how to improve it. PGraphics create\_fur\_circle(int colour, int radius) { P…

---

## [Firebase and Processing (Java)](https://discourse.processing.org/t/firebase-and-processing-java/12256)

<div class="topic-metadata">

**Author:** [@William3954](https://discourse.processing.org/u/William3954)\
**Replies:** 9\
**Last updated:** [November 18, 2020, 2:39pm UTC](https://discourse.processing.org/t/firebase-and-processing-java/12256 "2020-11-18T14:39:09Z")

</div>

Has anyone had success with integrating Processing and Firebase from google? I have been trying to figure out a way to do it but it so far has been too far beyond my reach. Theoretically, I think it should work since the…

---

## [How to jump the line when it reaches the limit of a window?](https://discourse.processing.org/t/how-to-jump-the-line-when-it-reaches-the-limit-of-a-window/25501)

<div class="topic-metadata">

**Author:** [@EmmanuelHra](https://discourse.processing.org/u/EmmanuelHra)\
**Replies:** 2\
**Last updated:** [November 18, 2020, 2:22pm UTC](https://discourse.processing.org/t/how-to-jump-the-line-when-it-reaches-the-limit-of-a-window/25501 "2020-11-18T14:22:52Z")

</div>

I am working in processing and I have to print the following: What I want to do is that when the limit of the window of a line break is reached and I write the letter just below the first P, I will make the line brea…

---

## [Fixing color to squares with eyedropper](https://discourse.processing.org/t/fixing-color-to-squares-with-eyedropper/25508)

<div class="topic-metadata">

**Author:** [@scooijmans](https://discourse.processing.org/u/scooijmans)\
**Replies:** 9\
**Last updated:** [November 18, 2020, 1:59pm UTC](https://discourse.processing.org/t/fixing-color-to-squares-with-eyedropper/25508 "2020-11-18T13:59:05Z")

</div>

Hi, I’m not very good at processing and am stuck with this code. I drew 5 squares with the color of the x and y position of the mouse. Next, I want to state that with the first mouseclick the color the mouse is on at th…

---

## [Having trouble installing libraries offline](https://discourse.processing.org/t/having-trouble-installing-libraries-offline/25492)

<div class="topic-metadata">

**Author:** [@gudmundursteinn](https://discourse.processing.org/u/gudmundursteinn)\
**Replies:** 3\
**Last updated:** [November 18, 2020, 1:48pm UTC](https://discourse.processing.org/t/having-trouble-installing-libraries-offline/25492 "2020-11-18T13:48:42Z")

</div>

Hello I have been trying to install libraries in a windows computer that, for various purposes has no internet connection. Some libraries are straight forward. In the case of PixelFlow and VideoExport I’m having trouble…

---

## [Space invaders game](https://discourse.processing.org/t/space-invaders-game/25489)

<div class="topic-metadata">

**Author:** [@TheGullible1](https://discourse.processing.org/u/TheGullible1)\
**Replies:** 18\
**Last updated:** [November 18, 2020, 12:29pm UTC](https://discourse.processing.org/t/space-invaders-game/25489 "2020-11-18T12:29:39Z")

</div>

Hi again, hope everyone is doing well… im stuck on trying to get my player to shoot bullets at the alien. main: my background is an everlasting background which will always carry on! PImage background; int x=0; //gl…

---

## [Issue with transfer from PDE to openprocessing](https://discourse.processing.org/t/issue-with-transfer-from-pde-to-openprocessing/25479)

<div class="topic-metadata">

**Author:** [@Divitiacus](https://discourse.processing.org/u/Divitiacus)\
**Replies:** 2\
**Last updated:** [November 17, 2020, 10:53pm UTC](https://discourse.processing.org/t/issue-with-transfer-from-pde-to-openprocessing/25479 "2020-11-17T22:53:33Z")

</div>

I wanted to start to use openprocessing to publish my sketches but it seems the transfer from PDE doesn’t work 1:1. Sketch: I get the error message that createShape is not defined. However it is (Line 203). I thought…

---

## [Problem while saving script in Processing](https://discourse.processing.org/t/problem-while-saving-script-in-processing/25495)

<div class="topic-metadata">

**Author:** [@DSp](https://discourse.processing.org/u/DSp)\
**Replies:** 1\
**Last updated:** [November 17, 2020, 8:48pm UTC](https://discourse.processing.org/t/problem-while-saving-script-in-processing/25495 "2020-11-17T20:48:29Z")

</div>

Hello I save a script in processing and when I open the file again, the script has not been saved and the file is empty. Do you have any ideas on what is going on?! Danae

---

## [G4P Gtextbox border issue](https://discourse.processing.org/t/g4p-gtextbox-border-issue/25490)

<div class="topic-metadata">

**Author:** [@Piko](https://discourse.processing.org/u/Piko)\
**Replies:** 2\
**Last updated:** [November 17, 2020, 6:01pm UTC](https://discourse.processing.org/t/g4p-gtextbox-border-issue/25490 "2020-11-17T18:01:23Z")

</div>

Hi, When i use a dark background and custom colorscheme on a GTextfield the bottom line of the textfield disappears. This behaviour is not with scrollbars. Below is a demo, any suggestions? // ------------------------…

---

## [Synesketch help setting it up in P](https://discourse.processing.org/t/synesketch-help-setting-it-up-in-p/25487)

<div class="topic-metadata">

**Author:** [@jestern](https://discourse.processing.org/u/jestern)\
**Replies:** 0\
**Last updated:** [November 17, 2020, 2:10pm UTC](https://discourse.processing.org/t/synesketch-help-setting-it-up-in-p/25487 "2020-11-17T14:10:21Z")

</div>

Hi guys I’m new to Processing, I’m trying to setup this library of Synesketch https://krcadinac.com/work/projects/synesketch/ I think it should be straightforward but it doesn’t work. Anybody can help me with a basic kno…

---

## [Multiple type of boids flocking simulation](https://discourse.processing.org/t/multiple-type-of-boids-flocking-simulation/25439)

<div class="topic-metadata">

**Author:** [@ss999](https://discourse.processing.org/u/ss999)\
**Replies:** 2\
**Last updated:** [November 17, 2020, 1:17pm UTC](https://discourse.processing.org/t/multiple-type-of-boids-flocking-simulation/25439 "2020-11-17T13:17:54Z")

</div>

Hi, I am trying to create a flocking system based on Craig Reynolds Boids, which contain multiple type of boids. And each type of boids will interact with the other type of boids. Like this.( It is written by Husselma…

---

## [G4P Gpanel and Gview](https://discourse.processing.org/t/g4p-gpanel-and-gview/25474)

<div class="topic-metadata">

**Author:** [@Piko](https://discourse.processing.org/u/Piko)\
**Replies:** 2\
**Last updated:** [November 17, 2020, 10:50am UTC](https://discourse.processing.org/t/g4p-gpanel-and-gview/25474 "2020-11-17T10:50:55Z")

</div>

Hi, I want to add a GView area on a Gpanel but when i do this the color of the Gpanelcolors is darker. It looks like a shade on the view area. I would like to have this transparent to match the real backgroundcolor of…

---

## [Radix 32+ Converter](https://discourse.processing.org/t/radix-32-converter/25435)

<div class="topic-metadata">

**Author:** [@HumanoidX](https://discourse.processing.org/u/HumanoidX)\
**Replies:** 4\
**Last updated:** [November 17, 2020, 4:03am UTC](https://discourse.processing.org/t/radix-32-converter/25435 "2020-11-17T04:03:11Z")

</div>

I want to convert any base to any base. I’m using this right now: void setup(){ println(baseConversion("JAVA",36,10)); } String baseConversion(String input,int fromBase,int toBase){ return reverseCase(Integer.toSt…

---

## [Collision with images](https://discourse.processing.org/t/collision-with-images/25475)

<div class="topic-metadata">

**Author:** [@TheGullible1](https://discourse.processing.org/u/TheGullible1)\
**Replies:** 2\
**Last updated:** [November 16, 2020, 10:57pm UTC](https://discourse.processing.org/t/collision-with-images/25475 "2020-11-16T22:57:26Z")

</div>

trying to use: //collision detection boolean Colarrow(arrow other){ return (abs(this.x-other.x) \<50 && abs(this.y-other.y)\<150); } this is how I’m trying to use it: arrow phil, grill; void setup(){ …

---

## [Implementing an image when it bounces off the wall it will show which direction its going to](https://discourse.processing.org/t/implementing-an-image-when-it-bounces-off-the-wall-it-will-show-which-direction-its-going-to/25469)

<div class="topic-metadata">

**Author:** [@TheGullible1](https://discourse.processing.org/u/TheGullible1)\
**Replies:** 9\
**Last updated:** [November 16, 2020, 10:17pm UTC](https://discourse.processing.org/t/implementing-an-image-when-it-bounces-off-the-wall-it-will-show-which-direction-its-going-to/25469 "2020-11-16T22:17:04Z")

</div>

So what im trying to do is when the image bounces of the wall it will show which direction its going to. (my images are arrows btw) eg if it bounces of the right wall the arrow will point left and vice versa and if it …

---

## [Need help with game project](https://discourse.processing.org/t/need-help-with-game-project/24993)

<div class="topic-metadata">

**Author:** [@claudinho7](https://discourse.processing.org/u/claudinho7)\
**Replies:** 43\
**Last updated:** [November 16, 2020, 9:01pm UTC](https://discourse.processing.org/t/need-help-with-game-project/24993 "2020-11-16T21:01:21Z")

</div>

hello, i’m working on a little game for a uni project and i got stuck trying to move an object using keyboards. depending where i move the void keypressed part the key might get spammed or not show at all, but the obje…

---

## [Direction of Up vector with Camera, P3D](https://discourse.processing.org/t/direction-of-up-vector-with-camera-p3d/25434)

<div class="topic-metadata">

**Author:** [@jimyoung](https://discourse.processing.org/u/jimyoung)\
**Replies:** 4\
**Last updated:** [November 16, 2020, 3:45pm UTC](https://discourse.processing.org/t/direction-of-up-vector-with-camera-p3d/25434 "2020-11-16T15:45:33Z")

</div>

Hey everyone! Just looking at P3D here, and I noticed something that’s got me slightly confused. I am guessing it’s something simple, so I hope for some clarification. I have posted a quick example at the bottom. In Pro…

---

## [hint(DISABLE\_OPTIMIZED\_STROKE) & Processing Matrices](https://discourse.processing.org/t/hint-disable-optimized-stroke-processing-matrices/25442)

<div class="topic-metadata">

**Author:** [@Geo\_Pi](https://discourse.processing.org/u/Geo_Pi)\
**Replies:** 1\
**Last updated:** [November 16, 2020, 3:08pm UTC](https://discourse.processing.org/t/hint-disable-optimized-stroke-processing-matrices/25442 "2020-11-16T15:08:36Z")

</div>

Hello everybody, I have been struggling with this issue and I can’t seem to find a solution. I want to create a Sphere looking Particle system, using billboarding and a normal map for shading, to avoid having to handle…

---

## [Low fps problem](https://discourse.processing.org/t/low-fps-problem/12313)

<div class="topic-metadata">

**Author:** [@GuilhermeVolker](https://discourse.processing.org/u/GuilhermeVolker)\
**Replies:** 15\
**Last updated:** [November 16, 2020, 8:56am UTC](https://discourse.processing.org/t/low-fps-problem/12313 "2020-11-16T08:56:50Z")

</div>

My sketch has 10 images, with stuff moving and so on, the problem is that even with the function frameRate(30) i only get 9 to 12 FPS. I had try the sketch on pretty good pc and the result is the same. The promp comand s…

---

## [How to draw a polygon, when x is getting bigger, its sides getting more](https://discourse.processing.org/t/how-to-draw-a-polygon-when-x-is-getting-bigger-its-sides-getting-more/24987)

<div class="topic-metadata">

**Author:** [@mengtong](https://discourse.processing.org/u/mengtong)\
**Replies:** 41\
**Last updated:** [November 16, 2020, 5:37am UTC](https://discourse.processing.org/t/how-to-draw-a-polygon-when-x-is-getting-bigger-its-sides-getting-more/24987 "2020-11-16T05:37:00Z")

</div>

Here is my code. I wang polygon’s sided gets more when x gets bigger. But it looks incorrect. Can someone help me check it. int points; int radius=100; void setup() { size(500, 500); points=mouseX/20; } void draw(…

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

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