# Latest

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

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

**Page:** 110

---

## [How to use Processing-4 in Visual Studio Code](https://discourse.processing.org/t/how-to-use-processing-4-in-visual-studio-code/37725)

<div class="topic-metadata">

**Author:** [@DrMaC](https://discourse.processing.org/u/DrMaC)\
**Replies:** 2\
**Last updated:** [October 14, 2022, 9:51am UTC](https://discourse.processing.org/t/how-to-use-processing-4-in-visual-studio-code/37725 "2022-10-14T09:51:17Z")

</div>

Hello, On windows 10 I have been trying to run Processing 4 on VSCode for a few days & getting nowhere. Processing-4 app running stand alone works OK on a test.pde file but running the same code in the Processing Langua…

---

## [Using JColorChooser in processing to change drawing line color](https://discourse.processing.org/t/using-jcolorchooser-in-processing-to-change-drawing-line-color/39253)

<div class="topic-metadata">

**Author:** [@Ideally](https://discourse.processing.org/u/Ideally)\
**Replies:** 4\
**Last updated:** [October 14, 2022, 8:57am UTC](https://discourse.processing.org/t/using-jcolorchooser-in-processing-to-change-drawing-line-color/39253 "2022-10-14T08:57:32Z")

</div>

My program only draws lines, I want to use JColorChooser to choose a line color as soon as I start drawing. can anyone give me a hand? I’ve got this so far. import java.awt.\*; import javax.swing.\*; public static col…

---

## [Test Topic for Spam filter](https://discourse.processing.org/t/test-topic-for-spam-filter/39227)

<div class="topic-metadata">

**Author:** [@mnse](https://discourse.processing.org/u/mnse)\
**Replies:** 0\
**Last updated:** [October 12, 2022, 1:23pm UTC](https://discourse.processing.org/t/test-topic-for-spam-filter/39227 "2022-10-12T13:23:55Z")

</div>

please format code with \</\> button \* homework policy \* asking questions No issue here. Only for testing. Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna …

---

## [Can I create new class which is not a inner class but still with the ability to draw shape?](https://discourse.processing.org/t/can-i-create-new-class-which-is-not-a-inner-class-but-still-with-the-ability-to-draw-shape/39244)

<div class="topic-metadata">

**Author:** [@Malloc](https://discourse.processing.org/u/Malloc)\
**Replies:** 5\
**Last updated:** [October 14, 2022, 5:07am UTC](https://discourse.processing.org/t/can-i-create-new-class-which-is-not-a-inner-class-but-still-with-the-ability-to-draw-shape/39244 "2022-10-14T05:07:56Z")

</div>

If we create many class with different function, but all need to draw their shapes. How can we split the new class from the one extends PApplet and still keep the ability to call it’s build in methods? It’s too long to …

---

## [P4 & Monterey “could not find Java runtime environment”](https://discourse.processing.org/t/p4-monterey-could-not-find-java-runtime-environment/37277)

<div class="topic-metadata">

**Author:** [@bee](https://discourse.processing.org/u/bee)\
**Replies:** 1\
**Last updated:** [October 14, 2022, 1:24am UTC](https://discourse.processing.org/t/p4-monterey-could-not-find-java-runtime-environment/37277 "2022-10-14T01:24:48Z")

</div>

2017 MacBook, Monterey Processing 4 won’t start, error: could not find Java runtime environment downloaded and installed Java, still same error.

---

## [How to create a custom window](https://discourse.processing.org/t/how-to-create-a-custom-window/39254)

<div class="topic-metadata">

**Author:** [@5x9x7x2x7x9](https://discourse.processing.org/u/5x9x7x2x7x9)\
**Replies:** 2\
**Last updated:** [October 13, 2022, 9:58pm UTC](https://discourse.processing.org/t/how-to-create-a-custom-window/39254 "2022-10-13T21:58:06Z")

</div>

Hello, I’ve been wondering how you could create a second window You have the main window which shows the game and then you have the second window with buttons you can press to move the character and do actions

---

## [Contribution guide for a Student Frontend Developer](https://discourse.processing.org/t/contribution-guide-for-a-student-frontend-developer/39114)

<div class="topic-metadata">

**Author:** [@Jayaditya](https://discourse.processing.org/u/Jayaditya)\
**Replies:** 1\
**Last updated:** [October 13, 2022, 3:00pm UTC](https://discourse.processing.org/t/contribution-guide-for-a-student-frontend-developer/39114 "2022-10-13T15:00:33Z")

</div>

Hello Sir / Madam, My name is Jayaditya and currently pursuing my B.tech 2nd year CS Major in India. Recently I am enrolled in a Udemy Course to Learn Web development , I have completed the most part on Frontend deve…

---

## [Hey, i would like to execute a window that has no x minimise and so no buttons on top](https://discourse.processing.org/t/hey-i-would-like-to-execute-a-window-that-has-no-x-minimise-and-so-no-buttons-on-top/39240)

<div class="topic-metadata">

**Author:** [@Lissie](https://discourse.processing.org/u/Lissie)\
**Replies:** 1\
**Last updated:** [October 13, 2022, 12:39pm UTC](https://discourse.processing.org/t/hey-i-would-like-to-execute-a-window-that-has-no-x-minimise-and-so-no-buttons-on-top/39240 "2022-10-13T12:39:25Z")

</div>

I would like to have a window when i start a programm,that closes after like 10 seconds without any exit store down and minimise buttons

---

## [Use button.mouseOver inside a class](https://discourse.processing.org/t/use-button-mouseover-inside-a-class/39236)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 3\
**Last updated:** [October 13, 2022, 12:14am UTC](https://discourse.processing.org/t/use-button-mouseover-inside-a-class/39236 "2022-10-13T00:14:14Z")

</div>

Hello. I’, trying to wrap a p5 button in a class to make a different look. But I can’t make the listener to work, I think is a scope problem with my callback function atempt. Easy to understand by looking at the code. …

---

## [False positive spam on changing category/tags](https://discourse.processing.org/t/false-positive-spam-on-changing-category-tags/39228)

<div class="topic-metadata">

**Author:** [@mnse](https://discourse.processing.org/u/mnse)\
**Replies:** 1\
**Last updated:** [October 12, 2022, 5:27pm UTC](https://discourse.processing.org/t/false-positive-spam-on-changing-category-tags/39228 "2022-10-12T17:27:41Z")

</div>

Investigation for Also the issue that on changing the category or tags sometimes leads to spam classification and make the topic invisible therefore. Tried to reproduce it, but currently it works. Don’t know which ci…

---

## [Why colors look different in different browsers?](https://discourse.processing.org/t/why-colors-look-different-in-different-browsers/39219)

<div class="topic-metadata">

**Author:** [@Nik](https://discourse.processing.org/u/Nik)\
**Replies:** 3\
**Last updated:** [October 12, 2022, 5:24pm UTC](https://discourse.processing.org/t/why-colors-look-different-in-different-browsers/39219 "2022-10-12T17:24:16Z")

</div>

Hello! I noticed that the colors in different browsers are different. Below is a simple example with code and explanations: //////////////////// function setup() { createCanvas(1000, 1000); background(255); fill(255);…

---

## [Resize image processing crash](https://discourse.processing.org/t/resize-image-processing-crash/39223)

<div class="topic-metadata">

**Author:** [@gradientquestion](https://discourse.processing.org/u/gradientquestion)\
**Replies:** 2\
**Last updated:** [October 12, 2022, 3:54pm UTC](https://discourse.processing.org/t/resize-image-processing-crash/39223 "2022-10-12T15:54:08Z")

</div>

Hello ! does anyone know why on my code my image is not in the original format? I try to apply Resize but it does not work on my image? how can i resize it? it looks like she puts herself in a square I just want my ima…

---

## [Image flipping for MOBA controls](https://discourse.processing.org/t/image-flipping-for-moba-controls/39207)

<div class="topic-metadata">

**Author:** [@Quesadilla](https://discourse.processing.org/u/Quesadilla)\
**Replies:** 3\
**Last updated:** [October 11, 2022, 3:57pm UTC](https://discourse.processing.org/t/image-flipping-for-moba-controls/39207 "2022-10-11T15:57:23Z")

</div>

Im having trouble moving my character at a constant rate as well, it is decelerating as it moves, any suggestions on moving at a constant rate? //I cant seem to get my image to flip without my controls going haywire, I …

---

## [Processing changes the colors in the loaded image](https://discourse.processing.org/t/processing-changes-the-colors-in-the-loaded-image/39224)

<div class="topic-metadata">

**Author:** [@apac](https://discourse.processing.org/u/apac)\
**Replies:** 1\
**Last updated:** [October 12, 2022, 10:06am UTC](https://discourse.processing.org/t/processing-changes-the-colors-in-the-loaded-image/39224 "2022-10-12T10:06:20Z")

</div>

I am finding that just loading an image in Processing and then saving the image changes the colors in the image. I am not doing any changes to the image. Simply loading and saving. However, I can see a slight difference …

---

## [Line coming out of semi circle](https://discourse.processing.org/t/line-coming-out-of-semi-circle/39225)

<div class="topic-metadata">

**Author:** [@chaotic.rabbit](https://discourse.processing.org/u/chaotic.rabbit)\
**Replies:** 1\
**Last updated:** [October 12, 2022, 10:03am UTC](https://discourse.processing.org/t/line-coming-out-of-semi-circle/39225 "2022-10-12T10:03:41Z")

</div>

Hi, i would like to have lines coming out the curved part of a semicircle. I already know the x positions that I want but I need to adjust the y of the lines according to the semicircle’s curve. How can I do this please? …

---

## [touchStarted on Safari Iphone](https://discourse.processing.org/t/touchstarted-on-safari-iphone/39221)

<div class="topic-metadata">

**Author:** [@jaimico](https://discourse.processing.org/u/jaimico)\
**Replies:** 2\
**Last updated:** [October 12, 2022, 12:28am UTC](https://discourse.processing.org/t/touchstarted-on-safari-iphone/39221 "2022-10-12T00:28:34Z")

</div>

Hello, I am preparing an exhibition of my students’ projects, from the Share option, like this In a computer web browser it works, but it doesn’t work when opening the code in iphone safari. How can I make it work i…

---

## [Reveal Image of the Masking](https://discourse.processing.org/t/reveal-image-of-the-masking/39215)

<div class="topic-metadata">

**Author:** [@Judy](https://discourse.processing.org/u/Judy)\
**Replies:** 5\
**Last updated:** [October 11, 2022, 4:28pm UTC](https://discourse.processing.org/t/reveal-image-of-the-masking/39215 "2022-10-11T16:28:29Z")

</div>

Hello. I want to operate the code like an example image. I want to make a ghost image come out if I wipe it with an eraser on top of an ordinary girl image. But my code doesn’t work that way. How should I change it? L…

---

## [Coding Sun, Moon and Earth realistically](https://discourse.processing.org/t/coding-sun-moon-and-earth-realistically/38008)

<div class="topic-metadata">

**Author:** [@Beppo](https://discourse.processing.org/u/Beppo)\
**Replies:** 5\
**Last updated:** [October 11, 2022, 3:00pm UTC](https://discourse.processing.org/t/coding-sun-moon-and-earth-realistically/38008 "2022-10-11T15:00:21Z")

</div>

Hello, for a scool project I have to code the in the reality existing system containing sun, moon and earth as realistically as possible. In my opinion the three bodies should move witch my current code as they do in rea…

---

## [Cheap alternatives for Kinect?](https://discourse.processing.org/t/cheap-alternatives-for-kinect/39150)

<div class="topic-metadata">

**Author:** [@f42ter](https://discourse.processing.org/u/f42ter)\
**Replies:** 2\
**Last updated:** [October 11, 2022, 12:56pm UTC](https://discourse.processing.org/t/cheap-alternatives-for-kinect/39150 "2022-10-11T12:56:47Z")

</div>

Is there a cheap alternative for MS Kinect and at least available in Germany and with Processing support?

---

## [Site feedback –– Searchable Topic Titles](https://discourse.processing.org/t/site-feedback-searchable-topic-titles/39205)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 5\
**Last updated:** [October 11, 2022, 12:35pm UTC](https://discourse.processing.org/t/site-feedback-searchable-topic-titles/39205 "2022-10-11T12:35:11Z")

</div>

Hello! This is not a pressing matter. And perhaps is my own personal Achilles’ heel… but thought I’d mention it if others sometimes have the same experience when searching the topic archive. I referred to the GUIDESLIN…

---

## [Optimization question about WEBGL](https://discourse.processing.org/t/optimization-question-about-webgl/39196)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 2\
**Last updated:** [October 11, 2022, 12:12pm UTC](https://discourse.processing.org/t/optimization-question-about-webgl/39196 "2022-10-11T12:12:10Z")

</div>

Hey, I’m doing an interactive project and I need it to be as fast as possible without delay or lags. As part of the project, I have a video (let’s say from the webcam) on part of the canvas, and on top of the video I dr…

---

## [Intersection of two rectangles](https://discourse.processing.org/t/intersection-of-two-rectangles/39212)

<div class="topic-metadata">

**Author:** [@Shachar](https://discourse.processing.org/u/Shachar)\
**Replies:** 2\
**Last updated:** [October 11, 2022, 12:06pm UTC](https://discourse.processing.org/t/intersection-of-two-rectangles/39212 "2022-10-11T12:06:31Z")

</div>

Hi everyone! I’ve tried to create a rectangle class and check if two rectangles intersect. Their x and y values represent the centers. My intersection condition looks like this: r1.x+r1.w/2 \< r2.x-r2.w/2 || r2.x+r2.w/…

---

## [Processing doesn't save my preferences](https://discourse.processing.org/t/processing-doesnt-save-my-preferences/39195)

<div class="topic-metadata">

**Author:** [@Lissie](https://discourse.processing.org/u/Lissie)\
**Replies:** 4\
**Last updated:** [October 11, 2022, 10:48am UTC](https://discourse.processing.org/t/processing-doesnt-save-my-preferences/39195 "2022-10-11T10:48:23Z")

</div>

like i hate it because then it doesnt auto save

---

## [HexGrid with Processing's polygon function](https://discourse.processing.org/t/hexgrid-with-processings-polygon-function/39174)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 8\
**Last updated:** [October 11, 2022, 3:24am UTC](https://discourse.processing.org/t/hexgrid-with-processings-polygon-function/39174 "2022-10-11T03:24:17Z")

</div>

Source code below will create a scalable grid of hexagons using Processing’s polygon function to create the hexagons: void polygon(float x, float y, float radius, int npoints) { float angle = TWO\_PI / npoints; begin…

---

## [Anyway to fix video stuttering on Raspberry Pi 3?](https://discourse.processing.org/t/anyway-to-fix-video-stuttering-on-raspberry-pi-3/39208)

<div class="topic-metadata">

**Author:** [@nitrocaphane](https://discourse.processing.org/u/nitrocaphane)\
**Replies:** 0\
**Last updated:** [October 10, 2022, 10:44pm UTC](https://discourse.processing.org/t/anyway-to-fix-video-stuttering-on-raspberry-pi-3/39208 "2022-10-10T22:44:45Z")

</div>

Hi, I’m making an IR sensor triggered video installation (Processing 3 on Pi 3) and the videos (not even high-res) look quite stuttering for some reason. I know that Pis have pretty shitty visual performance but no way …

---

## [How do I draw a wireframe cube?](https://discourse.processing.org/t/how-do-i-draw-a-wireframe-cube/39171)

<div class="topic-metadata">

**Author:** [@Umbrella](https://discourse.processing.org/u/Umbrella)\
**Replies:** 3\
**Last updated:** [October 10, 2022, 8:46pm UTC](https://discourse.processing.org/t/how-do-i-draw-a-wireframe-cube/39171 "2022-10-10T20:46:00Z")

</div>

Hi, I’m working on a homework project, part of which requires me to draw a cube made out of triangles. I have drawn a frame and started to fill it in, so that each triangle is a different color. I’ve started writing the …

---

## [Pathfinder with obstruction](https://discourse.processing.org/t/pathfinder-with-obstruction/39045)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 5\
**Last updated:** [October 10, 2022, 7:43pm UTC](https://discourse.processing.org/t/pathfinder-with-obstruction/39045 "2022-10-10T19:43:42Z")

</div>

pathfinder sketch to demonstrate pathfinding, based on my old tile style maze generator. The optimal path isnt calculated, but that can be done with path pruning. still to add image upload, and possibly co…

---

## [\[SOLVED\] Drawing circles inside a circle (generative dandelion)](https://discourse.processing.org/t/solved-drawing-circles-inside-a-circle-generative-dandelion/39197)

<div class="topic-metadata">

**Author:** [@Ties2901](https://discourse.processing.org/u/Ties2901)\
**Replies:** 20\
**Last updated:** [October 8, 2022, 7:18am UTC](https://discourse.processing.org/t/solved-drawing-circles-inside-a-circle-generative-dandelion/39197 "2022-10-08T07:18:48Z")

</div>

THIS QUESTIONS IS SOLVED! :slight\_smile: Hi I am very new to processing and am trying to do roughly the same \[as this post (mod edit)\], but the resources posted below are not helping me find the solution… I am now draw…

---

## [HELP. i tried editing text, first it didnt work, then the programm became unresponsive & now it plays a loud beeping sound](https://discourse.processing.org/t/help-i-tried-editing-text-first-it-didnt-work-then-the-programm-became-unresponsive-now-it-plays-a-loud-beeping-sound/39194)

<div class="topic-metadata">

**Author:** [@Lissie](https://discourse.processing.org/u/Lissie)\
**Replies:** 1\
**Last updated:** [October 10, 2022, 6:10pm UTC](https://discourse.processing.org/t/help-i-tried-editing-text-first-it-didnt-work-then-the-programm-became-unresponsive-now-it-plays-a-loud-beeping-sound/39194 "2022-10-10T18:10:54Z")

</div>

i didnt even start the sketch it does not show not responding on top of the window & i didnt save

---

## [Creating a Scoreboard for Simple Game](https://discourse.processing.org/t/creating-a-scoreboard-for-simple-game/39075)

<div class="topic-metadata">

**Author:** [@honeydew](https://discourse.processing.org/u/honeydew)\
**Replies:** 4\
**Last updated:** [October 10, 2022, 2:22pm UTC](https://discourse.processing.org/t/creating-a-scoreboard-for-simple-game/39075 "2022-10-10T14:22:13Z")

</div>

Hi guys, I’m new to this forum so I’m not really sure how to post my code properly. I’m trying to make a game where a character, Steve, runs around and collects food. Whenever he runs over a piece of food, the food reapp…

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

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