# Latest

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

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

**Page:** 398

---

## [Problem making the ticks fit on the grid](https://discourse.processing.org/t/problem-making-the-ticks-fit-on-the-grid/17501)

<div class="topic-metadata">

**Author:** [@Priscilla\_van\_Gritte](https://discourse.processing.org/u/Priscilla_van_Gritte)\
**Replies:** 7\
**Last updated:** [February 2, 2020, 12:24am UTC](https://discourse.processing.org/t/problem-making-the-ticks-fit-on-the-grid/17501 "2020-02-02T00:24:41Z")

</div>

Regards, I have problems with ticking shoes on the grid. For example using the following code. public void setup(){ size(1000, 600, JAVA2D); background(17,34,51); // Color de fondo principal rect(-1, 95,…

---

## [Super simple code. What am I missing?](https://discourse.processing.org/t/super-simple-code-what-am-i-missing/17342)

<div class="topic-metadata">

**Author:** [@Tomfoolery](https://discourse.processing.org/u/Tomfoolery)\
**Replies:** 4\
**Last updated:** [February 1, 2020, 10:13pm UTC](https://discourse.processing.org/t/super-simple-code-what-am-i-missing/17342 "2020-02-01T22:13:59Z")

</div>

I’ll probably kick myself when somebody answers this but I just can’t figure out what’s wrong with my code. All I want is to increase the red value by .01 per frame. When I run it, the value doesn’t change at all. If I r…

---

## [Issues with loading video / movie](https://discourse.processing.org/t/issues-with-loading-video-movie/17498)

<div class="topic-metadata">

**Author:** [@amprocessing](https://discourse.processing.org/u/amprocessing)\
**Replies:** 1\
**Last updated:** [February 1, 2020, 6:58pm UTC](https://discourse.processing.org/t/issues-with-loading-video-movie/17498 "2020-02-01T18:58:35Z")

</div>

im trying to add and load a video in my code. however its not working, and I don’t know what the issue is. Can someone help me import processing.video.\*; float spd = 1.0; Movie movie; void setup() { size(800…

---

## [Sync server with client](https://discourse.processing.org/t/sync-server-with-client/17500)

<div class="topic-metadata">

**Author:** [@bento](https://discourse.processing.org/u/bento)\
**Replies:** 0\
**Last updated:** [February 1, 2020, 4:16pm UTC](https://discourse.processing.org/t/sync-server-with-client/17500 "2020-02-01T16:16:16Z")

</div>

Hello again, I am still getting problems with my server and client program, this time I can’t sync the server with the client. The client just hears the server and prints it. Here is the code import processing.net.\*; …

---

## [GUI with Processing and Arduino \[School project\]](https://discourse.processing.org/t/gui-with-processing-and-arduino-school-project/17489)

<div class="topic-metadata">

**Author:** [@anon71376789](https://discourse.processing.org/u/anon71376789)\
**Replies:** 1\
**Last updated:** [February 1, 2020, 9:43am UTC](https://discourse.processing.org/t/gui-with-processing-and-arduino-school-project/17489 "2020-02-01T09:43:20Z")

</div>

Here’s some context you can skip if you want : Hi guys, I’m a 17yo french student, usually I don’t ask questions on internet as in most case someone already did before (often in forums between 2010-2015) but my problem…

---

## [Short film created solely on Processing](https://discourse.processing.org/t/short-film-created-solely-on-processing/15098)

<div class="topic-metadata">

**Author:** [@ilianfilm](https://discourse.processing.org/u/ilianfilm)\
**Replies:** 13\
**Last updated:** [February 1, 2020, 9:54am UTC](https://discourse.processing.org/t/short-film-created-solely-on-processing/15098 "2020-02-01T09:54:18Z")

</div>

Hello everybody, I’m new to this forum and I’m new to Processing in general. I wanted to ask if anybody is aware of short films created solely on Processing? I know many people have created clips with different shapes…

---

## [Shapes3D V3.0 now available](https://discourse.processing.org/t/shapes3d-v3-0-now-available/17482)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 2\
**Last updated:** [February 1, 2020, 9:21am UTC](https://discourse.processing.org/t/shapes3d-v3-0-now-available/17482 "2020-02-01T09:21:39Z")

</div>

The Shapes3D library has been completely rewritten from the ground up. There are so many improvements I suggest you look at the extensive documentation on my website and the examples that come with the library. Some not…

---

## [Ideas to create elastic line animation - \[SOLVED\]](https://discourse.processing.org/t/ideas-to-create-elastic-line-animation-solved/17394)

<div class="topic-metadata">

**Author:** [@adaptinnovative](https://discourse.processing.org/u/adaptinnovative)\
**Replies:** 3\
**Last updated:** [February 1, 2020, 3:07am UTC](https://discourse.processing.org/t/ideas-to-create-elastic-line-animation-solved/17394 "2020-02-01T03:07:04Z")

</div>

I have drawn a horizontal line using points. I want to split the points in half so the line separate. Then the centre point rises vertically straight up the y-axis and the last point stays on the horizontal axis of x. Ho…

---

## [Client got end-of-stream](https://discourse.processing.org/t/client-got-end-of-stream/17486)

<div class="topic-metadata">

**Author:** [@bento](https://discourse.processing.org/u/bento)\
**Replies:** 1\
**Last updated:** [February 1, 2020, 2:16am UTC](https://discourse.processing.org/t/client-got-end-of-stream/17486 "2020-02-01T02:16:40Z")

</div>

I am trying to create a new processing net sketch and I always get this error Client got end-of-stream. I am using 2 sketches the client and the server the client is import processing.net.\*; Client cln; void setup(…

---

## [Display information from Arduino Serial Monitor](https://discourse.processing.org/t/display-information-from-arduino-serial-monitor/17439)

<div class="topic-metadata">

**Author:** [@jaxx2009](https://discourse.processing.org/u/jaxx2009)\
**Replies:** 2\
**Last updated:** [January 31, 2020, 9:07pm UTC](https://discourse.processing.org/t/display-information-from-arduino-serial-monitor/17439 "2020-01-31T21:07:58Z")

</div>

From what I understand, you can’t have processing functioning at 100% while the Arduino serial monitor is open. The Arduino serial monitor has some information that I need to be able to see written to it, is there a way …

---

## [P5js sketch as background of 1 div](https://discourse.processing.org/t/p5js-sketch-as-background-of-1-div/17487)

<div class="topic-metadata">

**Author:** [@teddysphotos](https://discourse.processing.org/u/teddysphotos)\
**Replies:** 0\
**Last updated:** [January 31, 2020, 9:01pm UTC](https://discourse.processing.org/t/p5js-sketch-as-background-of-1-div/17487 "2020-01-31T21:01:01Z")

</div>

I have multiple tags in my project, I want to set one of my p5js sketches as the background of a particular . How do I do that? I have set the z-index of the canvas in sketch.js as -1. I just want to know how to set t…

---

## [Creating a hit box?](https://discourse.processing.org/t/creating-a-hit-box/17469)

<div class="topic-metadata">

**Author:** [@lupos](https://discourse.processing.org/u/lupos)\
**Replies:** 1\
**Last updated:** [January 31, 2020, 1:41pm UTC](https://discourse.processing.org/t/creating-a-hit-box/17469 "2020-01-31T13:41:44Z")

</div>

I am having trouble with hit boxes, the enemy only stops when it gets to s specific point not when it touches the hole enemy and I can figure out how float X,Y,Xc,Yc,Xm,Ym,Xl,Xr,Yt,Yb; float H1,H2,H3,H1x,H1y,Ev; floa…

---

## [How to move an image including horizontal and vertical inversion](https://discourse.processing.org/t/how-to-move-an-image-including-horizontal-and-vertical-inversion/17473)

<div class="topic-metadata">

**Author:** [@all](https://discourse.processing.org/u/all)\
**Replies:** 3\
**Last updated:** [January 31, 2020, 3:31pm UTC](https://discourse.processing.org/t/how-to-move-an-image-including-horizontal-and-vertical-inversion/17473 "2020-01-31T15:31:33Z")

</div>

Hello, My aim is to get the same behavior than line(x1, y1, x2, y2) but with a PNG image image(img, x1, y1, x2, y2) using the imageMode(CORNERS); My PNG image have a transparent background and the line go from the uppe…

---

## [Which Dev environments are people using / recommending?](https://discourse.processing.org/t/which-dev-environments-are-people-using-recommending/16998)

<div class="topic-metadata">

**Author:** [@Psteely](https://discourse.processing.org/u/Psteely)\
**Replies:** 4\
**Last updated:** [January 31, 2020, 1:45pm UTC](https://discourse.processing.org/t/which-dev-environments-are-people-using-recommending/16998 "2020-01-31T13:45:52Z")

</div>

Whilst Processing has been / is proving a very powerful tool for learning java and coding, I have found references to other Dev environments such as Eclipse and IntelliJ. I have had a play around with both of these and …

---

## [Processing 3 running slow on Pi4](https://discourse.processing.org/t/processing-3-running-slow-on-pi4/16362)

<div class="topic-metadata">

**Author:** [@klitsner](https://discourse.processing.org/u/klitsner)\
**Replies:** 22\
**Last updated:** [January 31, 2020, 10:01am UTC](https://discourse.processing.org/t/processing-3-running-slow-on-pi4/16362 "2020-01-31T10:01:29Z")

</div>

I recently got a 4GB Ram Pi4 to build a sampler pad to use for performances. After a fresh install of Raspian Buster (using NOOBS) I downloaded the latest Processing (ARM) to the pi, however I immediately began experienc…

---

## [Event binding for Processing!](https://discourse.processing.org/t/event-binding-for-processing/17291)

<div class="topic-metadata">

**Author:** [@Stephcraft](https://discourse.processing.org/u/Stephcraft)\
**Replies:** 2\
**Last updated:** [January 31, 2020, 9:53am UTC](https://discourse.processing.org/t/event-binding-for-processing/17291 "2020-01-31T09:53:00Z")

</div>

This is a simple but awesome library! It provides events for your processing sketches. These events could be created in your classes or simply globally. A couple of examples: onLoaded, onOverlap, onHit, onMove, onOpen, o…

---

## [Pixel Sorting with threshold](https://discourse.processing.org/t/pixel-sorting-with-threshold/17462)

<div class="topic-metadata">

**Author:** [@Alexx](https://discourse.processing.org/u/Alexx)\
**Replies:** 1\
**Last updated:** [January 31, 2020, 8:39am UTC](https://discourse.processing.org/t/pixel-sorting-with-threshold/17462 "2020-01-31T08:39:26Z")

</div>

Hi. I’m new to Processing. Hope someone is able to help me. In my sketch the pixel sorting work on width, but I I need it to be vertical non horizontal … how? Thank you. This is the code: int mode = 0; int threshold…

---

## [Creating an enemy class](https://discourse.processing.org/t/creating-an-enemy-class/17223)

<div class="topic-metadata">

**Author:** [@lupos](https://discourse.processing.org/u/lupos)\
**Replies:** 6\
**Last updated:** [January 30, 2020, 10:53pm UTC](https://discourse.processing.org/t/creating-an-enemy-class/17223 "2020-01-30T22:53:12Z")

</div>

I am working on a school project and I am having trouble creating multiple enemies form one class. when I create an two enemies from the same class and when one gets hit they all disappear can someone help please. here …

---

## [Perhaps I do not know fill/random works after all](https://discourse.processing.org/t/perhaps-i-do-not-know-fill-random-works-after-all/17424)

<div class="topic-metadata">

**Author:** [@yangs](https://discourse.processing.org/u/yangs)\
**Replies:** 3\
**Last updated:** [January 30, 2020, 10:10pm UTC](https://discourse.processing.org/t/perhaps-i-do-not-know-fill-random-works-after-all/17424 "2020-01-30T22:10:46Z")

</div>

Creating a very rough sketch of a generative rothko – three or two rectangles of random size within a range on a muted background – and I’ve come to the conclusion I don’t understand how fill() and/or random() works. Ho…

---

## [How do I make a Stepped Grayscale gradation in grid arrays](https://discourse.processing.org/t/how-do-i-make-a-stepped-grayscale-gradation-in-grid-arrays/17437)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 7\
**Last updated:** [January 30, 2020, 10:08pm UTC](https://discourse.processing.org/t/how-do-i-make-a-stepped-grayscale-gradation-in-grid-arrays/17437 "2020-01-30T22:08:16Z")

</div>

I have 2 examples of attempts to figure out how to implement a gradation of grays to various grid array sketches. The first sketch is a bar grid with a single row of 7 cells. The second sketch is a 9 square grid with…

---

## [Expecting EOF, found if. idk how to fix it](https://discourse.processing.org/t/expecting-eof-found-if-idk-how-to-fix-it/17468)

<div class="topic-metadata">

**Author:** [@prototype\_31](https://discourse.processing.org/u/prototype_31)\
**Replies:** 1\
**Last updated:** [January 30, 2020, 9:34pm UTC](https://discourse.processing.org/t/expecting-eof-found-if-idk-how-to-fix-it/17468 "2020-01-30T21:34:33Z")

</div>

void setup(){ size(2000,2000); background(0); } void keyPressed() { //1st planet if (key == 'b' || key == 'B') { if (keyPressed) stroke(0); fill(0); } else { stroke(#18B733); fill(#18B…

---

## [Can't run Grunt server](https://discourse.processing.org/t/cant-run-grunt-server/17016)

<div class="topic-metadata">

**Author:** [@teddysphotos](https://discourse.processing.org/u/teddysphotos)\
**Replies:** 4\
**Last updated:** [January 30, 2020, 6:34pm UTC](https://discourse.processing.org/t/cant-run-grunt-server/17016 "2020-01-30T18:34:48Z")

</div>

Every time I run npm run watch, the server doesn’t run, it does not open the p5js.org website on my system. Instead, it shows the following error in the terminal. npm ERR! code ELIFECYCLE npm ERR! errno 3 npm ERR! p5…

---

## [Thinking Object Oriented](https://discourse.processing.org/t/thinking-object-oriented/17448)

<div class="topic-metadata">

**Author:** [@DeidaraLP](https://discourse.processing.org/u/DeidaraLP)\
**Replies:** 4\
**Last updated:** [January 30, 2020, 5:16pm UTC](https://discourse.processing.org/t/thinking-object-oriented/17448 "2020-01-30T17:16:07Z")

</div>

Hey folks. So for a school assignment, we had to create some kind of game with at least two self-defined classes while using object-oriented programming. However, I’m finding it quite hard to implement this OOP way of t…

---

## [Rotating Canvas](https://discourse.processing.org/t/rotating-canvas/17108)

<div class="topic-metadata">

**Author:** [@Interkinactive](https://discourse.processing.org/u/Interkinactive)\
**Replies:** 9\
**Last updated:** [January 30, 2020, 3:48pm UTC](https://discourse.processing.org/t/rotating-canvas/17108 "2020-01-30T15:48:27Z")

</div>

Hi there, I’m stuck with this problem: I want to draw something on a rotating canvas. Working with PGraphics and saving my image as PImage for buffer. The canvas is rotating, but the coordinates of the mousepoint are ro…

---

## [Osc Messages from Processing to SuperCollider](https://discourse.processing.org/t/osc-messages-from-processing-to-supercollider/17441)

<div class="topic-metadata">

**Author:** [@Alexx](https://discourse.processing.org/u/Alexx)\
**Replies:** 5\
**Last updated:** [January 30, 2020, 1:44pm UTC](https://discourse.processing.org/t/osc-messages-from-processing-to-supercollider/17441 "2020-01-30T13:44:17Z")

</div>

HI! How can I send two Osc Messages from Processing to SuperCollider? So far I have only managed to connect one sound, but but I’m missing two more sounds. How can I do that? In void draw() I need to have two/three “/…

---

## [SOLVED Draw\_Nodes Export to PDF has too many duplicated paths](https://discourse.processing.org/t/solved-draw-nodes-export-to-pdf-has-too-many-duplicated-paths/17444)

<div class="topic-metadata">

**Author:** [@new](https://discourse.processing.org/u/new)\
**Replies:** 0\
**Last updated:** [January 30, 2020, 12:01pm UTC](https://discourse.processing.org/t/solved-draw-nodes-export-to-pdf-has-too-many-duplicated-paths/17444 "2020-01-30T12:01:16Z")

</div>

Hi everyone, I am pretty new to processing and have haphazardly made my way through some code to get a graphic output for a poster I am making. The code comes from multiple sources so I am sure there is a lot of unneces…

---

## [Multi-touch gear for navigation](https://discourse.processing.org/t/multi-touch-gear-for-navigation/15581)

<div class="topic-metadata">

**Author:** [@Alhugen](https://discourse.processing.org/u/Alhugen)\
**Replies:** 6\
**Last updated:** [January 30, 2020, 12:41pm UTC](https://discourse.processing.org/t/multi-touch-gear-for-navigation/15581 "2020-01-30T12:41:18Z")

</div>

Hello to everyone, I’m a student and not very expert in coding but I’m trying to experiment with touchscreens using the smartphone’s screen as prototype, using conductive objects as interactive gears. I’d like to put o…

---

## [2 threads Processing in Java IDE](https://discourse.processing.org/t/2-threads-processing-in-java-ide/17379)

<div class="topic-metadata">

**Author:** [@gerome](https://discourse.processing.org/u/gerome)\
**Replies:** 9\
**Last updated:** [January 30, 2020, 10:06am UTC](https://discourse.processing.org/t/2-threads-processing-in-java-ide/17379 "2020-01-30T10:06:16Z")

</div>

In the course of rebuilding a big Processing project in a Java IDE (IntelliJ) on Windows 10 x64, Processing 3.5.4, I try to translate the old solution for running two Processing threads, one in 2D, one in 3D on differen…

---

## [Some problem with the code execution screen](https://discourse.processing.org/t/some-problem-with-the-code-execution-screen/17102)

<div class="topic-metadata">

**Author:** [@leonardorocha](https://discourse.processing.org/u/leonardorocha)\
**Replies:** 4\
**Last updated:** [January 30, 2020, 1:17am UTC](https://discourse.processing.org/t/some-problem-with-the-code-execution-screen/17102 "2020-01-30T01:17:16Z")

</div>

Hi guys, I having some problems to execute a code. When I click on button Run nothing happens. Someone knows what is going on?

---

## [Variables y mover objetos](https://discourse.processing.org/t/variables-y-mover-objetos/17430)

<div class="topic-metadata">

**Author:** [@Eduwu](https://discourse.processing.org/u/Eduwu)\
**Replies:** 2\
**Last updated:** [January 29, 2020, 10:31pm UTC](https://discourse.processing.org/t/variables-y-mover-objetos/17430 "2020-01-29T22:31:59Z")

</div>

Hola! Soy principiante en Processing y tenia una duda sobre las variables y el movimiento de objetos con el mouse. Aqui tengo un sketch de unos ojos que hice y queria todo el conjunto de objetos se moviese de acuerdo…

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

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