# Processing

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

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

**Page:** 271

---

## [Server equilavent to clientEvent()?](https://discourse.processing.org/t/server-equilavent-to-clientevent/14265)

<div class="topic-metadata">

**Author:** [@Brastin](https://discourse.processing.org/u/Brastin)\
**Replies:** 0\
**Last updated:** [September 29, 2019, 8:02am UTC](https://discourse.processing.org/t/server-equilavent-to-clientevent/14265 "2019-09-29T08:02:01Z")

</div>

I’m trying to make a multiplayer game, and at the start it needs to send map data across from the host to the other players. A lot of examples I’ve seen use two different applications, a client and a server, but I’ve tie…

---

## [Help with Drawing scaling](https://discourse.processing.org/t/help-with-drawing-scaling/14264)

<div class="topic-metadata">

**Author:** [@Chrollo](https://discourse.processing.org/u/Chrollo)\
**Replies:** 1\
**Last updated:** [September 29, 2019, 7:09am UTC](https://discourse.processing.org/t/help-with-drawing-scaling/14264 "2019-09-29T07:09:23Z")

</div>

hello. I need help figuring out how to do this specific function. My assignment asks that I make an animal that grows bigger and smaller depending on the Y value of the mouse. I managed to make the main body parts scale …

---

## [Join vertices of PShapes after translation / rotation](https://discourse.processing.org/t/join-vertices-of-pshapes-after-translation-rotation/14246)

<div class="topic-metadata">

**Author:** [@BennyHacker](https://discourse.processing.org/u/BennyHacker)\
**Replies:** 2\
**Last updated:** [September 28, 2019, 7:47pm UTC](https://discourse.processing.org/t/join-vertices-of-pshapes-after-translation-rotation/14246 "2019-09-28T19:47:52Z")

</div>

Hello Forum. I’m trying to join the top and bottom of two cubes which are being rotated in 3D space. I can’t seem to reliably update the vertices of these shapes after they are being rotated. I’ve tried simply joining…

---

## [Animating Sketch 101](https://discourse.processing.org/t/animating-sketch-101/14254)

<div class="topic-metadata">

**Author:** [@las6525](https://discourse.processing.org/u/las6525)\
**Replies:** 2\
**Last updated:** [September 28, 2019, 7:47am UTC](https://discourse.processing.org/t/animating-sketch-101/14254 "2019-09-28T07:47:49Z")

</div>

Hi All, Below is my first sketch, I am aiming to animated it (besides bouncing around the window). I am in some serious need of pointers of how I should set up my code to have a shape appear and disappear with the mouse…

---

## [How to get x and y lines follow mouse + draw coordinates](https://discourse.processing.org/t/how-to-get-x-and-y-lines-follow-mouse-draw-coordinates/14257)

<div class="topic-metadata">

**Author:** [@Teljemo](https://discourse.processing.org/u/Teljemo)\
**Replies:** 7\
**Last updated:** [September 28, 2019, 4:57pm UTC](https://discourse.processing.org/t/how-to-get-x-and-y-lines-follow-mouse-draw-coordinates/14257 "2019-09-28T16:57:37Z")

</div>

Me and my 13 year old son just started to learn programming in processing with the guidence from “the coding train”. I have a hard time explaining how easy the coorinate system is. Drawing on paper and stuff but I guess…

---

## [Quicksort visualization](https://discourse.processing.org/t/quicksort-visualization/14120)

<div class="topic-metadata">

**Author:** [@hawko](https://discourse.processing.org/u/hawko)\
**Replies:** 9\
**Last updated:** [September 28, 2019, 1:37pm UTC](https://discourse.processing.org/t/quicksort-visualization/14120 "2019-09-28T13:37:59Z")

</div>

I’m trying to write a quicksort visualization, but the sorting happens too fast. float\[\] values; void swap(float\[\] arr, int a, int b) { float temp = arr\[a\]; arr\[a\] = arr\[b\]; arr\[b\] = temp; // delay(1); red…

---

## [How to do a lowpass signal filtering in Processing?](https://discourse.processing.org/t/how-to-do-a-lowpass-signal-filtering-in-processing/14251)

<div class="topic-metadata">

**Author:** [@KGS](https://discourse.processing.org/u/KGS)\
**Replies:** 1\
**Last updated:** [September 28, 2019, 3:41am UTC](https://discourse.processing.org/t/how-to-do-a-lowpass-signal-filtering-in-processing/14251 "2019-09-28T03:41:36Z")

</div>

I have data for pulse recording. Since it’s embedded with noise I need to filter the signal real TIme so I can visualize the pulse pattern. How can I do it with Processing software?

---

## [Orbiting issues](https://discourse.processing.org/t/orbiting-issues/14244)

<div class="topic-metadata">

**Author:** [@Epic\_ModZz](https://discourse.processing.org/u/Epic_ModZz)\
**Replies:** 3\
**Last updated:** [September 27, 2019, 10:34pm UTC](https://discourse.processing.org/t/orbiting-issues/14244 "2019-09-27T22:34:39Z")

</div>

I am trying to make a circle orbit the larger circle in this cord. My attempts have been failing. Please help ArrayList Balls; int mass; byte h; PFont font; int x = mass; void setup(){ size(640, 640); frameRate(60…

---

## [Volume and motion](https://discourse.processing.org/t/volume-and-motion/14186)

<div class="topic-metadata">

**Author:** [@camilacaceresl](https://discourse.processing.org/u/camilacaceresl)\
**Replies:** 3\
**Last updated:** [September 27, 2019, 6:35pm UTC](https://discourse.processing.org/t/volume-and-motion/14186 "2019-09-27T18:35:33Z")

</div>

I wrote a code where the amplitude of a audio input is mapped to the amplitude of a sin function. Right now is just controlling the position of ellipse on a screen but i want this motion to be applied to a drawing mach…

---

## [Image Loading: Processing 2 vs 3](https://discourse.processing.org/t/image-loading-processing-2-vs-3/14194)

<div class="topic-metadata">

**Author:** [@mnoble](https://discourse.processing.org/u/mnoble)\
**Replies:** 8\
**Last updated:** [September 27, 2019, 5:07pm UTC](https://discourse.processing.org/t/image-loading-processing-2-vs-3/14194 "2019-09-27T17:07:02Z")

</div>

Hello, My students are making interactive collages and importing a lot of .pngs. We noticed that Processing 3 is really laggy for simple image animations that run fine of Processing 2. Does anyone know why this is and h…

---

## [sketchPath returns the wrong sketch path](https://discourse.processing.org/t/sketchpath-returns-the-wrong-sketch-path/14215)

<div class="topic-metadata">

**Author:** [@leo.nerd](https://discourse.processing.org/u/leo.nerd)\
**Replies:** 3\
**Last updated:** [September 27, 2019, 10:38am UTC](https://discourse.processing.org/t/sketchpath-returns-the-wrong-sketch-path/14215 "2019-09-27T10:38:00Z")

</div>

Hello. Windows user here. The sketchPath and dataPath methods seem to return the wrong sketch locations: String sketchpath = sketchPath(""); println(sketchpath); returns: C:\\Users\\\[my.username\]\\Documents\\Processing\\pr…

---

## [How to save multiple arrays to one csv file?](https://discourse.processing.org/t/how-to-save-multiple-arrays-to-one-csv-file/14234)

<div class="topic-metadata">

**Author:** [@KGS](https://discourse.processing.org/u/KGS)\
**Replies:** 2\
**Last updated:** [September 27, 2019, 8:45am UTC](https://discourse.processing.org/t/how-to-save-multiple-arrays-to-one-csv-file/14234 "2019-09-27T08:45:57Z")

</div>

I have interfaced and Arduino with 2 different sensors (Temperature and pressure) having different sampling rates. I have established the serial communication with Processing and saved the data in a csv file. I have save…

---

## [How to use fixed Xlim and YLim commands in processing?](https://discourse.processing.org/t/how-to-use-fixed-xlim-and-ylim-commands-in-processing/14229)

<div class="topic-metadata">

**Author:** [@KGS](https://discourse.processing.org/u/KGS)\
**Replies:** 2\
**Last updated:** [September 27, 2019, 6:08am UTC](https://discourse.processing.org/t/how-to-use-fixed-xlim-and-ylim-commands-in-processing/14229 "2019-09-27T06:08:24Z")

</div>

I have created real-time plot with serial communication. I need a fixed vertical axis in my plot. I have used the grafica library to create the graphs. I have seen there is a command in Grafica library as “fixedYLim” an…

---

## [Exported Processing applications won't run fullScreen() on 2nd display. Mac](https://discourse.processing.org/t/exported-processing-applications-wont-run-fullscreen-on-2nd-display-mac/14155)

<div class="topic-metadata">

**Author:** [@nicnut](https://discourse.processing.org/u/nicnut)\
**Replies:** 2\
**Last updated:** [September 26, 2019, 6:41pm UTC](https://discourse.processing.org/t/exported-processing-applications-wont-run-fullscreen-on-2nd-display-mac/14155 "2019-09-26T18:41:28Z")

</div>

Hi, I am using a Mac powerbook running OS 10.13.6 and Processing 3. I am trying to get my Processing sketches, plus exported applications, running on a external monitor, and eventually a projector connected to my comput…

---

## [I need help with optimization of a basic sharpening algorithm](https://discourse.processing.org/t/i-need-help-with-optimization-of-a-basic-sharpening-algorithm/14192)

<div class="topic-metadata">

**Author:** [@F53](https://discourse.processing.org/u/F53)\
**Replies:** 4\
**Last updated:** [September 26, 2019, 2:50pm UTC](https://discourse.processing.org/t/i-need-help-with-optimization-of-a-basic-sharpening-algorithm/14192 "2019-09-26T14:50:59Z")

</div>

Hi, one of my recent projects led me into making a sharpening filter, but I am having problems making it run smoothly. The code is modified from the (also very slow) sharpening code found in this processing tutorial on …

---

## [Need Help to develop this code](https://discourse.processing.org/t/need-help-to-develop-this-code/14154)

<div class="topic-metadata">

**Author:** [@royal96](https://discourse.processing.org/u/royal96)\
**Replies:** 2\
**Last updated:** [September 26, 2019, 2:20pm UTC](https://discourse.processing.org/t/need-help-to-develop-this-code/14154 "2019-09-26T14:20:33Z")

</div>

Hi Everyone i need a help in this code import processing.video.\*; Capture video; int videoCount; int currentAngle; int pixelCount; int angleCount = 200; // how many divisions int radii\[\]; int angles\[\]; int movement…

---

## [How to create Parabola?](https://discourse.processing.org/t/how-to-create-parabola/14213)

<div class="topic-metadata">

**Author:** [@OBadstue](https://discourse.processing.org/u/OBadstue)\
**Replies:** 2\
**Last updated:** [September 26, 2019, 1:02pm UTC](https://discourse.processing.org/t/how-to-create-parabola/14213 "2019-09-26T13:02:07Z")

</div>

So I’m doing a project for school (only been using processing for a week or two), and I’ve been tasked with creating a program that can draw Bézier curves (which i kinda sorted out), and parabolas (preferably on top of e…

---

## [P2D renderer time out](https://discourse.processing.org/t/p2d-renderer-time-out/14205)

<div class="topic-metadata">

**Author:** [@Haxorouse](https://discourse.processing.org/u/Haxorouse)\
**Replies:** 3\
**Last updated:** [September 26, 2019, 10:36am UTC](https://discourse.processing.org/t/p2d-renderer-time-out/14205 "2019-09-26T10:36:06Z")

</div>

I have a game I have been working on and off on for several years now and I have just now added music to(don’t worry about copyright on the music, this is a personal only project and if I do ever make a public release I …

---

## [Help, don't know how to fix error](https://discourse.processing.org/t/help-dont-know-how-to-fix-error/14209)

<div class="topic-metadata">

**Author:** [@Whataloser](https://discourse.processing.org/u/Whataloser)\
**Replies:** 1\
**Last updated:** [September 26, 2019, 1:04am UTC](https://discourse.processing.org/t/help-dont-know-how-to-fix-error/14209 "2019-09-26T01:04:16Z")

</div>

I am getting an error- incompatible operand types char and string- and I don’t quote know how to fix it. I’m pretty new to this so any help would be greatly appreciated. Here’s what I’ve got int top=350; boolean leftto…

---

## [Overlapping braid pattern with cos waves](https://discourse.processing.org/t/overlapping-braid-pattern-with-cos-waves/14107)

<div class="topic-metadata">

**Author:** [@Ruchi](https://discourse.processing.org/u/Ruchi)\
**Replies:** 4\
**Last updated:** [September 25, 2019, 10:31pm UTC](https://discourse.processing.org/t/overlapping-braid-pattern-with-cos-waves/14107 "2019-09-25T22:31:29Z")

</div>

float amp; float time; //Number of Strands int nos; //Phase difference b/w strands float phase; float\[\]\[\] x; void setup() { size(1000, 900); background(0); amp=70; nos=3; phase=TWO\_PI/nos; x=new float\[nos…

---

## [P3D renders edges blurryly](https://discourse.processing.org/t/p3d-renders-edges-blurryly/14151)

<div class="topic-metadata">

**Author:** [@F53](https://discourse.processing.org/u/F53)\
**Replies:** 13\
**Last updated:** [September 25, 2019, 9:32pm UTC](https://discourse.processing.org/t/p3d-renders-edges-blurryly/14151 "2019-09-25T21:32:05Z")

</div>

P2D and the default renderer give me the same crisp not blurry results as each other. But both suffer severe frame loss when pipes are displayed on screen. P3D, (which I was at the time calling as fullscreen(OPENGL)) ne…

---

## [Why does my for loop create cells in one specific area instead of in a grid?](https://discourse.processing.org/t/why-does-my-for-loop-create-cells-in-one-specific-area-instead-of-in-a-grid/14197)

<div class="topic-metadata">

**Author:** [@Haggisllama](https://discourse.processing.org/u/Haggisllama)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 8:33am UTC](https://discourse.processing.org/t/why-does-my-for-loop-create-cells-in-one-specific-area-instead-of-in-a-grid/14197 "2019-09-25T08:33:53Z")

</div>

alright I made this code to try and get a grid of cells across the screen to try and make a cellular automata as I am quite new to programming but when I run this all of my cells are in one place near the bottom center o…

---

## [loadShape .svg problem](https://discourse.processing.org/t/loadshape-svg-problem/14193)

<div class="topic-metadata">

**Author:** [@KDorohov](https://discourse.processing.org/u/KDorohov)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 1:24am UTC](https://discourse.processing.org/t/loadshape-svg-problem/14193 "2019-09-25T01:24:59Z")

</div>

I am creating a triangle .svg shape in InkScape (same issue with other vector editors). Next in InkScape I am rotating triangle 90degrees clockwise and saving that file. When I load this file in Processing sketch and d…

---

## [Size Command Not Following](https://discourse.processing.org/t/size-command-not-following/14185)

<div class="topic-metadata">

**Author:** [@DM\_Slippin](https://discourse.processing.org/u/DM_Slippin)\
**Replies:** 1\
**Last updated:** [September 24, 2019, 11:15pm UTC](https://discourse.processing.org/t/size-command-not-following/14185 "2019-09-24T23:15:57Z")

</div>

My code will not adjust when I change my size command, such that my variables do not pick up on what command size I have requested, why is that? void setup() { size(500,500); //Canvas Size } // The following are all th…

---

## [SVG output does not match Sketch visual?](https://discourse.processing.org/t/svg-output-does-not-match-sketch-visual/14168)

<div class="topic-metadata">

**Author:** [@Marinus](https://discourse.processing.org/u/Marinus)\
**Replies:** 9\
**Last updated:** [September 24, 2019, 11:04pm UTC](https://discourse.processing.org/t/svg-output-does-not-match-sketch-visual/14168 "2019-09-24T23:04:55Z")

</div>

Hi, so I’m working on a generator that creates generated art output to be printed with a DIY pen plotter. I successfully export my generated artwork through SVG output but somehow the SVG looks all garbled up while in m…

---

## [How to change the size of Georgian language text](https://discourse.processing.org/t/how-to-change-the-size-of-georgian-language-text/14098)

<div class="topic-metadata">

**Author:** [@steele](https://discourse.processing.org/u/steele)\
**Replies:** 13\
**Last updated:** [September 24, 2019, 8:45pm UTC](https://discourse.processing.org/t/how-to-change-the-size-of-georgian-language-text/14098 "2019-09-24T20:45:35Z")

</div>

I want to change the size of Georgian-language text that I have input from a .txt file in the data folder (.txt file encoded in UTF-8). I can display the Georgian script (this is Georgian language script, not the Georgia…

---

## [Using Texture and vertex (with texture mapping) in OPENGL renderer](https://discourse.processing.org/t/using-texture-and-vertex-with-texture-mapping-in-opengl-renderer/14162)

<div class="topic-metadata">

**Author:** [@snaders](https://discourse.processing.org/u/snaders)\
**Replies:** 0\
**Last updated:** [September 24, 2019, 8:28am UTC](https://discourse.processing.org/t/using-texture-and-vertex-with-texture-mapping-in-opengl-renderer/14162 "2019-09-24T08:28:39Z")

</div>

Hello all, I’ve been googling and searching the forum, but can’t seem to find how to make this work. This may have to do with my total absence of OPENGL-knowledge. I am drawing shapes with vertices, and apply an image …

---

## [Changing shape colors in loops](https://discourse.processing.org/t/changing-shape-colors-in-loops/14117)

<div class="topic-metadata">

**Author:** [@Adrian1998](https://discourse.processing.org/u/Adrian1998)\
**Replies:** 4\
**Last updated:** [September 24, 2019, 5:37am UTC](https://discourse.processing.org/t/changing-shape-colors-in-loops/14117 "2019-09-24T05:37:34Z")

</div>

I am currently trying to change the color of my shapes in a loop, I want the color to change a little each time a ellipse is printed, I don’t know why it is not working it just makes the ellipses all the same color, I ca…

---

## [Unable to print in command line(built)](https://discourse.processing.org/t/unable-to-print-in-command-line-built/4223)

<div class="topic-metadata">

**Author:** [@Bunnygamers](https://discourse.processing.org/u/Bunnygamers)\
**Replies:** 9\
**Last updated:** [October 23, 2018, 10:07pm UTC](https://discourse.processing.org/t/unable-to-print-in-command-line-built/4223 "2018-10-23T22:07:43Z")

</div>

I was trying to build a command line application that prints in the command line(windows) but print(); and println(); don’t do anything in the CMD, is there anyway to do that? (it is probably very obvious but I am noob …

---

## [Individual Box Gradient in HSB](https://discourse.processing.org/t/individual-box-gradient-in-hsb/14132)

<div class="topic-metadata">

**Author:** [@nathanchun](https://discourse.processing.org/u/nathanchun)\
**Replies:** 10\
**Last updated:** [September 23, 2019, 10:01pm UTC](https://discourse.processing.org/t/individual-box-gradient-in-hsb/14132 "2019-09-23T22:01:27Z")

</div>

I was assigned to code a gradient of 100 different squares in a 100x100 window with each square being 10x10. I know how to code for a vertical or horizontal gradient but I don’t know how to make a gradient that appears t…

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

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