# Processing

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

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

**Page:** 197

---

## [Making a Game "Launcher"](https://discourse.processing.org/t/making-a-game-launcher/22281)

<div class="topic-metadata">

**Author:** [@qewer3322](https://discourse.processing.org/u/qewer3322)\
**Replies:** 3\
**Last updated:** [July 1, 2020, 12:17pm UTC](https://discourse.processing.org/t/making-a-game-launcher/22281 "2020-07-01T12:17:17Z")

</div>

Is there any way to make something like a “launcher” in processing. What I mean by that is basically a main menu and when you click a button, it closes itself and opens another .exe file (or runs a processing source code…

---

## [Isn't Processing very inefficient when redrawing all the time?](https://discourse.processing.org/t/isnt-processing-very-inefficient-when-redrawing-all-the-time/22297)

<div class="topic-metadata">

**Author:** [@anon68884268](https://discourse.processing.org/u/anon68884268)\
**Replies:** 2\
**Last updated:** [July 1, 2020, 10:49am UTC](https://discourse.processing.org/t/isnt-processing-very-inefficient-when-redrawing-all-the-time/22297 "2020-07-01T10:49:35Z")

</div>

Hello, so, I am currently writing a Processing port for C++ which should be focused on Performance. So I use OpenGL and noticed something (for me atleast) interesting, let’s take a look at this example code I wrote for …

---

## [Network Libary see all servers in network](https://discourse.processing.org/t/network-libary-see-all-servers-in-network/16828)

<div class="topic-metadata">

**Author:** [@anon68884268](https://discourse.processing.org/u/anon68884268)\
**Replies:** 7\
**Last updated:** [July 1, 2020, 9:12am UTC](https://discourse.processing.org/t/network-libary-see-all-servers-in-network/16828 "2020-07-01T09:12:08Z")

</div>

Hello, I am working on a whiteboard, which can be seen and edited cross devices in the same network. It works perfectly, but now i found a new Problem: Currently i’m connecting to localhost (127.0.0.1), but for cross-de…

---

## [About SaveTable()](https://discourse.processing.org/t/about-savetable/22295)

<div class="topic-metadata">

**Author:** [@SouSageYa](https://discourse.processing.org/u/SouSageYa)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 8:25am UTC](https://discourse.processing.org/t/about-savetable/22295 "2020-07-01T08:25:41Z")

</div>

So here is the problem I want to save Floats but it can save integers and string is there a way to save FPN’s ?

---

## [Is there a better way to draw gradient colored ellipse?](https://discourse.processing.org/t/is-there-a-better-way-to-draw-gradient-colored-ellipse/22220)

<div class="topic-metadata">

**Author:** [@nh3](https://discourse.processing.org/u/nh3)\
**Replies:** 3\
**Last updated:** [June 29, 2020, 3:07pm UTC](https://discourse.processing.org/t/is-there-a-better-way-to-draw-gradient-colored-ellipse/22220 "2020-06-29T15:07:37Z")

</div>

I’m pretty new to Processing and graphical programming but keen to learn new stuff. I was trying to create a gradient colored sun for my project but I couldn’t find any obvious technique to do this. This is the solution …

---

## [How to make and process a new image(distinct from the screen)?](https://discourse.processing.org/t/how-to-make-and-process-a-new-image-distinct-from-the-screen/22284)

<div class="topic-metadata">

**Author:** [@SilverPrevail](https://discourse.processing.org/u/SilverPrevail)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 1:48am UTC](https://discourse.processing.org/t/how-to-make-and-process-a-new-image-distinct-from-the-screen/22284 "2020-07-01T01:48:47Z")

</div>

I want to process a image with the functions like text() or rect(),circle() and put a part of the image in the screen with image.get(); To explain a little more, I have a long text which I want to visualize at the scree…

---

## [How do I use VSCode with Processing on Linux/Ubuntu?](https://discourse.processing.org/t/how-do-i-use-vscode-with-processing-on-linux-ubuntu/22208)

<div class="topic-metadata">

**Author:** [@usr-pyth](https://discourse.processing.org/u/usr-pyth)\
**Replies:** 8\
**Last updated:** [June 30, 2020, 10:40pm UTC](https://discourse.processing.org/t/how-do-i-use-vscode-with-processing-on-linux-ubuntu/22208 "2020-06-30T22:40:26Z")

</div>

I have the processing extension installed in VSCode, but no matter what I do, I get the same error when I try to configure the tasks.json file to run the processing sketch: remember to add processing to your path. I did e…

---

## [Problem with OOP implementation of interface class](https://discourse.processing.org/t/problem-with-oop-implementation-of-interface-class/22255)

<div class="topic-metadata">

**Author:** [@Richard](https://discourse.processing.org/u/Richard)\
**Replies:** 4\
**Last updated:** [June 30, 2020, 4:48pm UTC](https://discourse.processing.org/t/problem-with-oop-implementation-of-interface-class/22255 "2020-06-30T16:48:20Z")

</div>

Hello everybody. I am struggling with an OOP architecture problem i have for a game i am coding. Sorry in advance for my poor English. The aim of the game is to shoot monsters with a canon. The objects of my game are …

---

## [Issue with default rounding numbers in Processing Java Mode](https://discourse.processing.org/t/issue-with-default-rounding-numbers-in-processing-java-mode/22280)

<div class="topic-metadata">

**Author:** [@Optyfen\_met\_Eenden](https://discourse.processing.org/u/Optyfen_met_Eenden)\
**Replies:** 2\
**Last updated:** [June 30, 2020, 2:14pm UTC](https://discourse.processing.org/t/issue-with-default-rounding-numbers-in-processing-java-mode/22280 "2020-06-30T14:14:56Z")

</div>

Dear ladies and gentlemen, Recently, I realised I faced a problem with default settings and specifically the rounding numbers ability. When I let Processing count up the first sum using the float function, it doesn’…

---

## [G4P custom sliders](https://discourse.processing.org/t/g4p-custom-sliders/22223)

<div class="topic-metadata">

**Author:** [@mike\_z](https://discourse.processing.org/u/mike_z)\
**Replies:** 6\
**Last updated:** [June 30, 2020, 1:55pm UTC](https://discourse.processing.org/t/g4p-custom-sliders/22223 "2020-06-30T13:55:42Z")

</div>

I have just started to experiment with G Custom Sliders. I have found out how to position them, use different skins, change the limits, size etal. But for some reason I can not get a value from the slider. Here is my cod…

---

## [Vl6180x and Ardunio Uno - writting serial data to a textfile](https://discourse.processing.org/t/vl6180x-and-ardunio-uno-writting-serial-data-to-a-textfile/22177)

<div class="topic-metadata">

**Author:** [@AndreasW](https://discourse.processing.org/u/AndreasW)\
**Replies:** 2\
**Last updated:** [June 30, 2020, 11:42am UTC](https://discourse.processing.org/t/vl6180x-and-ardunio-uno-writting-serial-data-to-a-textfile/22177 "2020-06-30T11:42:57Z")

</div>

Good morning i am wondering if anyone could help me with this little code, or point me in the direction on why it is not working. singular function: Reading range from a lidar, and save it into a text document, to be …

---

## [Transform path to follow an arc](https://discourse.processing.org/t/transform-path-to-follow-an-arc/22166)

<div class="topic-metadata">

**Author:** [@rebeccajkaye](https://discourse.processing.org/u/rebeccajkaye)\
**Replies:** 6\
**Last updated:** [June 30, 2020, 11:06am UTC](https://discourse.processing.org/t/transform-path-to-follow-an-arc/22166 "2020-06-30T11:06:14Z")

</div>

Hello I’m hoping for some help - I’d also really appreciate any guidance as to if this is the best way of thinking. In my example, I have a line in the shape of a sine wave (although I’d like to apply this thinking to …

---

## [Loading different scenes after time delay](https://discourse.processing.org/t/loading-different-scenes-after-time-delay/22275)

<div class="topic-metadata">

**Author:** [@Dominantxx](https://discourse.processing.org/u/Dominantxx)\
**Replies:** 1\
**Last updated:** [June 30, 2020, 10:37am UTC](https://discourse.processing.org/t/loading-different-scenes-after-time-delay/22275 "2020-06-30T10:37:36Z")

</div>

please format code with \</\> button \* homework policy \* asking questions So when the code begins to run (play), I want an image to fill the screen. After a time delay, let’s say 5 seconds, I want to load a different s…

---

## [Showing buttons based on a message received by arduino](https://discourse.processing.org/t/showing-buttons-based-on-a-message-received-by-arduino/22235)

<div class="topic-metadata">

**Author:** [@mohitSingh](https://discourse.processing.org/u/mohitSingh)\
**Replies:** 9\
**Last updated:** [June 30, 2020, 8:24am UTC](https://discourse.processing.org/t/showing-buttons-based-on-a-message-received-by-arduino/22235 "2020-06-30T08:24:16Z")

</div>

Hi, This is my first or second processing code and I am findind it a bit difficult to wrap my head around processing. I am trying to make a simple GUI, where I send a UDP packet to my arduino and receive an acknowledge…

---

## [Work from university](https://discourse.processing.org/t/work-from-university/22232)

<div class="topic-metadata">

**Author:** [@aylen2000](https://discourse.processing.org/u/aylen2000)\
**Replies:** 6\
**Last updated:** [June 30, 2020, 1:15am UTC](https://discourse.processing.org/t/work-from-university/22232 "2020-06-30T01:15:10Z")

</div>

Hello, I need help with a university job. It consists of recreating a work of art in processing. I need the figures in the work to be generated with voice recognition, in this case with pure data. My proposal is for sma…

---

## [How can I cut webcam video?](https://discourse.processing.org/t/how-can-i-cut-webcam-video/22162)

<div class="topic-metadata">

**Author:** [@hannah](https://discourse.processing.org/u/hannah)\
**Replies:** 4\
**Last updated:** [June 30, 2020, 12:24am UTC](https://discourse.processing.org/t/how-can-i-cut-webcam-video/22162 "2020-06-30T00:24:08Z")

</div>

Hi, I wonder if there is any way to cut webcam video as if other adobe programs can. I know how to resize webcam but I would like to make several live webcam video with one webcam so that I can control each video. Is th…

---

## [Spacebrew issue](https://discourse.processing.org/t/spacebrew-issue/22253)

<div class="topic-metadata">

**Author:** [@patricio1979](https://discourse.processing.org/u/patricio1979)\
**Replies:** 1\
**Last updated:** [June 29, 2020, 2:56pm UTC](https://discourse.processing.org/t/spacebrew-issue/22253 "2020-06-29T14:56:31Z")

</div>

I do not know what I’m doing wrong. After installing spacebrew library, and running an example patch, the connection is lost. Working with Processing 3

---

## [Need help/hint on mouse position with rotated objects](https://discourse.processing.org/t/need-help-hint-on-mouse-position-with-rotated-objects/22243)

<div class="topic-metadata">

**Author:** [@Cillo](https://discourse.processing.org/u/Cillo)\
**Replies:** 0\
**Last updated:** [June 29, 2020, 10:36am UTC](https://discourse.processing.org/t/need-help-hint-on-mouse-position-with-rotated-objects/22243 "2020-06-29T10:36:57Z")

</div>

Hello, I’m trying to make a visualization of tracks in my spotify playlists. The goal I’m trying to reach is doing a sort of radial column chart with the 100 songs of my playlists, with lengths based on track duration. I…

---

## [Libraries that are not actively maintained](https://discourse.processing.org/t/libraries-that-are-not-actively-maintained/22085)

<div class="topic-metadata">

**Author:** [@cansik](https://discourse.processing.org/u/cansik)\
**Replies:** 6\
**Last updated:** [June 29, 2020, 8:05am UTC](https://discourse.processing.org/t/libraries-that-are-not-actively-maintained/22085 "2020-06-29T08:05:04Z")

</div>

While working with Processing now for several years, I noticed that some of the most used libraries do never get an update or are maintained actively. Here just a few examples: oscp5 (last updated on github 5 years ag…

---

## [Setting size of display window to a percentage of screen size](https://discourse.processing.org/t/setting-size-of-display-window-to-a-percentage-of-screen-size/22228)

<div class="topic-metadata">

**Author:** [@luckyboy](https://discourse.processing.org/u/luckyboy)\
**Replies:** 1\
**Last updated:** [June 29, 2020, 5:51am UTC](https://discourse.processing.org/t/setting-size-of-display-window-to-a-percentage-of-screen-size/22228 "2020-06-29T05:51:45Z")

</div>

I’m trying to make a program where users input values and the program spits out a final value through an equation. This is all pretty simple, but the one thing I can’t seem to figure out is display window sizing. My di…

---

## [Return object in method and use its functions](https://discourse.processing.org/t/return-object-in-method-and-use-its-functions/22140)

<div class="topic-metadata">

**Author:** [@Alphaprot](https://discourse.processing.org/u/Alphaprot)\
**Replies:** 6\
**Last updated:** [June 28, 2020, 8:28pm UTC](https://discourse.processing.org/t/return-object-in-method-and-use-its-functions/22140 "2020-06-28T20:28:56Z")

</div>

Hey folks, I am trying to get interactions done in a little fisicia-based game of mine. Goal is a method/function, that returns the nearest type of objectType X (passed as an argument) in a given interaction distance (s…

---

## [Detection and evaluate geometric shapes](https://discourse.processing.org/t/detection-and-evaluate-geometric-shapes/22163)

<div class="topic-metadata">

**Author:** [@Ezzat\_Oraby](https://discourse.processing.org/u/Ezzat_Oraby)\
**Replies:** 13\
**Last updated:** [June 28, 2020, 5:27pm UTC](https://discourse.processing.org/t/detection-and-evaluate-geometric-shapes/22163 "2020-06-28T17:27:05Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Dear friends I uploaded an image for which I would estimate some dimensions, there are central circles and associated circles around to measure …

---

## [Why is code faster in the browser than on the desktop](https://discourse.processing.org/t/why-is-code-faster-in-the-browser-than-on-the-desktop/22207)

<div class="topic-metadata">

**Author:** [@tinkrit](https://discourse.processing.org/u/tinkrit)\
**Replies:** 5\
**Last updated:** [June 28, 2020, 5:00pm UTC](https://discourse.processing.org/t/why-is-code-faster-in-the-browser-than-on-the-desktop/22207 "2020-06-28T17:00:13Z")

</div>

Hi everyone, I saw this code on https://www.openprocessing.org/sketch/656607 and I ran it in Processing 1.51 , Processing 2.2 and Processing 3.54 and the web version on the above link runs faster and much smoother. Why…

---

## [Pitch Detection (Minim / Sound)](https://discourse.processing.org/t/pitch-detection-minim-sound/22213)

<div class="topic-metadata">

**Author:** [@AndreasRef](https://discourse.processing.org/u/AndreasRef)\
**Replies:** 0\
**Last updated:** [June 28, 2020, 9:49am UTC](https://discourse.processing.org/t/pitch-detection-minim-sound/22213 "2020-06-28T09:49:50Z")

</div>

Any tips on how one might do robust pitch detection in Processing with Minim or another library? I am interested in detecting the note that someone sings/plays via the microphone.

---

## [Estimation of Energy difference of Images for greased concrete surface with time](https://discourse.processing.org/t/estimation-of-energy-difference-of-images-for-greased-concrete-surface-with-time/22179)

<div class="topic-metadata">

**Author:** [@Ezzat\_Oraby](https://discourse.processing.org/u/Ezzat_Oraby)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 10:14pm UTC](https://discourse.processing.org/t/estimation-of-energy-difference-of-images-for-greased-concrete-surface-with-time/22179 "2020-06-27T22:14:14Z")

</div>

Regarding to the attached image, we have a study on greased cement cubes absorption of grease. The intensity (I) of each cube has been calculated and then the Energy (E), E = I^2 the differences between the image energ…

---

## [Timing Problem xxx](https://discourse.processing.org/t/timing-problem-xxx/22180)

<div class="topic-metadata">

**Author:** [@mike\_z](https://discourse.processing.org/u/mike_z)\
**Replies:** 9\
**Last updated:** [June 27, 2020, 10:11pm UTC](https://discourse.processing.org/t/timing-problem-xxx/22180 "2020-06-27T22:11:50Z")

</div>

I have made an G4P image button as an ON/OFF switch for an Arduino program. I’m having some timing problems. Seems that when the image button is turned on the Arduino comes on with no noticeable delay, but when the image…

---

## [Where do I put this rectangle in this code?](https://discourse.processing.org/t/where-do-i-put-this-rectangle-in-this-code/22155)

<div class="topic-metadata">

**Author:** [@qewer3322](https://discourse.processing.org/u/qewer3322)\
**Replies:** 14\
**Last updated:** [June 27, 2020, 6:21pm UTC](https://discourse.processing.org/t/where-do-i-put-this-rectangle-in-this-code/22155 "2020-06-27T18:21:48Z")

</div>

I’m trying to make a main menu and have this atm float x = 260; float y = 480; float w = 240; float h = 60; float q = 160; float a = 335; float s = 280; float d = 60; PFont zigBlack; boolean screen2 = false; void setu…

---

## [Collecting common patterns, code snippets, solutions used in processing programs](https://discourse.processing.org/t/collecting-common-patterns-code-snippets-solutions-used-in-processing-programs/20676)

<div class="topic-metadata">

**Author:** [@SomeOne](https://discourse.processing.org/u/SomeOne)\
**Replies:** 6\
**Last updated:** [June 27, 2020, 4:46pm UTC](https://discourse.processing.org/t/collecting-common-patterns-code-snippets-solutions-used-in-processing-programs/20676 "2020-06-27T16:46:51Z")

</div>

Hi, There are many common solutions or code snippets and patterns used in processing programs. It would be useful for all of us if they could be collected to a one place. I’ve found some of them, but I’m sure there are …

---

## [How to display blob (tracking color) size (x,y) to use for collision with another object?](https://discourse.processing.org/t/how-to-display-blob-tracking-color-size-x-y-to-use-for-collision-with-another-object/22142)

<div class="topic-metadata">

**Author:** [@VIRUS](https://discourse.processing.org/u/VIRUS)\
**Replies:** 2\
**Last updated:** [June 27, 2020, 1:29pm UTC](https://discourse.processing.org/t/how-to-display-blob-tracking-color-size-x-y-to-use-for-collision-with-another-object/22142 "2020-06-27T13:29:17Z")

</div>

Hi, Totalely NOOB Asking: I took some code from Train coding that fits an idea I have in head. How can I Interact the ellipse with the blob zone (that appears on click with color picking (color tracking) For now, ther…

---

## [Easing, don't get it fully](https://discourse.processing.org/t/easing-dont-get-it-fully/22154)

<div class="topic-metadata">

**Author:** [@klap](https://discourse.processing.org/u/klap)\
**Replies:** 3\
**Last updated:** [June 27, 2020, 12:07pm UTC](https://discourse.processing.org/t/easing-dont-get-it-fully/22154 "2020-06-27T12:07:35Z")

</div>

I don’t think I fully understand easing. Maybe it’s my math, but I don’t see why the two ellipses, end up in the same position with the ‘\* easing’ part. float x = 0.0; float easing = 0.05; void setup() { size(100, 10…

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

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