# Processing

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

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

**Page:** 50

---

## [Processing Crashes upon start (macOS Ventura)](https://discourse.processing.org/t/processing-crashes-upon-start-macos-ventura/40689)

<div class="topic-metadata">

**Author:** [@Lorenz](https://discourse.processing.org/u/Lorenz)\
**Replies:** 4\
**Last updated:** [January 24, 2023, 2:09pm UTC](https://discourse.processing.org/t/processing-crashes-upon-start-macos-ventura/40689 "2023-01-24T14:09:00Z")

</div>

Hello, Since a couple of days the newly installed processing 4 crashes on start-up and shows the following error: “There is a Problem with the “permission” for the sketchbook folder”. It is suggested to get rid of the…

---

## [Version 4 on Windows 7?](https://discourse.processing.org/t/version-4-on-windows-7/40529)

<div class="topic-metadata">

**Author:** [@SailorMike](https://discourse.processing.org/u/SailorMike)\
**Replies:** 3\
**Last updated:** [January 24, 2023, 10:58am UTC](https://discourse.processing.org/t/version-4-on-windows-7/40529 "2023-01-24T10:58:48Z")

</div>

I just downloaded v 4.1 to my computer, and it won’t work. I’m running Windows 7 64 bit, and Processing won’t run new files or any of the files I built in V3. I get Java errors on the console window. From reading the web…

---

## [How do I get a Processing exe to be displayed as an "App" in windows?](https://discourse.processing.org/t/how-do-i-get-a-processing-exe-to-be-displayed-as-an-app-in-windows/40687)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 2\
**Last updated:** [January 24, 2023, 10:08am UTC](https://discourse.processing.org/t/how-do-i-get-a-processing-exe-to-be-displayed-as-an-app-in-windows/40687 "2023-01-24T10:08:16Z")

</div>

Is it possible to let an exe of a processing sketch to be displayed as an “app” when you search for it in the search bar?

---

## [Cursors in OpenGL Mode?](https://discourse.processing.org/t/cursors-in-opengl-mode/40680)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 4\
**Last updated:** [January 24, 2023, 8:03am UTC](https://discourse.processing.org/t/cursors-in-opengl-mode/40680 "2023-01-24T08:03:53Z")

</div>

Is it possible to get the standard cursors in OpenGL Drawing mode? i also mean when you resize a window, bc OpenGL doesnt show them!

---

## [Help I need to edit a game code (clouds)](https://discourse.processing.org/t/help-i-need-to-edit-a-game-code-clouds/40671)

<div class="topic-metadata">

**Author:** [@val](https://discourse.processing.org/u/val)\
**Replies:** 5\
**Last updated:** [January 24, 2023, 5:56am UTC](https://discourse.processing.org/t/help-i-need-to-edit-a-game-code-clouds/40671 "2023-01-24T05:56:08Z")

</div>

Hello, I’m really puzzled on what to do with this quiz. I was given a gaming code and need to personalize it. I tried adding clouds into the game code but I want to find a way to simplify the code and make it look clea…

---

## [Help with simple game (moving fish)](https://discourse.processing.org/t/help-with-simple-game-moving-fish/40679)

<div class="topic-metadata">

**Author:** [@sara](https://discourse.processing.org/u/sara)\
**Replies:** 9\
**Last updated:** [January 23, 2023, 9:38pm UTC](https://discourse.processing.org/t/help-with-simple-game-moving-fish/40679 "2023-01-23T21:38:12Z")

</div>

Can somebody help me? I created a simple game where you have to catch fish. at the moment these fish just move from the left side to the right side of the screen. What I need to do is make them change the direction in …

---

## [Use GPU and not CPU for processing](https://discourse.processing.org/t/use-gpu-and-not-cpu-for-processing/40686)

<div class="topic-metadata">

**Author:** [@BBGiraffe](https://discourse.processing.org/u/BBGiraffe)\
**Replies:** 2\
**Last updated:** [January 23, 2023, 5:45pm UTC](https://discourse.processing.org/t/use-gpu-and-not-cpu-for-processing/40686 "2023-01-23T17:45:46Z")

</div>

I have a processing script that processes and plots millions of dots to picture, I’m creating many images at once and the script seems to drive the CPU to 100%. I have a separate, modern GPU that is sitting mostly idle. …

---

## [Source code compatibility problems with 3.5.4](https://discourse.processing.org/t/source-code-compatibility-problems-with-3-5-4/40674)

<div class="topic-metadata">

**Author:** [@tomjennings](https://discourse.processing.org/u/tomjennings)\
**Replies:** 6\
**Last updated:** [January 22, 2023, 8:40pm UTC](https://discourse.processing.org/t/source-code-compatibility-problems-with-3-5-4/40674 "2023-01-22T20:40:09Z")

</div>

I had been running 3.5.4, thought I’d update to 4, ran into this (first) compatibility issue. I can find no overall 4 vs 3 compatibility discussion, forum, or FAQ, there must be one? This code fragment: import java.uti…

---

## [Pd4P3 How to start a code that do this kind of example of generative fractals (as in the link) in Processing](https://discourse.processing.org/t/pd4p3-how-to-start-a-code-that-do-this-kind-of-example-of-generative-fractals-as-in-the-link-in-processing/40450)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 0\
**Last updated:** [January 5, 2023, 12:46am UTC](https://discourse.processing.org/t/pd4p3-how-to-start-a-code-that-do-this-kind-of-example-of-generative-fractals-as-in-the-link-in-processing/40450 "2023-01-05T00:46:27Z")

</div>

I looking to start mixup some art-patterns and this as this link https://vimeo.com/user5020648, is the kind i am looking for, in this moment. This paterns like https://youtu.be/CLddxGIlVPU also is lovely… I saw this " …

---

## [Simple Pixel Sorter - Grey Screen Only?](https://discourse.processing.org/t/simple-pixel-sorter-grey-screen-only/40581)

<div class="topic-metadata">

**Author:** [@JHPC](https://discourse.processing.org/u/JHPC)\
**Replies:** 8\
**Last updated:** [January 22, 2023, 3:54pm UTC](https://discourse.processing.org/t/simple-pixel-sorter-grey-screen-only/40581 "2023-01-22T15:54:43Z")

</div>

Dear All, I’m trying to experiment with very simple pixel sorter. My code has been sourced from The Coding Train. I plug it into Processing 4, and have adjusted the screen size for the image which is 600 x 400 pixels.…

---

## [Problem with PGraphics - pixel\[\] gives scattered pixels](https://discourse.processing.org/t/problem-with-pgraphics-pixel-gives-scattered-pixels/40664)

<div class="topic-metadata">

**Author:** [@Phil2K](https://discourse.processing.org/u/Phil2K)\
**Replies:** 3\
**Last updated:** [January 22, 2023, 3:32pm UTC](https://discourse.processing.org/t/problem-with-pgraphics-pixel-gives-scattered-pixels/40664 "2023-01-22T15:32:26Z")

</div>

Hi, I got a little test and I cant get it do act like I want to - I guess I dont fully understand how to use the PGraphics. My ultimate goal is to load a picture and replicate it with a string art. First step I thought…

---

## [Run a java Processing sketch with Python](https://discourse.processing.org/t/run-a-java-processing-sketch-with-python/40619)

<div class="topic-metadata">

**Author:** [@BBGiraffe](https://discourse.processing.org/u/BBGiraffe)\
**Replies:** 2\
**Last updated:** [January 22, 2023, 6:38am UTC](https://discourse.processing.org/t/run-a-java-processing-sketch-with-python/40619 "2023-01-22T06:38:09Z")

</div>

Hi, I want to use a python script run a processing sketch multiple time but with different args for each run. I have processing sketch that works well if i run it manually via a cmd line eg “processing-java.exe --sketc…

---

## [KeyPressed cannot show a random position to a ellipse](https://discourse.processing.org/t/keypressed-cannot-show-a-random-position-to-a-ellipse/40665)

<div class="topic-metadata">

**Author:** [@carmavals](https://discourse.processing.org/u/carmavals)\
**Replies:** 5\
**Last updated:** [January 22, 2023, 1:22am UTC](https://discourse.processing.org/t/keypressed-cannot-show-a-random-position-to-a-ellipse/40665 "2023-01-22T01:22:20Z")

</div>

Hello! I have a question about a sketch. I am trying to draw a ellipse on a random position everytime a key is pressed in this case the key ‘a’. The situation is that it does draw the ellipse in a random position but it…

---

## [strokeWeight(15) reduces framerate by much](https://discourse.processing.org/t/strokeweight-15-reduces-framerate-by-much/40672)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 0\
**Last updated:** [January 21, 2023, 8:16pm UTC](https://discourse.processing.org/t/strokeweight-15-reduces-framerate-by-much/40672 "2023-01-21T20:16:42Z")

</div>

When i use strokeWeight, the framerate in my programm gets reduced from 400 to 300 fps. is this normal?

---

## [Trying to convert my platform game into a model view controller pattern](https://discourse.processing.org/t/trying-to-convert-my-platform-game-into-a-model-view-controller-pattern/40641)

<div class="topic-metadata">

**Author:** [@Berthe](https://discourse.processing.org/u/Berthe)\
**Replies:** 2\
**Last updated:** [January 20, 2023, 7:46pm UTC](https://discourse.processing.org/t/trying-to-convert-my-platform-game-into-a-model-view-controller-pattern/40641 "2023-01-20T19:46:16Z")

</div>

so here is the main class final static float MOVE\_SPEED = 4; final static float SPRITE\_SCALE = 50.0/128; final static float SPRITE\_SIZE = 50; final static float GRAVITY = 0.6; final static float JUMP\_SPEED = 14; final…

---

## [Reference subclass method in superclass method](https://discourse.processing.org/t/reference-subclass-method-in-superclass-method/40662)

<div class="topic-metadata">

**Author:** [@nanto2016](https://discourse.processing.org/u/nanto2016)\
**Replies:** 1\
**Last updated:** [January 20, 2023, 6:00pm UTC](https://discourse.processing.org/t/reference-subclass-method-in-superclass-method/40662 "2023-01-20T18:00:51Z")

</div>

I have a Saw class that extends the Enemy class. class Enemy { int hp, atk, n; float spd; PVector pos = new PVector(random(width), random(height)); Enemy(int hp\_, float spd\_, int atk\_, int n\_) { hp = hp\_; …

---

## [OpenGL Shader Problem](https://discourse.processing.org/t/opengl-shader-problem/40617)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 7\
**Last updated:** [January 20, 2023, 5:40pm UTC](https://discourse.processing.org/t/opengl-shader-problem/40617 "2023-01-20T17:40:43Z")

</div>

This demo is exercise #2 in the book “Computer Graphics Programming” by Gordon & Clevenger, Third Edition. It uses openGL source code and is supposed to create a single point, 30 pixels in size, and shade it a blue colo…

---

## [fullScreen(P3D, SPAN) with 2 Monitors not working in Ubuntu](https://discourse.processing.org/t/fullscreen-p3d-span-with-2-monitors-not-working-in-ubuntu/40659)

<div class="topic-metadata">

**Author:** [@mischmeisterm](https://discourse.processing.org/u/mischmeisterm)\
**Replies:** 1\
**Last updated:** [January 20, 2023, 3:28pm UTC](https://discourse.processing.org/t/fullscreen-p3d-span-with-2-monitors-not-working-in-ubuntu/40659 "2023-01-20T15:28:49Z")

</div>

Trying to get a proper fullscreen P2D/P3D sketch working on Ubuntu 22.04 with two monitors… fullScreen(SPAN); uses both monitors (but doesn’t hide dock and activities bar) uses the very slow default renderer fullScre…

---

## [What type is \`this\` in a sketch?](https://discourse.processing.org/t/what-type-is-this-in-a-sketch/39676)

<div class="topic-metadata">

**Author:** [@grough](https://discourse.processing.org/u/grough)\
**Replies:** 5\
**Last updated:** [January 20, 2023, 3:00pm UTC](https://discourse.processing.org/t/what-type-is-this-in-a-sketch/39676 "2023-01-20T15:00:41Z")

</div>

Hi, When I run this code in a sketch: println(this); I see this in the console: sketch\_221111b@31393958 What datatype or class does this belong to? I’m trying to write a function that accepts this as an argument, b…

---

## [\[Help needed\] Doclet script is broken with Processing 4](https://discourse.processing.org/t/help-needed-doclet-script-is-broken-with-processing-4/39369)

<div class="topic-metadata">

**Author:** [@sableraph](https://discourse.processing.org/u/sableraph)\
**Replies:** 1\
**Last updated:** [January 20, 2023, 11:42am UTC](https://discourse.processing.org/t/help-needed-doclet-script-is-broken-with-processing-4/39369 "2023-01-20T11:42:20Z")

</div>

Hi everyone, With the update from Java 11 to Java 17 the Doclet script used to generate the Processing reference stopped working. If you have Java experience and feel like looking into this, your help would be really ap…

---

## [int96:NullPointerException](https://discourse.processing.org/t/int96-nullpointerexception/40653)

<div class="topic-metadata">

**Author:** [@int96](https://discourse.processing.org/u/int96)\
**Replies:** 4\
**Last updated:** [January 20, 2023, 6:05am UTC](https://discourse.processing.org/t/int96-nullpointerexception/40653 "2023-01-20T06:05:33Z")

</div>

So here is the basic code… for the life of me I can’t see whats wrong. sketch Particle p; Particle\[\] particles = new Particle\[1\]; void setup() { size(200, 200); particles\[0\] = new Particle(); } void draw() { ba…

---

## [Slowing a rotation using millis() does not work](https://discourse.processing.org/t/slowing-a-rotation-using-millis-does-not-work/40649)

<div class="topic-metadata">

**Author:** [@mmuylle](https://discourse.processing.org/u/mmuylle)\
**Replies:** 6\
**Last updated:** [January 19, 2023, 8:24pm UTC](https://discourse.processing.org/t/slowing-a-rotation-using-millis-does-not-work/40649 "2023-01-19T20:24:09Z")

</div>

I apologise. I know this topic has been covered several times in various forms in this forum. Unfortunately, after several readings, I seem to miss the point. As a result, my timing in the sketch turns out to be wrong. W…

---

## [Using system time functions causes sketch to not run? ("Target VM failed to initialize")](https://discourse.processing.org/t/using-system-time-functions-causes-sketch-to-not-run-target-vm-failed-to-initialize/40597)

<div class="topic-metadata">

**Author:** [@Stetez14](https://discourse.processing.org/u/Stetez14)\
**Replies:** 4\
**Last updated:** [January 19, 2023, 6:37pm UTC](https://discourse.processing.org/t/using-system-time-functions-causes-sketch-to-not-run-target-vm-failed-to-initialize/40597 "2023-01-19T18:37:44Z")

</div>

I’m not sure if this is the correct forum, but I seem to have encountered a major issue in my project. My sketch has started fine so far but suddenly stopped working. Through some basic troubleshooting, I found the issu…

---

## [How to click on an image with data? (ControlP5 SliderList)](https://discourse.processing.org/t/how-to-click-on-an-image-with-data-controlp5-sliderlist/40647)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 0\
**Last updated:** [January 19, 2023, 12:13pm UTC](https://discourse.processing.org/t/how-to-click-on-an-image-with-data-controlp5-sliderlist/40647 "2023-01-19T12:13:45Z")

</div>

Hello, I am using the library. I took two examples from her MenuList and SliderList. One example I remade for myself I remade one example for myself and I can’t make it get the same data when clicking on the picture as…

---

## [I cannot change Sketchbook folder](https://discourse.processing.org/t/i-cannot-change-sketchbook-folder/40629)

<div class="topic-metadata">

**Author:** [@Alkis](https://discourse.processing.org/u/Alkis)\
**Replies:** 7\
**Last updated:** [January 19, 2023, 10:23am UTC](https://discourse.processing.org/t/i-cannot-change-sketchbook-folder/40629 "2023-01-19T10:23:21Z")

</div>

I change the Sketchbook folder in Preferences and the default one (C:\\Users{username}\\AppData\\Roaming\\Processing) always comes back! Can anyone tell me how to change Sketchbook folder in Processing 4? Thank you.

---

## [Movie Maker error: "Creating the QuickTime movie failed."](https://discourse.processing.org/t/movie-maker-error-creating-the-quicktime-movie-failed/40623)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 1\
**Last updated:** [January 18, 2023, 5:21pm UTC](https://discourse.processing.org/t/movie-maker-error-creating-the-quicktime-movie-failed/40623 "2023-01-18T17:21:03Z")

</div>

Hi Processing community! I am attempting to create an animation with Processing’s Movie Maker II. I am able to create the “output” folder of still images, but once I drag the “output” folder with image files into the Mo…

---

## [How can I make my bullets not follow the mouse but aim toward it?](https://discourse.processing.org/t/how-can-i-make-my-bullets-not-follow-the-mouse-but-aim-toward-it/40633)

<div class="topic-metadata">

**Author:** [@UltimateDoug](https://discourse.processing.org/u/UltimateDoug)\
**Replies:** 3\
**Last updated:** [January 18, 2023, 4:00pm UTC](https://discourse.processing.org/t/how-can-i-make-my-bullets-not-follow-the-mouse-but-aim-toward-it/40633 "2023-01-18T16:00:06Z")

</div>

Making a zombie survival game and the bullets, after they’re shot, continue to follow the mouse. The PVector “t” cant be initialized in keyReleased but it needs to only give a single value per shot. Instead it keep updat…

---

## [How to make particles fly from one word's shape to the next word? (swarm)](https://discourse.processing.org/t/how-to-make-particles-fly-from-one-words-shape-to-the-next-word-swarm/40564)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 14\
**Last updated:** [January 18, 2023, 1:36pm UTC](https://discourse.processing.org/t/how-to-make-particles-fly-from-one-words-shape-to-the-next-word-swarm/40564 "2023-01-18T13:36:34Z")

</div>

Hello, I try to move the particles from the shape of a String to the next one… I guess I should remove a part of the particles and create new ones for the new String but I don’t manage to figure out how?! Thank you ve…

---

## [Inline Shader code will not run](https://discourse.processing.org/t/inline-shader-code-will-not-run/40627)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 2\
**Last updated:** [January 18, 2023, 4:17am UTC](https://discourse.processing.org/t/inline-shader-code-will-not-run/40627 "2023-01-18T04:17:32Z")

</div>

The following Processing code using inline shaders will not run on a Mac due to this error: ERROR: 0:6: 'attribute' : syntax error: syntax error The same code using separate .glsl files in the sketch folder runs ok. T…

---

## [Need help with making a bullet that shoots towards the mouse](https://discourse.processing.org/t/need-help-with-making-a-bullet-that-shoots-towards-the-mouse/40626)

<div class="topic-metadata">

**Author:** [@UltimateDoug](https://discourse.processing.org/u/UltimateDoug)\
**Replies:** 2\
**Last updated:** [January 18, 2023, 12:26am UTC](https://discourse.processing.org/t/need-help-with-making-a-bullet-that-shoots-towards-the-mouse/40626 "2023-01-18T00:26:45Z")

</div>

I’m making a zombie survival game and I’ve come across a problem when I was making my ArrayList of bullets. The bullets show up on the screen but wont move. With some trouble shooting it looks like the variables “d” and …

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

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