# Processing

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

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

**Page:** 164

---

## [Needing help for rotating movement directions with mouseMoved() in 3D](https://discourse.processing.org/t/needing-help-for-rotating-movement-directions-with-mousemoved-in-3d/26169)

<div class="topic-metadata">

**Author:** [@SailorToei](https://discourse.processing.org/u/SailorToei)\
**Replies:** 3\
**Last updated:** [December 13, 2020, 2:35pm UTC](https://discourse.processing.org/t/needing-help-for-rotating-movement-directions-with-mousemoved-in-3d/26169 "2020-12-13T14:35:56Z")

</div>

I am working with threedimensional spaces lately. This is my Code: //The Main Programm: Figur figur1; void setup() { size(1300,750,P3D); figur1=new Figur(650,375,0); } void draw() { println(mousey); background…

---

## [Triangulation libraries issue (unwanted edge)](https://discourse.processing.org/t/triangulation-libraries-issue-unwanted-edge/25964)

<div class="topic-metadata">

**Author:** [@nktlst](https://discourse.processing.org/u/nktlst)\
**Replies:** 20\
**Last updated:** [December 13, 2020, 2:10pm UTC](https://discourse.processing.org/t/triangulation-libraries-issue-unwanted-edge/25964 "2020-12-13T14:10:04Z")

</div>

Hi! Im playing around with triangulation libraries and got an issue where algorhythm adds one “unwanted” edge… Check image… i tried both libraries “trianglulate” and “mesh”… mesh did pretty good but with one unwanted edg…

---

## [Update vertex fragment from a texture](https://discourse.processing.org/t/update-vertex-fragment-from-a-texture/26190)

<div class="topic-metadata">

**Author:** [@regularsam](https://discourse.processing.org/u/regularsam)\
**Replies:** 0\
**Last updated:** [December 13, 2020, 1:04pm UTC](https://discourse.processing.org/t/update-vertex-fragment-from-a-texture/26190 "2020-12-13T13:04:48Z")

</div>

Hi, I’m looking for a way to update vertex positions within a vertex shader, passing from Processing a texture (sampler2D in GLSL) taken as an output from a fragment shader, which contains new position’s coordinates (x,y…

---

## [Processing doesnt open](https://discourse.processing.org/t/processing-doesnt-open/25945)

<div class="topic-metadata">

**Author:** [@glithch](https://discourse.processing.org/u/glithch)\
**Replies:** 12\
**Last updated:** [December 13, 2020, 11:45am UTC](https://discourse.processing.org/t/processing-doesnt-open/25945 "2020-12-13T11:45:21Z")

</div>

Description I used processing like 2 times during lessons and I had no issues, but suddenly during a 3rd lesson i just cant open the file. When I click on the processing icon, or on the project file I get the logo windo…

---

## [How to load .obj files faster?](https://discourse.processing.org/t/how-to-load-obj-files-faster/26080)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 4\
**Last updated:** [December 13, 2020, 2:19am UTC](https://discourse.processing.org/t/how-to-load-obj-files-faster/26080 "2020-12-13T02:19:12Z")

</div>

Hi :slight\_smile: I’m loading 6 Mb of .obj files (18 files in total) and it takes a few seconds. It would be nice if it happened faster. I tried the loader from HE\_Mesh and also the plain loadShape(). The first one was …

---

## [Geomerative: Changing fills + saveShape](https://discourse.processing.org/t/geomerative-changing-fills-saveshape/26163)

<div class="topic-metadata">

**Author:** [@drwoohoo](https://discourse.processing.org/u/drwoohoo)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 10:15pm UTC](https://discourse.processing.org/t/geomerative-changing-fills-saveshape/26163 "2020-12-12T22:15:14Z")

</div>

Hello! I am importing an SVG using the Geomerative library and would like to change the fill colors of the paths. I would then like to save the changes as an SVG file. In this example, based on “Tutorial\_16\_HelloSVGtoP…

---

## [Getting the name of the instance](https://discourse.processing.org/t/getting-the-name-of-the-instance/26144)

<div class="topic-metadata">

**Author:** [@dave307](https://discourse.processing.org/u/dave307)\
**Replies:** 4\
**Last updated:** [December 12, 2020, 4:31pm UTC](https://discourse.processing.org/t/getting-the-name-of-the-instance/26144 "2020-12-12T16:31:25Z")

</div>

is there a way of within an object to get the name of the instance it is running the code for.

---

## [Processing won't allow decimal increment since it is float not int](https://discourse.processing.org/t/processing-wont-allow-decimal-increment-since-it-is-float-not-int/26157)

<div class="topic-metadata">

**Author:** [@BillyxBonka](https://discourse.processing.org/u/BillyxBonka)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 2:29pm UTC](https://discourse.processing.org/t/processing-wont-allow-decimal-increment-since-it-is-float-not-int/26157 "2020-12-12T14:29:59Z")

</div>

\<//Increase perSec int perSec = 0; //Time int time = 0; //Amount of current milk int amount = 0; //Milk image PImage milky; //Font setting PFont BoldFont; void setup() { //Canvas Size size(500,500); //Fonts …

---

## [Discreet data interpolation](https://discourse.processing.org/t/discreet-data-interpolation/26118)

<div class="topic-metadata">

**Author:** [@SurfWise](https://discourse.processing.org/u/SurfWise)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 2:26pm UTC](https://discourse.processing.org/t/discreet-data-interpolation/26118 "2020-12-12T14:26:41Z")

</div>

Hello everyone! I struggle to solve one problem. I have discreet set of data of 2 functions C\_L(alpha) and C\_D(alpha) - lift coefficient and drag coefficient depending on angle of attack alpha. The set looks as follows: …

---

## [Bug with int\[\]={};](https://discourse.processing.org/t/bug-with-int/26135)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 2\
**Last updated:** [December 11, 2020, 3:45pm UTC](https://discourse.processing.org/t/bug-with-int/26135 "2020-12-11T15:45:25Z")

</div>

Here is a program I wrote for MASTERMIND game. When I was trying a way to get the correct placing & correct numbers. Here is the code which always returns OutOfBounds exception //mastermind int code\[\] = {0, 3, 1, 2}; i…

---

## [Can I make words float around the screen with the word I type in?](https://discourse.processing.org/t/can-i-make-words-float-around-the-screen-with-the-word-i-type-in/26087)

<div class="topic-metadata">

**Author:** [@Quinton](https://discourse.processing.org/u/Quinton)\
**Replies:** 3\
**Last updated:** [December 11, 2020, 2:36pm UTC](https://discourse.processing.org/t/can-i-make-words-float-around-the-screen-with-the-word-i-type-in/26087 "2020-12-11T14:36:50Z")

</div>

I was trying to make a code that can make the word of sentence I type in would float around the screen. when I type the letters and hit enter, the typed sentence will bounce around. It was kinda tricky… since I didnt c…

---

## [From the Menu to the Game (mousePressed, programming tic tac toe)](https://discourse.processing.org/t/from-the-menu-to-the-game-mousepressed-programming-tic-tac-toe/26067)

<div class="topic-metadata">

**Author:** [@librakl](https://discourse.processing.org/u/librakl)\
**Replies:** 11\
**Last updated:** [December 11, 2020, 12:34pm UTC](https://discourse.processing.org/t/from-the-menu-to-the-game-mousepressed-programming-tic-tac-toe/26067 "2020-12-11T12:34:40Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello, we need to write a programm in processing for the game tic tac toe But our problem is, when we click on ‘play against human’ the field …

---

## [【Help】Processing3.5.4 cannot find my camera](https://discourse.processing.org/t/help-processing3-5-4-cannot-find-my-camera/26049)

<div class="topic-metadata">

**Author:** [@MuTsing](https://discourse.processing.org/u/MuTsing)\
**Replies:** 3\
**Last updated:** [December 11, 2020, 10:19am UTC](https://discourse.processing.org/t/help-processing3-5-4-cannot-find-my-camera/26049 "2020-12-11T10:19:23Z")

</div>

Procssing3.5.4, cannot find my camera. However other software like ZOOM can use it successfully. There is no prohibition or occupation. !\[image|264x500\](upload://4XHM9UNeQdK3yZ2mikg8HFNVWQU.png)

---

## [Exporting 3D rendering as SVG/PDF with occlusion](https://discourse.processing.org/t/exporting-3d-rendering-as-svg-pdf-with-occlusion/15923)

<div class="topic-metadata">

**Author:** [@nosarious](https://discourse.processing.org/u/nosarious)\
**Replies:** 7\
**Last updated:** [December 11, 2020, 9:52am UTC](https://discourse.processing.org/t/exporting-3d-rendering-as-svg-pdf-with-occlusion/15923 "2020-12-11T09:52:57Z")

</div>

I have been using the HE\_Mesh library quite a bit to make models, and modify scanned models to make them have contour lines. It’s pretty neat. I recently bought an AxiDraw to plot some of these out, but I am running int…

---

## [More Editor Fonts?](https://discourse.processing.org/t/more-editor-fonts/26033)

<div class="topic-metadata">

**Author:** [@StanWithers](https://discourse.processing.org/u/StanWithers)\
**Replies:** 3\
**Last updated:** [December 11, 2020, 12:59am UTC](https://discourse.processing.org/t/more-editor-fonts/26033 "2020-12-11T00:59:41Z")

</div>

I installed so many fonts on my PC, but why the font list in editor preference is so short ? How can I use more fonts in editor ? Anyone can give me a hint ? many thx (BTW, I know how to use custom fonts in sketch)

---

## [Multiple mouse clicks issue](https://discourse.processing.org/t/multiple-mouse-clicks-issue/26126)

<div class="topic-metadata">

**Author:** [@millionish](https://discourse.processing.org/u/millionish)\
**Replies:** 9\
**Last updated:** [December 10, 2020, 9:41pm UTC](https://discourse.processing.org/t/multiple-mouse-clicks-issue/26126 "2020-12-10T21:41:51Z")

</div>

How do I consider multiple mouse clicks as one mouse click? I have an if condition which checks for mouse click condition and increments the counter variable, but when mouse is kept pressed for a long time, there are mu…

---

## [Randomise Asteroids from sky](https://discourse.processing.org/t/randomise-asteroids-from-sky/26129)

<div class="topic-metadata">

**Author:** [@Wengi](https://discourse.processing.org/u/Wengi)\
**Replies:** 2\
**Last updated:** [December 10, 2020, 10:28pm UTC](https://discourse.processing.org/t/randomise-asteroids-from-sky/26129 "2020-12-10T22:28:18Z")

</div>

Good evening programmers! I want to program a game where asteroids fall from the sky. Does anyone know how I can happen this to come from above? The asteroids are just normal circles. Thanks in advance! Kind regards

---

## [Win 10 won't execute my executable on one specific computer](https://discourse.processing.org/t/win-10-wont-execute-my-executable-on-one-specific-computer/25949)

<div class="topic-metadata">

**Author:** [@genscripter](https://discourse.processing.org/u/genscripter)\
**Replies:** 4\
**Last updated:** [December 10, 2020, 9:59pm UTC](https://discourse.processing.org/t/win-10-wont-execute-my-executable-on-one-specific-computer/25949 "2020-12-10T21:59:04Z")

</div>

I have one laptop (win 10 64b) that is especially finicky. I publish a VERY simple processing script (just size and background color) and export the exe. Then I bring it to my other computers. All work fine. However,…

---

## [Mathematical circle animation](https://discourse.processing.org/t/mathematical-circle-animation/26117)

<div class="topic-metadata">

**Author:** [@IziBartek](https://discourse.processing.org/u/IziBartek)\
**Replies:** 12\
**Last updated:** [December 10, 2020, 7:40pm UTC](https://discourse.processing.org/t/mathematical-circle-animation/26117 "2020-12-10T19:40:29Z")

</div>

Hello, I am very new to processing and would be grateful if I got some help with my assignment. I have took on a project to create something like this animation in processing. I have little to no idea how to come up wit…

---

## [Sound display on a wall](https://discourse.processing.org/t/sound-display-on-a-wall/26044)

<div class="topic-metadata">

**Author:** [@slothzzz](https://discourse.processing.org/u/slothzzz)\
**Replies:** 4\
**Last updated:** [December 10, 2020, 12:12pm UTC](https://discourse.processing.org/t/sound-display-on-a-wall/26044 "2020-12-10T12:12:20Z")

</div>

hi guys i’m approaching with processing and i’m thinking about a project (to project the sound display on the wall in my bedroom) this is the idea how can i do it? thanks

---

## [Moving backgroud coordinate issue](https://discourse.processing.org/t/moving-backgroud-coordinate-issue/26107)

<div class="topic-metadata">

**Author:** [@millionish](https://discourse.processing.org/u/millionish)\
**Replies:** 1\
**Last updated:** [December 10, 2020, 10:38am UTC](https://discourse.processing.org/t/moving-backgroud-coordinate-issue/26107 "2020-12-10T10:38:32Z")

</div>

I’m making a top down shooter game. The way I’m moving the player is by keeping him in the center of the screen and moving the background instead. But as I move it, the coordinates of the screen change continuously and I…

---

## [Graphical user interface help](https://discourse.processing.org/t/graphical-user-interface-help/26089)

<div class="topic-metadata">

**Author:** [@DijaAngel](https://discourse.processing.org/u/DijaAngel)\
**Replies:** 3\
**Last updated:** [December 10, 2020, 5:51am UTC](https://discourse.processing.org/t/graphical-user-interface-help/26089 "2020-12-10T05:51:23Z")

</div>

Hi i want to make a graphical user interface and I’m supposed to design one on paper.Please could someone explain to me what I’m supposed to do. Am I supposed to use a specific application or is it on processing?

---

## [Make 3 functions into one](https://discourse.processing.org/t/make-3-functions-into-one/26101)

<div class="topic-metadata">

**Author:** [@vestergaard12](https://discourse.processing.org/u/vestergaard12)\
**Replies:** 15\
**Last updated:** [December 9, 2020, 10:07pm UTC](https://discourse.processing.org/t/make-3-functions-into-one/26101 "2020-12-09T22:07:37Z")

</div>

Hello Processing foundation I have this really simple question and I know it might seem very easy to do, but I cannot see how to do it correctly. I have these 3 functions which i want to compromise to one simple functi…

---

## [Moving two Objects at the same time with different keys](https://discourse.processing.org/t/moving-two-objects-at-the-same-time-with-different-keys/26097)

<div class="topic-metadata">

**Author:** [@jorick](https://discourse.processing.org/u/jorick)\
**Replies:** 3\
**Last updated:** [December 9, 2020, 9:42pm UTC](https://discourse.processing.org/t/moving-two-objects-at-the-same-time-with-different-keys/26097 "2020-12-09T21:42:58Z")

</div>

I´m working on a game in wich i have two balls. Both Balls should be movable at the same time, the first one with w,a,s,d and the second one with the arrow keys. My problem is that i can always only move one object. Are …

---

## [Using ArrayList\<int\>](https://discourse.processing.org/t/using-arraylist-int/26094)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 22\
**Last updated:** [December 9, 2020, 8:10pm UTC](https://discourse.processing.org/t/using-arraylist-int/26094 "2020-12-09T20:10:45Z")

</div>

Hi! I recently learned how to use ArrayLists and tried to use ArrayList\<int\> selection = new ArrayList\<int\>(); but the int does not work. Any ideas why? Here is the code if this is an isolated issue which I doubt //d…

---

## [Someone change this code but make it stay the same](https://discourse.processing.org/t/someone-change-this-code-but-make-it-stay-the-same/26026)

<div class="topic-metadata">

**Author:** [@Mohammed](https://discourse.processing.org/u/Mohammed)\
**Replies:** 10\
**Last updated:** [December 9, 2020, 10:43am UTC](https://discourse.processing.org/t/someone-change-this-code-but-make-it-stay-the-same/26026 "2020-12-09T10:43:50Z")

</div>

please format code with \</\> button \* homework policy \* asking questions int radius = 12; int direction = 1; int direction2 = 0; float x = 250; float y = 250; void setup() { size(500, 500); ellipseMode(RADIUS); …

---

## [Vectors give me same data](https://discourse.processing.org/t/vectors-give-me-same-data/26054)

<div class="topic-metadata">

**Author:** [@Banana](https://discourse.processing.org/u/Banana)\
**Replies:** 4\
**Last updated:** [December 9, 2020, 11:01am UTC](https://discourse.processing.org/t/vectors-give-me-same-data/26054 "2020-12-09T11:01:56Z")

</div>

Hello everyone, i’m new here I want to make a slingshot that throws projectiles but i’m confronted to a problem with vector. The objectiv is to have a vector that stores the datas of the throw. “v3” Can you tell me wh…

---

## [Expecting EOF error, can't find out where im going wrong](https://discourse.processing.org/t/expecting-eof-error-cant-find-out-where-im-going-wrong/26073)

<div class="topic-metadata">

**Author:** [@kahkmcm](https://discourse.processing.org/u/kahkmcm)\
**Replies:** 2\
**Last updated:** [December 9, 2020, 1:54am UTC](https://discourse.processing.org/t/expecting-eof-error-cant-find-out-where-im-going-wrong/26073 "2020-12-09T01:54:39Z")

</div>

Hi, new to the forums so sorry if this is formatted wrong. But I’m trying to set up an array with sounds but I’m just getting error after error and don’t know where I’m going wrong import processing.sound.\*; // this ca…

---

## [I need help with filling in a grid](https://discourse.processing.org/t/i-need-help-with-filling-in-a-grid/25939)

<div class="topic-metadata">

**Author:** [@SadCSstudent](https://discourse.processing.org/u/SadCSstudent)\
**Replies:** 17\
**Last updated:** [December 9, 2020, 12:48am UTC](https://discourse.processing.org/t/i-need-help-with-filling-in-a-grid/25939 "2020-12-09T00:48:26Z")

</div>

Hi,i created a 3x3 grid and i need each cell in the grid to change colour when clicked but it fills the entire screen. I’m, also unfortunately not allowed to use 2D arrays or the 'color function as I’ve seen online. Can…

---

## [How to move shape](https://discourse.processing.org/t/how-to-move-shape/26066)

<div class="topic-metadata">

**Author:** [@Adamasmal02](https://discourse.processing.org/u/Adamasmal02)\
**Replies:** 2\
**Last updated:** [December 9, 2020, 12:27am UTC](https://discourse.processing.org/t/how-to-move-shape/26066 "2020-12-09T00:27:18Z")

</div>

I have made this so far I’m new to processing I’m wondering how I can make it move right left up and down

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

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