# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=34

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

**Page:** 35

---

## [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…

---

## [createCapture() captures video but can only draw first frame](https://discourse.processing.org/t/createcapture-captures-video-but-can-only-draw-first-frame/45015)

<div class="topic-metadata">

**Author:** [@weeklyd3](https://discourse.processing.org/u/weeklyd3)\
**Replies:** 3\
**Last updated:** [September 1, 2024, 12:58am UTC](https://discourse.processing.org/t/createcapture-captures-video-but-can-only-draw-first-frame/45015 "2024-09-01T00:58:24Z")

</div>

I’m trying to draw video from the webcam on a canvas: function update() { draw.clear(); draw.image(camera.get(), 0, 0); } var s = function(sketch) { sketch.setup = function() { sketch.createCanvas(640, 480); came…

---

## [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…

---

## [Tangram Inspired Triangle Drawer](https://discourse.processing.org/t/tangram-inspired-triangle-drawer/45009)

<div class="topic-metadata">

**Author:** [@winterchan](https://discourse.processing.org/u/winterchan)\
**Replies:** 3\
**Last updated:** [August 30, 2024, 12:03am UTC](https://discourse.processing.org/t/tangram-inspired-triangle-drawer/45009 "2024-08-30T00:03:49Z")

</div>

Tangram Triangle Drawer The Tangram Triangle Drawer is an interactive visual application designed to create a dynamic representation of triangles perfectly fitting inside …

---

## [\[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…

---

## [Is there an auto grader / test cases for mouse / keyboard interactims?](https://discourse.processing.org/t/is-there-an-auto-grader-test-cases-for-mouse-keyboard-interactims/44997)

<div class="topic-metadata">

**Author:** [@the](https://discourse.processing.org/u/the)\
**Replies:** 0\
**Last updated:** [August 26, 2024, 7:13pm UTC](https://discourse.processing.org/t/is-there-an-auto-grader-test-cases-for-mouse-keyboard-interactims/44997 "2024-08-26T19:13:56Z")

</div>

Is there a way to include test cases inp5js that use mouse and keyboard interactions for auto-grading?

---

## [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…

---

## [Terea a shape extruder](https://discourse.processing.org/t/terea-a-shape-extruder/44945)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 3\
**Last updated:** [August 23, 2024, 2:07pm UTC](https://discourse.processing.org/t/terea-a-shape-extruder/44945 "2024-08-23T14:07:54Z")

</div>

Hi, here’s Terea who create 3D .stl file from a .svg. I need it for a 3D printing project so I did it. Terea on github Enjoy !

---

## [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 …

---

## [Simple Perlin noise random walk behavior in C++](https://discourse.processing.org/t/simple-perlin-noise-random-walk-behavior-in-c/44975)

<div class="topic-metadata">

**Author:** [@Tilman](https://discourse.processing.org/u/Tilman)\
**Replies:** 1\
**Last updated:** [August 22, 2024, 4:27pm UTC](https://discourse.processing.org/t/simple-perlin-noise-random-walk-behavior-in-c/44975 "2024-08-22T16:27:14Z")

</div>

We are trying to get this same random walk behaviour from the simple perlin noise random walk as in the p5.js sketch below. But for us in C++ with openFrameworks Perlin Noise we get a behaviour where the dot is always dr…

---

## [Rubic - a mini logic game](https://discourse.processing.org/t/rubic-a-mini-logic-game/44968)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 1\
**Last updated:** [August 21, 2024, 8:37am UTC](https://discourse.processing.org/t/rubic-a-mini-logic-game/44968 "2024-08-21T08:37:30Z")

</div>

Just a tiny logic game that I built recently. You can play it here (below is the actual game… not an image): This is the source code:

---

## [Draw with code programs](https://discourse.processing.org/t/draw-with-code-programs/44969)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [August 21, 2024, 2:38am UTC](https://discourse.processing.org/t/draw-with-code-programs/44969 "2024-08-21T02:38:57Z")

</div>

(scrolling animation is done in JavaScript) Download the brochure with type-in draw with code programs:

---

## [Can't run exe from exported Python sketch (Processing 3.5.4)](https://discourse.processing.org/t/cant-run-exe-from-exported-python-sketch-processing-3-5-4/44931)

<div class="topic-metadata">

**Author:** [@planT\_444](https://discourse.processing.org/u/planT_444)\
**Replies:** 3\
**Last updated:** [August 20, 2024, 7:53pm UTC](https://discourse.processing.org/t/cant-run-exe-from-exported-python-sketch-processing-3-5-4/44931 "2024-08-20T19:53:46Z")

</div>

Hello, I’m on Windows 10 (64-bit) and want to export a game I made using the Python mode for Processing last year to share it with others. I used Minim for sfx and music. I previously had different classes stored in dif…

---

## [Problems with capturing webm using CCapture.js library](https://discourse.processing.org/t/problems-with-capturing-webm-using-ccapture-js-library/44965)

<div class="topic-metadata">

**Author:** [@J\_Silva](https://discourse.processing.org/u/J_Silva)\
**Replies:** 1\
**Last updated:** [August 20, 2024, 4:19pm UTC](https://discourse.processing.org/t/problems-with-capturing-webm-using-ccapture-js-library/44965 "2024-08-20T16:19:34Z")

</div>

Hi. I have a small code that rotates a textured sphere. My goal is to record this sketch. I tried the saveGif() function but it did not give a smooth result; so, I am trying the CCapture.js library because it’s said to b…

---

## [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?

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=33)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=35)
