# Processing

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

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

**Page:** 17

---

## [Seeking Help with Complex Processing Script for Visual Representation Generator](https://discourse.processing.org/t/seeking-help-with-complex-processing-script-for-visual-representation-generator/45038)

<div class="topic-metadata">

**Author:** [@tmm88](https://discourse.processing.org/u/tmm88)\
**Replies:** 6\
**Last updated:** [September 15, 2024, 9:22am UTC](https://discourse.processing.org/t/seeking-help-with-complex-processing-script-for-visual-representation-generator/45038 "2024-09-15T09:22:25Z")

</div>

Title: Seeking Help with Complex Processing Script for Visual Representation Generator Hello Processing Community, I’m working on a visual representation generator that draws inspiration from the music of Karlheinz Sto…

---

## [Type mismatch: cannot convert from element type Object to filename.pde](https://discourse.processing.org/t/type-mismatch-cannot-convert-from-element-type-object-to-filename-pde/45046)

<div class="topic-metadata">

**Author:** [@nedireact](https://discourse.processing.org/u/nedireact)\
**Replies:** 2\
**Last updated:** [September 14, 2024, 12:21pm UTC](https://discourse.processing.org/t/type-mismatch-cannot-convert-from-element-type-object-to-filename-pde/45046 "2024-09-14T12:21:16Z")

</div>

float time = 0.0; void draw() { for (Particle p : particles) { // love/hate vector float lovex = 0.0; float lovey = 0.0; for (Particle o : particles) { // do not compare with yourself if…

---

## [Delaunay Triangulation in Processing 4](https://discourse.processing.org/t/delaunay-triangulation-in-processing-4/45034)

<div class="topic-metadata">

**Author:** [@justin\_lincoln](https://discourse.processing.org/u/justin_lincoln)\
**Replies:** 4\
**Last updated:** [September 13, 2024, 12:53pm UTC](https://discourse.processing.org/t/delaunay-triangulation-in-processing-4/45034 "2024-09-13T12:53:37Z")

</div>

I’m looking for any libraries to help with Delaunay Triangulation that work in Processing 4. None of the deprecated libraries seem to install or work when I try them now. Any tips for where I can find this capability in …

---

## [G4P restore minimized window](https://discourse.processing.org/t/g4p-restore-minimized-window/45013)

<div class="topic-metadata">

**Author:** [@Marcel](https://discourse.processing.org/u/Marcel)\
**Replies:** 3\
**Last updated:** [September 7, 2024, 5:31pm UTC](https://discourse.processing.org/t/g4p-restore-minimized-window/45013 "2024-09-07T17:31:23Z")

</div>

Hi Quark (Peter), I would like to know how I can restore a minimized window (not the main GWindow). Tried the “setVisible” property to simulate minimizing and restoring but is seems that the window will unload after the…

---

## [Setting pixels of a movie file](https://discourse.processing.org/t/setting-pixels-of-a-movie-file/45021)

<div class="topic-metadata">

**Author:** [@dswayne92](https://discourse.processing.org/u/dswayne92)\
**Replies:** 0\
**Last updated:** [September 4, 2024, 1:12pm UTC](https://discourse.processing.org/t/setting-pixels-of-a-movie-file/45021 "2024-09-04T13:12:47Z")

</div>

Dear everyone, I’m adapting some code I wrote setting the pixels of a live video capture from an external camera. (see topic ) I want to get the same effect using a movie file. The effect is a pixel mask that turns the…

---

## [Processing freezes on open](https://discourse.processing.org/t/processing-freezes-on-open/45019)

<div class="topic-metadata">

**Author:** [@ripolas](https://discourse.processing.org/u/ripolas)\
**Replies:** 0\
**Last updated:** [September 3, 2024, 3:19pm UTC](https://discourse.processing.org/t/processing-freezes-on-open/45019 "2024-09-03T15:19:35Z")

</div>

When I open Processing, it “boots” into the normal screen of processing pretty quickly, but then the window freezes for like 20 seconds. Anyone know any fixes? It’s getting annoying.

---

## [Folder structure?](https://discourse.processing.org/t/folder-structure/44964)

<div class="topic-metadata">

**Author:** [@Erik](https://discourse.processing.org/u/Erik)\
**Replies:** 2\
**Last updated:** [September 1, 2024, 3:21pm UTC](https://discourse.processing.org/t/folder-structure/44964 "2024-09-01T15:21:43Z")

</div>

Is it possible to break down your project to individual files, sorted in folders? I’m aware of the possibility of using tabs, but since I’m using visual studio code, I’m not sure tabs are an option. Also, can I use a ja…

---

## [Multiple Color Palettes in G4P?](https://discourse.processing.org/t/multiple-color-palettes-in-g4p/45011)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 2\
**Last updated:** [August 31, 2024, 2:07pm UTC](https://discourse.processing.org/t/multiple-color-palettes-in-g4p/45011 "2024-08-31T14:07:01Z")

</div>

This is a question for Peter, and odd one. After getting beta feedback from the app I made with your amazing library, some users asked for a way to edit colors. While this is something I can do theoretically, there’s n…

---

## [\[ControlP5\] change button text color](https://discourse.processing.org/t/controlp5-change-button-text-color/45008)

<div class="topic-metadata">

**Author:** [@fabit](https://discourse.processing.org/u/fabit)\
**Replies:** 5\
**Last updated:** [August 29, 2024, 5:06pm UTC](https://discourse.processing.org/t/controlp5-change-button-text-color/45008 "2024-08-29T17:06:50Z")

</div>

Hi everyone! I am trying to design buttons with different colors but i don’t know how to change the color of name button inside it.Normally the color is white and every sketch i see online uses this color.Can i add some…

---

## [Utilize the GPU for computational tasks](https://discourse.processing.org/t/utilize-the-gpu-for-computational-tasks/45005)

<div class="topic-metadata">

**Author:** [@ripolas](https://discourse.processing.org/u/ripolas)\
**Replies:** 2\
**Last updated:** [August 29, 2024, 1:34pm UTC](https://discourse.processing.org/t/utilize-the-gpu-for-computational-tasks/45005 "2024-08-29T13:34:18Z")

</div>

Hello, I’ve coded a simple neural network using processing. I want to utilize the GPU for computational tasks. How could i do that? Best regards, Ripolas.

---

## [UI Menu Visual Glitch (Flickering) (Mandelbrot Fractal)](https://discourse.processing.org/t/ui-menu-visual-glitch-flickering-mandelbrot-fractal/45001)

<div class="topic-metadata">

**Author:** [@winterchan](https://discourse.processing.org/u/winterchan)\
**Replies:** 3\
**Last updated:** [August 27, 2024, 9:35pm UTC](https://discourse.processing.org/t/ui-menu-visual-glitch-flickering-mandelbrot-fractal/45001 "2024-08-27T21:35:46Z")

</div>

I am trying to create this mandelbrot fractal with a UI but as you can see the UI has a weird visual glitch where it flickers the colors of the Mandelbrot fractal i can’t find the cause of this // MandelbrotStandalone.p…

---

## [What Can Cause Exported App to Be Broken?](https://discourse.processing.org/t/what-can-cause-exported-app-to-be-broken/45002)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 1\
**Last updated:** [August 27, 2024, 8:57pm UTC](https://discourse.processing.org/t/what-can-cause-exported-app-to-be-broken/45002 "2024-08-27T20:57:34Z")

</div>

I have a little app I’ve worked on for a few months, and for some reason now when I export it, I get a gray slash through the app icon instead of the standard Processing blue arrow: I can’t for the life of me understa…

---

## [How to make the selectFolder() function open using a default path](https://discourse.processing.org/t/how-to-make-the-selectfolder-function-open-using-a-default-path/34369)

<div class="topic-metadata">

**Author:** [@Vertexia](https://discourse.processing.org/u/Vertexia)\
**Replies:** 14\
**Last updated:** [August 27, 2024, 8:18pm UTC](https://discourse.processing.org/t/how-to-make-the-selectfolder-function-open-using-a-default-path/34369 "2024-08-27T20:18:09Z")

</div>

I’m trying to figure out how to make the selectFolder() function open using a select path eg instead of opening up with the documents folder selected open with the sketch paths one?

---

## [ControlP5 slider inactive because of translate function](https://discourse.processing.org/t/controlp5-slider-inactive-because-of-translate-function/44999)

<div class="topic-metadata">

**Author:** [@willemr](https://discourse.processing.org/u/willemr)\
**Replies:** 4\
**Last updated:** [August 27, 2024, 12:42pm UTC](https://discourse.processing.org/t/controlp5-slider-inactive-because-of-translate-function/44999 "2024-08-27T12:42:32Z")

</div>

Hey everyone, New (again) to Processing. Trying to write a simple “interactive gradient” drawing program in which a couple of sliders (using the ControlP5 library) control some variables of the wave function and the col…

---

## [How do I import Processing libraries in Visual Studio Code?](https://discourse.processing.org/t/how-do-i-import-processing-libraries-in-visual-studio-code/44991)

<div class="topic-metadata">

**Author:** [@Erik](https://discourse.processing.org/u/Erik)\
**Replies:** 3\
**Last updated:** [August 27, 2024, 9:13am UTC](https://discourse.processing.org/t/how-do-i-import-processing-libraries-in-visual-studio-code/44991 "2024-08-27T09:13:15Z")

</div>

I’m using processing in visual studio code, and want to import a library. Since visual studio code lacks the contribution manager found in the processing IDE, I’m not sure how to do it. As far as I understand, libraries…

---

## [HSB values are altered](https://discourse.processing.org/t/hsb-values-are-altered/44953)

<div class="topic-metadata">

**Author:** [@Erik](https://discourse.processing.org/u/Erik)\
**Replies:** 11\
**Last updated:** [August 26, 2024, 10:47am UTC](https://discourse.processing.org/t/hsb-values-are-altered/44953 "2024-08-26T10:47:03Z")

</div>

I want to use HSB colormode, and in setup I’ve added: colorMode(HSB,360,100,100); For some reason the colors in my code are not retained as HSB values and are therefore altered when i use fill() followed by rect(). I c…

---

## [Library missing in Import Library menu in Windows](https://discourse.processing.org/t/library-missing-in-import-library-menu-in-windows/44989)

<div class="topic-metadata">

**Author:** [@Ignotus](https://discourse.processing.org/u/Ignotus)\
**Replies:** 1\
**Last updated:** [August 25, 2024, 4:38pm UTC](https://discourse.processing.org/t/library-missing-in-import-library-menu-in-windows/44989 "2024-08-25T16:38:20Z")

</div>

I am developing a Processing library in Eclipse for MacOS. I’m running Processing 4.3. I run the Ant build in Eclipse, and everything works. I have an updated library in my Documents/Processing/libraries directory. It s…

---

## [Generate the Harriss Fractal](https://discourse.processing.org/t/generate-the-harriss-fractal/44990)

<div class="topic-metadata">

**Author:** [@winterchan](https://discourse.processing.org/u/winterchan)\
**Replies:** 0\
**Last updated:** [August 25, 2024, 1:49am UTC](https://discourse.processing.org/t/generate-the-harriss-fractal/44990 "2024-08-25T01:49:55Z")

</div>

I found this thread Where people show how to generate the Harris fractal with another program, i tried for a few hours and i can’t get it to work, i would share what i have now but it’s so bad and broken that i don’t se…

---

## [Having trouble loading a simple video](https://discourse.processing.org/t/having-trouble-loading-a-simple-video/44983)

<div class="topic-metadata">

**Author:** [@cyber.mirror.channel](https://discourse.processing.org/u/cyber.mirror.channel)\
**Replies:** 4\
**Last updated:** [August 24, 2024, 1:10pm UTC](https://discourse.processing.org/t/having-trouble-loading-a-simple-video/44983 "2024-08-24T13:10:13Z")

</div>

Windows 10. Processing 4.3. Video Library for Processing 2.2.2. Movie file is in the same folder as Sketch. I was just fine with my current project (that manipulates images, but I want to extend it to load videos as …

---

## [Series from For loop (is there a repository for Integer Sequences?)](https://discourse.processing.org/t/series-from-for-loop-is-there-a-repository-for-integer-sequences/44970)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 32\
**Last updated:** [August 24, 2024, 12:58pm UTC](https://discourse.processing.org/t/series-from-for-loop-is-there-a-repository-for-integer-sequences/44970 "2024-08-24T12:58:12Z")

</div>

I often find the need to loop through numbers in a series. For example, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, … or 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, … I don’t think I need help with the code (see below), but…

---

## [SelectFolder(), SelectInput(), SelectOutput() Questions](https://discourse.processing.org/t/selectfolder-selectinput-selectoutput-questions/44974)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 5\
**Last updated:** [August 23, 2024, 12:37pm UTC](https://discourse.processing.org/t/selectfolder-selectinput-selectoutput-questions/44974 "2024-08-23T12:37:00Z")

</div>

Hi, I would like to implement the SelectFolder(), SelectInput(), and SelectOutput() methods but also specify the folder that they open to. I’ve spent a lot of time googling this and trying to understand it, but haven’t …

---

## [Running List of Mouse Clicks](https://discourse.processing.org/t/running-list-of-mouse-clicks/44961)

<div class="topic-metadata">

**Author:** [@Ignotus](https://discourse.processing.org/u/Ignotus)\
**Replies:** 1\
**Last updated:** [August 19, 2024, 5:31am UTC](https://discourse.processing.org/t/running-list-of-mouse-clicks/44961 "2024-08-19T05:31:56Z")

</div>

I have some code for a running list of mouse click events, where the events can be deleted from the list after a delay. I keep a list of mouse coords and expiration times. I draw circles if the expiration time is \> milli…

---

## [Problems when trying to draw to a P3D PGraphics when called from a thread?](https://discourse.processing.org/t/problems-when-trying-to-draw-to-a-p3d-pgraphics-when-called-from-a-thread/6301)

<div class="topic-metadata">

**Author:** [@DSW](https://discourse.processing.org/u/DSW)\
**Replies:** 6\
**Last updated:** [August 19, 2024, 12:16am UTC](https://discourse.processing.org/t/problems-when-trying-to-draw-to-a-p3d-pgraphics-when-called-from-a-thread/6301 "2024-08-19T00:16:58Z")

</div>

I’m working on a live visualizer program for a band, which is structured like this: The main Draw() loop creates a thread, wherein whichever animation function is currently running is updated. These animation functions …

---

## [Implementing a Processing app inside another one](https://discourse.processing.org/t/implementing-a-processing-app-inside-another-one/44920)

<div class="topic-metadata">

**Author:** [@winterchan](https://discourse.processing.org/u/winterchan)\
**Replies:** 23\
**Last updated:** [August 19, 2024, 12:09am UTC](https://discourse.processing.org/t/implementing-a-processing-app-inside-another-one/44920 "2024-08-19T00:09:05Z")

</div>

Hi guys, iv’e been trying to do this for hours but every time i try i fail. i made a slotmachine.pde with a fully working slot machine ArrayList\<Coin\> coins = new ArrayList\<Coin\>(); // List to store the coins float…

---

## [How to use filter on PGraphics in thread?](https://discourse.processing.org/t/how-to-use-filter-on-pgraphics-in-thread/44949)

<div class="topic-metadata">

**Author:** [@varenek111](https://discourse.processing.org/u/varenek111)\
**Replies:** 5\
**Last updated:** [August 19, 2024, 12:03am UTC](https://discourse.processing.org/t/how-to-use-filter-on-pgraphics-in-thread/44949 "2024-08-19T00:03:30Z")

</div>

How to use filter on PGraphics in thread? void setup() { size(512, 512, P2D); thread("thread"); } void thread() { PGraphics graphic = createGraphics(512, 512, P2D); PShader blur = loadShader("blur.glsl"); grap…

---

## [Using constants](https://discourse.processing.org/t/using-constants/44955)

<div class="topic-metadata">

**Author:** [@Erik](https://discourse.processing.org/u/Erik)\
**Replies:** 3\
**Last updated:** [August 18, 2024, 8:43pm UTC](https://discourse.processing.org/t/using-constants/44955 "2024-08-18T20:43:21Z")

</div>

I want to use constants in my projects, i.e. final values that never changes throughout the code, that can be accessed anywhere. What is the proper way of using constants in processing?

---

## [Use emoji in fonts in Processing](https://discourse.processing.org/t/use-emoji-in-fonts-in-processing/43685)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 12\
**Last updated:** [August 18, 2024, 2:08pm UTC](https://discourse.processing.org/t/use-emoji-in-fonts-in-processing/43685 "2024-08-18T14:08:43Z")

</div>

Hello, I have tried multiple fonts that support Emoji/Unicode characters, but i found that none of those seem to be working. Is there a way to display Emoji & Unicode in processing? -Thanks for everyone who can contribu…

---

## [Old Processing version for Mac OS9?](https://discourse.processing.org/t/old-processing-version-for-mac-os9/29660)

<div class="topic-metadata">

**Author:** [@yugeny](https://discourse.processing.org/u/yugeny)\
**Replies:** 5\
**Last updated:** [August 16, 2024, 1:27pm UTC](https://discourse.processing.org/t/old-processing-version-for-mac-os9/29660 "2024-08-16T13:27:25Z")

</div>

Hi all, I am relatively new to Processing, but see evidence that early versions ran on MacOS9 but I could not find binaries anywhere on the web and some threads that say it’s not on archive.org - anyone know if the binar…

---

## [Frame for P3D Renderer](https://discourse.processing.org/t/frame-for-p3d-renderer/44933)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 10\
**Last updated:** [August 15, 2024, 2:37pm UTC](https://discourse.processing.org/t/frame-for-p3d-renderer/44933 "2024-08-15T14:37:11Z")

</div>

Does anyone know how to get the frame of a Processing window which uses the P3D renderer? void setup() { size(400, 400, P3D); // frame = ?? }

---

## [Help recreating grid artwork (Cuadricula Óptica by Alberto Gonzalez Vivo)](https://discourse.processing.org/t/help-recreating-grid-artwork-cuadricula-optica-by-alberto-gonzalez-vivo/44651)

<div class="topic-metadata">

**Author:** [@Matias\_alderroba](https://discourse.processing.org/u/Matias_alderroba)\
**Replies:** 3\
**Last updated:** [July 1, 2024, 2:05pm UTC](https://discourse.processing.org/t/help-recreating-grid-artwork-cuadricula-optica-by-alberto-gonzalez-vivo/44651 "2024-07-01T14:05:55Z")

</div>

Hi, I’m new to Processing and I don’t know how to recreate this image on the right side of 800x400 interactively, please help me

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

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