# Processing

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

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

**Page:** 26

---

## [Simple collision game. the ellipse strange moves](https://discourse.processing.org/t/simple-collision-game-the-ellipse-strange-moves/43765)

<div class="topic-metadata">

**Author:** [@doni](https://discourse.processing.org/u/doni)\
**Replies:** 1\
**Last updated:** [January 26, 2024, 9:33am UTC](https://discourse.processing.org/t/simple-collision-game-the-ellipse-strange-moves/43765 "2024-01-26T09:33:18Z")

</div>

hi. i want to create simple game where i have ellipse moving randomly and line at the bottom of the screen and its move along mouse X axis to void the ellipse from touch the bottom screen end. but bellow code cause the e…

---

## [Volume with lines](https://discourse.processing.org/t/volume-with-lines/43759)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 1\
**Last updated:** [January 25, 2024, 4:45pm UTC](https://discourse.processing.org/t/volume-with-lines/43759 "2024-01-25T16:45:34Z")

</div>

Hi there! I am drawing this origami folds simulating volume with a loop of lines in every side. But second side’s loop is not complete as I was expecting, following the red line you can see on the picture. Could anyone p…

---

## [Cannot stop glitching through block](https://discourse.processing.org/t/cannot-stop-glitching-through-block/43752)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 6:25pm UTC](https://discourse.processing.org/t/cannot-stop-glitching-through-block/43752 "2024-01-24T18:25:15Z")

</div>

Lines 203-215 seem to be the problem. The square is 30 px in length, and the obstacle is 160. I’m trying to get it so that you cannot move into the square. It works when I just have lines 203-208, but when changing the 8…

---

## [Value will not go negative (move and bounce)](https://discourse.processing.org/t/value-will-not-go-negative-move-and-bounce/43742)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 3\
**Last updated:** [January 24, 2024, 4:39pm UTC](https://discourse.processing.org/t/value-will-not-go-negative-move-and-bounce/43742 "2024-01-24T16:39:23Z")

</div>

I’ve used almost exact code before but its not working this time. Any idea why? float obstacleX; float obstacleMoveX; … square(obstacleX, obstacleY, 80); obstacleMoveX = 2; obstacleX = obstacleX + obstacleMoveX; if (…

---

## [SaveFrame specific area](https://discourse.processing.org/t/saveframe-specific-area/43748)

<div class="topic-metadata">

**Author:** [@WormLover36](https://discourse.processing.org/u/WormLover36)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 2:12pm UTC](https://discourse.processing.org/t/saveframe-specific-area/43748 "2024-01-24T14:12:36Z")

</div>

Hey everyone, I’m new to Processing and coding in general and I have to code something for uni in the form of a photobooth that utilizes the webcam and has a recording function. I use the following code for that: void …

---

## [Deformed circles](https://discourse.processing.org/t/deformed-circles/43703)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 18\
**Last updated:** [January 24, 2024, 5:22am UTC](https://discourse.processing.org/t/deformed-circles/43703 "2024-01-24T05:22:22Z")

</div>

Hi there! I am trying to draw something as this made by hand circles with processing. I know this two ways, but deforming an ellipse is still too geometric and rounded corners of a rect is not bad but not as spontaneous …

---

## [Score won't stay](https://discourse.processing.org/t/score-wont-stay/43739)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 4\
**Last updated:** [January 23, 2024, 8:17pm UTC](https://discourse.processing.org/t/score-wont-stay/43739 "2024-01-23T20:17:21Z")

</div>

I’m making a stupid little game for fun. The square follows you, and however long it follows you, you get score. While the ‘play’ is true, you get score. And when it is ‘gameOver’ it displays a rounded amount. Yet when I…

---

## [Exporting to SVG for use in pen plotting](https://discourse.processing.org/t/exporting-to-svg-for-use-in-pen-plotting/42395)

<div class="topic-metadata">

**Author:** [@PCwigwam](https://discourse.processing.org/u/PCwigwam)\
**Replies:** 7\
**Last updated:** [January 18, 2024, 2:12am UTC](https://discourse.processing.org/t/exporting-to-svg-for-use-in-pen-plotting/42395 "2024-01-18T02:12:51Z")

</div>

Hi all, i’m a few weeks into learning coding/Processing but am struggling a bit with taking my processing creations and exporting them to SVG files. Below is a program that i’ve written up in Processing and i’d really li…

---

## [Trouble making ellipses in curving line non-overlapping](https://discourse.processing.org/t/trouble-making-ellipses-in-curving-line-non-overlapping/43709)

<div class="topic-metadata">

**Author:** [@druuupppa](https://discourse.processing.org/u/druuupppa)\
**Replies:** 0\
**Last updated:** [January 17, 2024, 11:53pm UTC](https://discourse.processing.org/t/trouble-making-ellipses-in-curving-line-non-overlapping/43709 "2024-01-17T23:53:23Z")

</div>

Hello! I need some help with this code with which I have been making loop-d-loop lines of ellipses. I am having a lot of trouble getting them to draw without overlapping. Any help would be appreciated! Warmly, Druppa …

---

## [Running a Processing script without Java installed](https://discourse.processing.org/t/running-a-processing-script-without-java-installed/43705)

<div class="topic-metadata">

**Author:** [@3xotic109](https://discourse.processing.org/u/3xotic109)\
**Replies:** 4\
**Last updated:** [January 17, 2024, 11:12pm UTC](https://discourse.processing.org/t/running-a-processing-script-without-java-installed/43705 "2024-01-17T23:12:11Z")

</div>

So I need to be able to run a processing script without having java installed. Is it possible to run it in the browser maybe? I need to be able to run it on a different device other than just my own as well, if that matt…

---

## [Why does it get stuck 'up'](https://discourse.processing.org/t/why-does-it-get-stuck-up/43707)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 4\
**Last updated:** [January 17, 2024, 5:26pm UTC](https://discourse.processing.org/t/why-does-it-get-stuck-up/43707 "2024-01-17T17:26:17Z")

</div>

Trying to make a SUPER rudamentary Geometry dash. When I jump though, it stays up. i don’t know why. float playerY; float truePY; boolean playerJump; boolean cube; boolean ship; void setup() { fullScreen(); playe…

---

## [Translate glsl to Processing glsl Code](https://discourse.processing.org/t/translate-glsl-to-processing-glsl-code/43699)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 2\
**Last updated:** [January 16, 2024, 6:47am UTC](https://discourse.processing.org/t/translate-glsl-to-processing-glsl-code/43699 "2024-01-16T06:47:16Z")

</div>

How can one translate glsl code to processing glsl code?

---

## [Creating a simple Shadow Shader](https://discourse.processing.org/t/creating-a-simple-shadow-shader/43690)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 0\
**Last updated:** [January 15, 2024, 1:29am UTC](https://discourse.processing.org/t/creating-a-simple-shadow-shader/43690 "2024-01-15T01:29:45Z")

</div>

Hello, I wanted to add shadows to my sketch, however I only found ways in P2D to use the blur shader examples, and i don’t know on how a shader could be translated to processing. This is my code (i wanted to add shadow…

---

## [Run Processing code from the terminal](https://discourse.processing.org/t/run-processing-code-from-the-terminal/43673)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 3\
**Last updated:** [January 13, 2024, 3:17am UTC](https://discourse.processing.org/t/run-processing-code-from-the-terminal/43673 "2024-01-13T03:17:37Z")

</div>

Hey, I was wondering if it is possible to run processing code through a terminal by specfying one .pde file and compiling and launching that way. Thanks for any answers!

---

## [Cannot move both "players" at once. Don't understand why it cannot pick up multiple (keyPressed) at once](https://discourse.processing.org/t/cannot-move-both-players-at-once-dont-understand-why-it-cannot-pick-up-multiple-keypressed-at-once/43668)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 7\
**Last updated:** [January 12, 2024, 2:44pm UTC](https://discourse.processing.org/t/cannot-move-both-players-at-once-dont-understand-why-it-cannot-pick-up-multiple-keypressed-at-once/43668 "2024-01-12T14:44:56Z")

</div>

float circleX; float circleY; float allColor; float bgColor; float player1Y; float player2Y; float ballSpeedX; float ballSpeedY; float player1Score; float player2Score; float trueBallSpeed; int player1ScoreView; int play…

---

## [Increasing Ellipses loop (Mandala)](https://discourse.processing.org/t/increasing-ellipses-loop-mandala/43640)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 28\
**Last updated:** [January 9, 2024, 11:20pm UTC](https://discourse.processing.org/t/increasing-ellipses-loop-mandala/43640 "2024-01-09T23:20:43Z")

</div>

Hello! I am trying to draw a mandala with a lot of ellipses in the middle and a few in the outer part. i mean, I am looking for something as a increasing growing separation, to get more concentration of ellioses in the c…

---

## [Development setup](https://discourse.processing.org/t/development-setup/43657)

<div class="topic-metadata">

**Author:** [@faisu](https://discourse.processing.org/u/faisu)\
**Replies:** 1\
**Last updated:** [January 9, 2024, 1:49pm UTC](https://discourse.processing.org/t/development-setup/43657 "2024-01-09T13:49:04Z")

</div>

This the line where I am getting error in: It is in server/server.js line 32: “const MongoStore = connectMongo(session);” The error is TypeError: Class constructor MongoStore cannot be invoked without ‘new’

---

## [Image processing - Do you have any good ideas? | car license plate correction](https://discourse.processing.org/t/image-processing-do-you-have-any-good-ideas-car-license-plate-correction/43647)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [January 8, 2024, 6:58pm UTC](https://discourse.processing.org/t/image-processing-do-you-have-any-good-ideas-car-license-plate-correction/43647 "2024-01-08T18:58:55Z")

</div>

Image processing - Do you have any good ideas? car license plate correction hello. Thank you for your interest in my writing. Please refer to the picture. The license plate is trapezoid-shaped. It is actually rect…

---

## ["text" function creates decimal numbers](https://discourse.processing.org/t/text-function-creates-decimal-numbers/43653)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 1\
**Last updated:** [January 8, 2024, 5:40pm UTC](https://discourse.processing.org/t/text-function-creates-decimal-numbers/43653 "2024-01-08T17:40:02Z")

</div>

I have a variable called “player1Score” in a simple Pong game I am making. “player1Score” is equal to 0 at the beginning, and is set to add 1 when scoring. The text command states “text(player1Score, ~, ~)” when using th…

---

## [Cannot invoke movingstuff() on the array type anarray.shapes\[\]](https://discourse.processing.org/t/cannot-invoke-movingstuff-on-the-array-type-anarray-shapes/43603)

<div class="topic-metadata">

**Author:** [@Charlie1](https://discourse.processing.org/u/Charlie1)\
**Replies:** 1\
**Last updated:** [January 8, 2024, 5:23pm UTC](https://discourse.processing.org/t/cannot-invoke-movingstuff-on-the-array-type-anarray-shapes/43603 "2024-01-08T17:23:50Z")

</div>

Hey Guys, do you know of a way I can overcome this error? Thanks. //shapes shapedimentions = new shapes\[2\]; //squares squaredimentions = new squares\[2\]; shapes anyshapevariable = new shapes\[4\]; void setup() { size(5…

---

## [Request For Review Of PR (Processing4)](https://discourse.processing.org/t/request-for-review-of-pr-processing4/43646)

<div class="topic-metadata">

**Author:** [@SaumyaKarnwal](https://discourse.processing.org/u/SaumyaKarnwal)\
**Replies:** 0\
**Last updated:** [January 8, 2024, 6:34am UTC](https://discourse.processing.org/t/request-for-review-of-pr-processing4/43646 "2024-01-08T06:34:48Z")

</div>

What is the process to get your PR reviewed. I am currently working on the processing repo. The links to the PR are : fixed issue#750 ArrayIndexOutOfBoundsException by SaumyaKarnwal · Pull Request #816 · benfry/proces…

---

## [Animate bezier path logo](https://discourse.processing.org/t/animate-bezier-path-logo/43624)

<div class="topic-metadata">

**Author:** [@omagash](https://discourse.processing.org/u/omagash)\
**Replies:** 7\
**Last updated:** [January 7, 2024, 2:51pm UTC](https://discourse.processing.org/t/animate-bezier-path-logo/43624 "2024-01-07T14:51:09Z")

</div>

Hey everyone!! I have the assignment to create a logo in processing. I already created a “logo” but I´m struggling with the animation and I need a little help:) size (400, 400); noFill(); stroke(0); strokeWeight(3); …

---

## [Shapes3D Change measurements of Box](https://discourse.processing.org/t/shapes3d-change-measurements-of-box/43631)

<div class="topic-metadata">

**Author:** [@SgtRoflol](https://discourse.processing.org/u/SgtRoflol)\
**Replies:** 1\
**Last updated:** [January 7, 2024, 11:26am UTC](https://discourse.processing.org/t/shapes3d-change-measurements-of-box/43631 "2024-01-07T11:26:52Z")

</div>

I am currently working on a visualisation, where I have several Box Objects from the Shapes3D library which I want to animate. I want to change the height of the Boxes over a period of time using the lerp() function spec…

---

## [Desktop version p5.js like Processing.js](https://discourse.processing.org/t/desktop-version-p5-js-like-processing-js/43609)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 0\
**Last updated:** [January 2, 2024, 11:31pm UTC](https://discourse.processing.org/t/desktop-version-p5-js-like-processing-js/43609 "2024-01-02T23:31:39Z")

</div>

Hi Processing Community! I have been coding in Processing js for a couple years now and I prefer the desktop application versus working in p5js in the web browser. Are there any alternatives to working in p5js on the de…

---

## [How can I get my Processing Program to connect to the Steam Client and Give Achievements?](https://discourse.processing.org/t/how-can-i-get-my-processing-program-to-connect-to-the-steam-client-and-give-achievements/27574)

<div class="topic-metadata">

**Author:** [@CosmicCrowMC](https://discourse.processing.org/u/CosmicCrowMC)\
**Replies:** 1\
**Last updated:** [January 6, 2024, 9:29pm UTC](https://discourse.processing.org/t/how-can-i-get-my-processing-program-to-connect-to-the-steam-client-and-give-achievements/27574 "2024-01-06T21:29:00Z")

</div>

Hello there! This is a pretty big and highly-specific question, but I’m running out of ideas and definitely don’t have the computer science expertise to figure this out on my own, let alone understand what exactly I’m do…

---

## [Problem with Movie Maker II](https://discourse.processing.org/t/problem-with-movie-maker-ii/43576)

<div class="topic-metadata">

**Author:** [@Philippe1](https://discourse.processing.org/u/Philippe1)\
**Replies:** 1\
**Last updated:** [January 6, 2024, 4:50pm UTC](https://discourse.processing.org/t/problem-with-movie-maker-ii/43576 "2024-01-06T16:50:29Z")

</div>

Hello, I have a problem creating a video with Movie Maker. I read the images that I want to mount in a file, and when I call it to create a movie I get the following message. “QuickTime Movie creation failed Unknown …

---

## [3D physics library for Processing?](https://discourse.processing.org/t/3d-physics-library-for-processing/43618)

<div class="topic-metadata">

**Author:** [@floatinginspace](https://discourse.processing.org/u/floatinginspace)\
**Replies:** 0\
**Last updated:** [January 4, 2024, 8:22pm UTC](https://discourse.processing.org/t/3d-physics-library-for-processing/43618 "2024-01-04T20:22:53Z")

</div>

Is there a library for making simple physics simulations in 3D with Processing? I want to make something like a series of cubes dropping into a “container” object (think like ice-cubes dropping into a glass). I’ve used …

---

## [Proper buffer memory management for PImage created inside a function, and used outside it](https://discourse.processing.org/t/proper-buffer-memory-management-for-pimage-created-inside-a-function-and-used-outside-it/43616)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 1\
**Last updated:** [January 4, 2024, 4:08pm UTC](https://discourse.processing.org/t/proper-buffer-memory-management-for-pimage-created-inside-a-function-and-used-outside-it/43616 "2024-01-04T16:08:06Z")

</div>

This code works, as you can see, but I’m not sure if it SHOULD work. I am reserving the buffer space for the Test Pimage inside a function, and returning the values that have been set inside the function. I have a wei…

---

## [Puzzle - effect of alpha value depends on RGB value of pixel?](https://discourse.processing.org/t/puzzle-effect-of-alpha-value-depends-on-rgb-value-of-pixel/42983)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 5\
**Last updated:** [January 4, 2024, 12:14pm UTC](https://discourse.processing.org/t/puzzle-effect-of-alpha-value-depends-on-rgb-value-of-pixel/42983 "2024-01-04T12:14:31Z")

</div>

Here is a little test case that illustrates my puzzle. In both c1 and c3, alpha is set to 255. We should see the fill value showing over the background as declared via the RGB values, and this is what happens. In c1…

---

## [The use of PJOGL.setIcon() for macOS](https://discourse.processing.org/t/the-use-of-pjogl-seticon-for-macos/43541)

<div class="topic-metadata">

**Author:** [@Nach](https://discourse.processing.org/u/Nach)\
**Replies:** 11\
**Last updated:** [January 4, 2024, 12:53am UTC](https://discourse.processing.org/t/the-use-of-pjogl-seticon-for-macos/43541 "2024-01-04T00:53:23Z")

</div>

Hello Processing community, I’m facing a peculiar issue with an application I’ve developed using Processing. I’ve created a custom icon for my application, but after installing it on macOS using the .pkg, upon running i…

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

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