# Beginners

**URL:** https://discourse.processing.org/c/processing/processing-beginners/14.md?page=1

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

**Page:** 2

---

## [Issues turning 66800 jpeg files into a video with Movie Maker Tool](https://discourse.processing.org/t/issues-turning-66800-jpeg-files-into-a-video-with-movie-maker-tool/47080)

<div class="topic-metadata">

**Author:** [@kieran](https://discourse.processing.org/u/kieran)\
**Replies:** 2\
**Last updated:** [September 10, 2025, 5:20pm UTC](https://discourse.processing.org/t/issues-turning-66800-jpeg-files-into-a-video-with-movie-maker-tool/47080 "2025-09-10T17:20:05Z")

</div>

I have approx. 66800 jpeg files I wish to turn into a video. i have tried to use the movie maker tool but it seems to error, creating a video that jumps and is too fast. any solutions?

---

## [Processing 4.4.4 on Ubuntu 22.04 can’t access tty ports](https://discourse.processing.org/t/processing-4-4-4-on-ubuntu-22-04-can-t-access-tty-ports/47018)

<div class="topic-metadata">

**Author:** [@PyM72](https://discourse.processing.org/u/PyM72)\
**Replies:** 10\
**Last updated:** [September 1, 2025, 8:07am UTC](https://discourse.processing.org/t/processing-4-4-4-on-ubuntu-22-04-can-t-access-tty-ports/47018 "2025-09-01T08:07:16Z")

</div>

Hello all, I was using processing 4.3 on my Ubutun 22.4. This is a standalone installing fron a tarball. I tried to install with SnapD, the latest release 4.4 and as for now I’m not able to use the tool for the same co…

---

## [Compare divide by zeroes and be ignored, is this universal across computer code?](https://discourse.processing.org/t/compare-divide-by-zeroes-and-be-ignored-is-this-universal-across-computer-code/46879)

<div class="topic-metadata">

**Author:** [@noFavorsOrStolen](https://discourse.processing.org/u/noFavorsOrStolen)\
**Replies:** 2\
**Last updated:** [August 7, 2025, 4:52pm UTC](https://discourse.processing.org/t/compare-divide-by-zeroes-and-be-ignored-is-this-universal-across-computer-code/46879 "2025-08-07T16:52:30Z")

</div>

float zero=0; if(zero/abs(zero)==zero/abs(zero)){ellipse(200,200,200,200);} Is this a processing fail-safe or a universal thing across computer code? Edit: wait nevermind, it’s a stupid question since c++ can show inf…

---

## [Server error when downloading the Processing IDE](https://discourse.processing.org/t/server-error-when-downloading-the-processing-ide/46856)

<div class="topic-metadata">

**Author:** [@Dapilaa](https://discourse.processing.org/u/Dapilaa)\
**Replies:** 12\
**Last updated:** [August 6, 2025, 3:35pm UTC](https://discourse.processing.org/t/server-error-when-downloading-the-processing-ide/46856 "2025-08-06T15:35:55Z")

</div>

Please, l have been trying to download the processing IDE but i can’t. All the time they will say server error, and i have try it with different devices but the same problem

---

## [Is there a place to look for coding challenges specially as a beginner?](https://discourse.processing.org/t/is-there-a-place-to-look-for-coding-challenges-specially-as-a-beginner/46882)

<div class="topic-metadata">

**Author:** [@cjef](https://discourse.processing.org/u/cjef)\
**Replies:** 4\
**Last updated:** [August 6, 2025, 3:29pm UTC](https://discourse.processing.org/t/is-there-a-place-to-look-for-coding-challenges-specially-as-a-beginner/46882 "2025-08-06T15:29:07Z")

</div>

I just finished Shiffman’s 5 hour tutorial and it was amazing :heart\_eyes: But right after that, I was looking at his code challenges and most of them are too advanced for me and i can’t jump ahead that much and prefer …

---

## [How to get the color of a square or rectangle etc](https://discourse.processing.org/t/how-to-get-the-color-of-a-square-or-rectangle-etc/46851)

<div class="topic-metadata">

**Author:** [@krczyk](https://discourse.processing.org/u/krczyk)\
**Replies:** 2\
**Last updated:** [August 4, 2025, 8:52pm UTC](https://discourse.processing.org/t/how-to-get-the-color-of-a-square-or-rectangle-etc/46851 "2025-08-04T20:52:09Z")

</div>

size(500, 500); background(111, 0, 0); fill(0, 125, 0); square(100, 100, 100); color c = get(150, 150); println(red(c)); println(green(c)); println(blue(c)); The result of get() is the color of the background, no…

---

## [Rendering a long animation to file, not real time](https://discourse.processing.org/t/rendering-a-long-animation-to-file-not-real-time/46779)

<div class="topic-metadata">

**Author:** [@MichaelMean](https://discourse.processing.org/u/MichaelMean)\
**Replies:** 5\
**Last updated:** [July 29, 2025, 2:43am UTC](https://discourse.processing.org/t/rendering-a-long-animation-to-file-not-real-time/46779 "2025-07-29T02:43:01Z")

</div>

I’m just getting started with Processing. I have a background in coding though extremely rusty. I’ve run the examples and coded some fun stuff but I really want to render a long animation, say 30 minutes. If I did it f…

---

## [Missing semicolon error when there really is one](https://discourse.processing.org/t/missing-semicolon-error-when-there-really-is-one/46805)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 3\
**Last updated:** [July 27, 2025, 5:40pm UTC](https://discourse.processing.org/t/missing-semicolon-error-when-there-really-is-one/46805 "2025-07-27T17:40:15Z")

</div>

Any of you Windows users know why this returns an error when it clearly has a semicolon: cmdStr = "C:\\Users\\s\\.venv\\Scripts\\py5-run-sketch.exe"; Error: What can I do to get around it?

---

## [Error in Processing 4 (freezing with show usage, jump to declaration etc.)](https://discourse.processing.org/t/error-in-processing-4-freezing-with-show-usage-jump-to-declaration-etc/40739)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 4\
**Last updated:** [July 2, 2025, 10:06pm UTC](https://discourse.processing.org/t/error-in-processing-4-freezing-with-show-usage-jump-to-declaration-etc/40739 "2025-07-02T22:06:10Z")

</div>

processing v4 crashes when using show usage jump to declaration etc.

---

## [Background image doesn't load](https://discourse.processing.org/t/background-image-doesnt-load/46654)

<div class="topic-metadata">

**Author:** [@henk\_lamers](https://discourse.processing.org/u/henk_lamers)\
**Replies:** 3\
**Last updated:** [July 4, 2025, 12:18am UTC](https://discourse.processing.org/t/background-image-doesnt-load/46654 "2025-07-04T00:18:16Z")

</div>

I get the message: background image must be the same size as your application. The image is 1000 x 1000. Checked that in Photoshop. PImage BackgroundGradient; void setup () { size (1000, 1000); smooth(); noStrok…

---

## [Creating object arrays without the object speeding up](https://discourse.processing.org/t/creating-object-arrays-without-the-object-speeding-up/46573)

<div class="topic-metadata">

**Author:** [@Pat](https://discourse.processing.org/u/Pat)\
**Replies:** 7\
**Last updated:** [June 23, 2025, 9:33am UTC](https://discourse.processing.org/t/creating-object-arrays-without-the-object-speeding-up/46573 "2025-06-23T09:33:02Z")

</div>

Hi, this is my first post :blush: I’m currently learning to make arrays of objects. Whenever I try this with objects that move across the screen, the speed of the objects increases as the number of objects in the array …

---

## [LinkedHashMap missing?](https://discourse.processing.org/t/linkedhashmap-missing/46542)

<div class="topic-metadata">

**Author:** [@esc746](https://discourse.processing.org/u/esc746)\
**Replies:** 4\
**Last updated:** [June 14, 2025, 11:06am UTC](https://discourse.processing.org/t/linkedhashmap-missing/46542 "2025-06-14T11:06:20Z")

</div>

Perhaps this is another case of user error. Even if I “import java.util” I am told by the IDE that “the class LinkedHashMap does not exist”. Why?

---

## [Grid of Images PImage error](https://discourse.processing.org/t/grid-of-images-pimage-error/46496)

<div class="topic-metadata">

**Author:** [@nikapm](https://discourse.processing.org/u/nikapm)\
**Replies:** 3\
**Last updated:** [June 8, 2025, 12:44am UTC](https://discourse.processing.org/t/grid-of-images-pimage-error/46496 "2025-06-08T00:44:47Z")

</div>

Hello, I am kind of new to processing and I am building an image grid using 2d array, but I don’t know why I keep getting this error message :"Types mismatch: cannot convert from PImage to Pimage \[\]. I made my research a…

---

## [Diagonal line loop](https://discourse.processing.org/t/diagonal-line-loop/46459)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 8\
**Last updated:** [May 31, 2025, 6:07am UTC](https://discourse.processing.org/t/diagonal-line-loop/46459 "2025-05-31T06:07:15Z")

</div>

Could someone tell me why I these lines are not straight? void setup() { size(1000,1000); background(255,255,255); } void draw() { for (int i=0; i\<1000; i=i+20) { line(i,0,i+40,1000); } }

---

## [Saving The Screen As An Image](https://discourse.processing.org/t/saving-the-screen-as-an-image/46484)

<div class="topic-metadata">

**Author:** [@fredstout](https://discourse.processing.org/u/fredstout)\
**Replies:** 2\
**Last updated:** [May 30, 2025, 1:24pm UTC](https://discourse.processing.org/t/saving-the-screen-as-an-image/46484 "2025-05-30T13:24:55Z")

</div>

I want to enable the a person using my application to select an area on the screen. When selected, a window will open with details about what was selected. When finished, the screen area used to show details would be ref…

---

## [Image exports at wrong dimensions in 4.4.4](https://discourse.processing.org/t/image-exports-at-wrong-dimensions-in-4-4-4/46414)

<div class="topic-metadata">

**Author:** [@sonofhop](https://discourse.processing.org/u/sonofhop)\
**Replies:** 2\
**Last updated:** [May 20, 2025, 2:07pm UTC](https://discourse.processing.org/t/image-exports-at-wrong-dimensions-in-4-4-4/46414 "2025-05-20T14:07:56Z")

</div>

Exporting images seems broken in Processing 4.4.4 Here’s a sketch that demonstrates the issue. The canvas size is set to 500x500, but the .png file exports at 1000x1000. Exporting as .pdf or .svg results in the correct …

---

## [Processing Does Not Appear To Start](https://discourse.processing.org/t/processing-does-not-appear-to-start/46400)

<div class="topic-metadata">

**Author:** [@fredstout](https://discourse.processing.org/u/fredstout)\
**Replies:** 6\
**Last updated:** [May 19, 2025, 7:54pm UTC](https://discourse.processing.org/t/processing-does-not-appear-to-start/46400 "2025-05-19T19:54:55Z")

</div>

I have a Dell Inspiron 16 running Windows 11. The sketch, in question, has been running for months.When I try to start it, the results are a blank screen with a red dot and the system is locked up. I must do a Ctl, Alt, …

---

## [Processing 4 Java Bug bad printing of a number](https://discourse.processing.org/t/processing-4-java-bug-bad-printing-of-a-number/46398)

<div class="topic-metadata">

**Author:** [@mvq](https://discourse.processing.org/u/mvq)\
**Replies:** 15\
**Last updated:** [May 18, 2025, 10:53am UTC](https://discourse.processing.org/t/processing-4-java-bug-bad-printing-of-a-number/46398 "2025-05-18T10:53:57Z")

</div>

Have got a bug - look like its JAVA that freaking. float \[\]\[\] vDATA = {{45576469, 84.847, 45, 57, 64, 69, 73, 76, 79, 81, 83, 85, 86, 87, 88, 89, 91, 92, 93, 94, 95, }, // tous 253 {45576469, 84.861, 45, 57, 64, 6…

---

## [Border between two colours](https://discourse.processing.org/t/border-between-two-colours/46399)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 4\
**Last updated:** [May 17, 2025, 5:43am UTC](https://discourse.processing.org/t/border-between-two-colours/46399 "2025-05-17T05:43:14Z")

</div>

I have loaded an image into Processing. loadImage("setup.png"); Here (below) is a greatly magnified screenshot. I want an easy way to make the pixels along the border either red or blue. The choice could be change to t…

---

## [Trying to check string against name of array](https://discourse.processing.org/t/trying-to-check-string-against-name-of-array/46382)

<div class="topic-metadata">

**Author:** [@ember314](https://discourse.processing.org/u/ember314)\
**Replies:** 4\
**Last updated:** [May 14, 2025, 2:59pm UTC](https://discourse.processing.org/t/trying-to-check-string-against-name-of-array/46382 "2025-05-14T14:59:48Z")

</div>

Hi all! I’m brand new to the forums, and to processing in general, so my apologies if anything is wrong with my post! I’m trying to make a game in a similar format to games like Pokedle (https://pokedle.net/), but with …

---

## [Processing 4.4 and Linux](https://discourse.processing.org/t/processing-4-4-and-linux/46238)

<div class="topic-metadata">

**Author:** [@Jean-no](https://discourse.processing.org/u/Jean-no)\
**Replies:** 3\
**Last updated:** [April 18, 2025, 4:26pm UTC](https://discourse.processing.org/t/processing-4-4-and-linux/46238 "2025-04-18T16:26:21Z")

</div>

Hi everyone. Processing can now be installed through snap on linux. It works well, at first glance, but there seem to be a “sandbox” problem (the command snap connect processing:removable-media answers snap "processing…

---

## [Problem sin() cos() Java to Processing 4.0](https://discourse.processing.org/t/problem-sin-cos-java-to-processing-4-0/45567)

<div class="topic-metadata">

**Author:** [@RadioG](https://discourse.processing.org/u/RadioG)\
**Replies:** 13\
**Last updated:** [January 14, 2025, 1:03am UTC](https://discourse.processing.org/t/problem-sin-cos-java-to-processing-4-0/45567 "2025-01-14T01:03:34Z")

</div>

Hi, Under Processing4.0 this formula does not give me the expected result of: 18.6063731708993. Do you have a solution with a better syntax? (Math.asin(sin(12.34\*PI/180) \* Math.cos(1000/6371)+cos(12.34\*PI/180)\*Math.sin…

---

## [2D Array: what's the order of x and y (Chess board)](https://discourse.processing.org/t/2d-array-whats-the-order-of-x-and-y-chess-board/45966)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 4\
**Last updated:** [March 11, 2025, 10:03pm UTC](https://discourse.processing.org/t/2d-array-whats-the-order-of-x-and-y-chess-board/45966 "2025-03-11T22:03:53Z")

</div>

Hello all, I just wrote a simple chess board and make a mcve to demonstrate my problem. It’s that when you have a 2d array that stores the x,y position for each of the 64 cells, you need in setup() to make the for-loop…

---

## [Problem with for() loops](https://discourse.processing.org/t/problem-with-for-loops/45897)

<div class="topic-metadata">

**Author:** [@JALAJ\_0106](https://discourse.processing.org/u/JALAJ_0106)\
**Replies:** 2\
**Last updated:** [March 4, 2025, 11:39am UTC](https://discourse.processing.org/t/problem-with-for-loops/45897 "2025-03-04T11:39:24Z")

</div>

int th = 36; int tw = 36; for(int y = 0; y \< th - 1; y++) { for(int x = 0; x \< tw - 1; x++) { PVector p1 = normals\[x\]\[y\]; //works PVector p2 = normals\[34\]\[y\]; // works PVector p3…

---

## [Spreadsheet - how to store data on the Hard Drive?](https://discourse.processing.org/t/spreadsheet-how-to-store-data-on-the-hard-drive/45733)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 5\
**Last updated:** [February 17, 2025, 1:04pm UTC](https://discourse.processing.org/t/spreadsheet-how-to-store-data-on-the-hard-drive/45733 "2025-02-17T13:04:19Z")

</div>

Hello all! I wrote a Spreadsheet like Excel. Data is stored as a Table on the Hard Drive and for displaying it on the screen and to use the mouse in the cells, I use a grid of a class Cell. There are text, numbers or …

---

## [How to change the brace/indentation style for auto-format?](https://discourse.processing.org/t/how-to-change-the-brace-indentation-style-for-auto-format/45723)

<div class="topic-metadata">

**Author:** [@kryt](https://discourse.processing.org/u/kryt)\
**Replies:** 3\
**Last updated:** [February 10, 2025, 11:56am UTC](https://discourse.processing.org/t/how-to-change-the-brace-indentation-style-for-auto-format/45723 "2025-02-10T11:56:22Z")

</div>

Apologies if this is the wrong place for this. Ever since Processing changed to 2, the indentations and curly braces have not worked very well to cover different styles, when using auto-format to fix the code. https://…

---

## [Processing on NixOS: "core does not run on this architecture: linux-amd64"](https://discourse.processing.org/t/processing-on-nixos-core-does-not-run-on-this-architecture-linux-amd64/45736)

<div class="topic-metadata">

**Author:** [@pcarr](https://discourse.processing.org/u/pcarr)\
**Replies:** 0\
**Last updated:** [February 9, 2025, 8:54pm UTC](https://discourse.processing.org/t/processing-on-nixos-core-does-not-run-on-this-architecture-linux-amd64/45736 "2025-02-09T20:54:07Z")

</div>

Hello! I’m just starting out with Processing. I am using Processing 4 v1293, which is what’s packaged for NixOS. My code runs fine, however in the console at runtime I get this message: core does not run on this archite…

---

## [Failing constructor intentionally to stop the instantiation of an object](https://discourse.processing.org/t/failing-constructor-intentionally-to-stop-the-instantiation-of-an-object/45719)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 4\
**Last updated:** [February 9, 2025, 9:29am UTC](https://discourse.processing.org/t/failing-constructor-intentionally-to-stop-the-instantiation-of-an-object/45719 "2025-02-09T09:29:48Z")

</div>

I had a function outside a class that performs some checks before making the object from the class. If the incoming parameter was faulty, it would return null instead of the object. Then it occured to me that it would b…

---

## [Keyboard shortcuts greyed out & not working after update from 4.0 to 4.32, Sonoma 14.5](https://discourse.processing.org/t/keyboard-shortcuts-greyed-out-not-working-after-update-from-4-0-to-4-32-sonoma-14-5/45623)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 4\
**Last updated:** [January 26, 2025, 6:03pm UTC](https://discourse.processing.org/t/keyboard-shortcuts-greyed-out-not-working-after-update-from-4-0-to-4-32-sonoma-14-5/45623 "2025-01-26T18:03:02Z")

</div>

I use the native IDE and after updating from 4.0 to 4.32, all the keyboard shortcuts are greyed out and don’t work. I am running Sonoma 14.5 on a Mac M1. Any hints about what’s happened here and how to fix? I didn’t c…

---

## [Needed example of .toStringArray()](https://discourse.processing.org/t/needed-example-of-tostringarray/45653)

<div class="topic-metadata">

**Author:** [@dneilan](https://discourse.processing.org/u/dneilan)\
**Replies:** 6\
**Last updated:** [January 26, 2025, 4:48pm UTC](https://discourse.processing.org/t/needed-example-of-tostringarray/45653 "2025-01-26T16:48:53Z")

</div>

I have tried evey which way to get this function to work… Anybody got a working example ? Here is my Json array: \[{“id”: “1”}\] I couldn’t make it any simpler. Or am I barking up the wrong tree ?

[Previous page](https://discourse.processing.org/c/processing/processing-beginners/14.md)

[Next page](https://discourse.processing.org/c/processing/processing-beginners/14.md?page=2)
