# Latest

**URL:** https://discourse.processing.org/latest.md?page=125

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

**Page:** 126

---

## [Pixel sorting on an angle](https://discourse.processing.org/t/pixel-sorting-on-an-angle/34206)

<div class="topic-metadata">

**Author:** [@synthetick](https://discourse.processing.org/u/synthetick)\
**Replies:** 3\
**Last updated:** [July 14, 2022, 9:45am UTC](https://discourse.processing.org/t/pixel-sorting-on-an-angle/34206 "2022-07-14T09:45:22Z")

</div>

Is there anyone who can help me understand how to change the angle of sorted pixels? Instead of sorting in horizontal lines, how would I implement something like this 45 degree angle?

---

## [Processing + Kinect (paid collaboration)](https://discourse.processing.org/t/processing-kinect-paid-collaboration/37274)

<div class="topic-metadata">

**Author:** [@Moshmosh](https://discourse.processing.org/u/Moshmosh)\
**Replies:** 1\
**Last updated:** [July 14, 2022, 7:51am UTC](https://discourse.processing.org/t/processing-kinect-paid-collaboration/37274 "2022-07-14T07:51:55Z")

</div>

Hello Processing Community, I am working on an exhibition in which part of the experince is interactive projection controlled by kinect. Starting from the physical painting create a grid of pixels or circles and then …

---

## [Circle-packing Shapes](https://discourse.processing.org/t/circle-packing-shapes/30686)

<div class="topic-metadata">

**Author:** [@micycle](https://discourse.processing.org/u/micycle)\
**Replies:** 1\
**Last updated:** [July 13, 2022, 11:13am UTC](https://discourse.processing.org/t/circle-packing-shapes/30686 "2022-07-13T11:13:30Z")

</div>

I’ve just released a new version of Processing Geometry Suite. Amongst other things, this update includes 6 different approaches/algorithms to circle-pack shapes. Front Chain Trinscribed (inscribed circles of triangu…

---

## [I want to create random circle walking how would I do this?](https://discourse.processing.org/t/i-want-to-create-random-circle-walking-how-would-i-do-this/37937)

<div class="topic-metadata">

**Author:** [@anche-jpg](https://discourse.processing.org/u/anche-jpg)\
**Replies:** 8\
**Last updated:** [July 13, 2022, 10:28am UTC](https://discourse.processing.org/t/i-want-to-create-random-circle-walking-how-would-i-do-this/37937 "2022-07-13T10:28:28Z")

</div>

Hello Processing People, I am having some trouble doing a basic thing. I would like to have circle walking like this on screen. If you look at the link, he has written code for the art which I am using but it is someho…

---

## [P5.js extension for Visual Code Studio error](https://discourse.processing.org/t/p5-js-extension-for-visual-code-studio-error/37913)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 21\
**Last updated:** [July 12, 2022, 9:36pm UTC](https://discourse.processing.org/t/p5-js-extension-for-visual-code-studio-error/37913 "2022-07-12T21:36:23Z")

</div>

Hi! I am running into a wall whenever I attempt to download the p5.js extensions to my Visual Code Studio application. I receive the following error message whenever I press install. “Unable to install because the exte…

---

## [Creating APNG animations with Processing - is this possible?](https://discourse.processing.org/t/creating-apng-animations-with-processing-is-this-possible/37925)

<div class="topic-metadata">

**Author:** [@anrui71](https://discourse.processing.org/u/anrui71)\
**Replies:** 4\
**Last updated:** [July 12, 2022, 5:36pm UTC](https://discourse.processing.org/t/creating-apng-animations-with-processing-is-this-possible/37925 "2022-07-12T17:36:03Z")

</div>

Hello everyone! I am facing the need to create a rather large number of apng animations from png images that I rendered with processing. I found a stand alone tool for that task, which however does not support batch pro…

---

## [Unable to view errors in Processing 3.5.4 IDE on Mac OS Monterey 12.4](https://discourse.processing.org/t/unable-to-view-errors-in-processing-3-5-4-ide-on-mac-os-monterey-12-4/37915)

<div class="topic-metadata">

**Author:** [@panic8681](https://discourse.processing.org/u/panic8681)\
**Replies:** 5\
**Last updated:** [July 12, 2022, 3:52pm UTC](https://discourse.processing.org/t/unable-to-view-errors-in-processing-3-5-4-ide-on-mac-os-monterey-12-4/37915 "2022-07-12T15:52:57Z")

</div>

When using Processing in Python Mode I am not able to see any errors in the console. I can run sketches, but if I purposefully type in something with a syntax error (just the word “hello” for example) I don’t get any war…

---

## [3D Perlin noise in Processing](https://discourse.processing.org/t/3d-perlin-noise-in-processing/37770)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 30\
**Last updated:** [July 12, 2022, 2:43pm UTC](https://discourse.processing.org/t/3d-perlin-noise-in-processing/37770 "2022-07-12T14:43:28Z")

</div>

Hello! I just finished the coding train’s coding challenge #11 : 3D generation with perlin noise on YouTube! I have a question. How would I make a similar image but with my own image of noise that is responsive to the g…

---

## [Creating simple GUI to change variables in script](https://discourse.processing.org/t/creating-simple-gui-to-change-variables-in-script/37912)

<div class="topic-metadata">

**Author:** [@NikhilPundir](https://discourse.processing.org/u/NikhilPundir)\
**Replies:** 5\
**Last updated:** [July 12, 2022, 1:26pm UTC](https://discourse.processing.org/t/creating-simple-gui-to-change-variables-in-script/37912 "2022-07-12T13:26:13Z")

</div>

I wanted to know if its possible to create a simple GUI to change different variables in the script and Re-Re-Render the image. Currently, I change a variable then run the program again to see result. A GUI to see instan…

---

## [How do I use a method from a Processing project in other Processing projects?](https://discourse.processing.org/t/how-do-i-use-a-method-from-a-processing-project-in-other-processing-projects/37926)

<div class="topic-metadata">

**Author:** [@Random\_Ghost](https://discourse.processing.org/u/Random_Ghost)\
**Replies:** 1\
**Last updated:** [July 11, 2022, 8:26pm UTC](https://discourse.processing.org/t/how-do-i-use-a-method-from-a-processing-project-in-other-processing-projects/37926 "2022-07-11T20:26:17Z")

</div>

I have written a method in a processing projects and I’m going to use it in other unrelated projects. Is there a way to use the method without having to copy it every time?

---

## [Is it Possible / Best Practices for 4k Video?](https://discourse.processing.org/t/is-it-possible-best-practices-for-4k-video/37700)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 1\
**Last updated:** [July 11, 2022, 8:11pm UTC](https://discourse.processing.org/t/is-it-possible-best-practices-for-4k-video/37700 "2022-07-11T20:11:41Z")

</div>

I am looking to make a simple sketch that plays back 4k video (3840 x 2160) at 60 FPS. I am familiar enough with video in Processing but am curious about any limitations or best practices when it comes to handling large…

---

## [Split Background Colour](https://discourse.processing.org/t/split-background-colour/9251)

<div class="topic-metadata">

**Author:** [@mayathebee](https://discourse.processing.org/u/mayathebee)\
**Replies:** 6\
**Last updated:** [July 11, 2022, 4:58pm UTC](https://discourse.processing.org/t/split-background-colour/9251 "2022-07-11T16:58:55Z")

</div>

Hello, I am very new to processing, but I have an assignment that requires me to split the screen with blue on top and green on the bottom. I know it’s very basic, but I can’t find anything about it in the processing ref…

---

## [How to get rid of flotation point calculation errors?](https://discourse.processing.org/t/how-to-get-rid-of-flotation-point-calculation-errors/37859)

<div class="topic-metadata">

**Author:** [@TT3overnot](https://discourse.processing.org/u/TT3overnot)\
**Replies:** 7\
**Last updated:** [July 8, 2022, 4:09pm UTC](https://discourse.processing.org/t/how-to-get-rid-of-flotation-point-calculation-errors/37859 "2022-07-08T16:09:10Z")

</div>

Help! I recently started the work of a space game similar to Space Flight Simulator or Kerbal space program but 2D. I ran into a problem where if I zoom into a smaller celestial body like deimos (one of the moons of mars…

---

## [P5js and ZeroTier (or Hamachi)](https://discourse.processing.org/t/p5js-and-zerotier-or-hamachi/37916)

<div class="topic-metadata">

**Author:** [@patricio1979](https://discourse.processing.org/u/patricio1979)\
**Replies:** 2\
**Last updated:** [July 11, 2022, 12:46pm UTC](https://discourse.processing.org/t/p5js-and-zerotier-or-hamachi/37916 "2022-07-11T12:46:51Z")

</div>

Is there a way to send OSC data or even messages from P5js through ZeroTier or Hamachi. Tryed P5js sketch with oscBrowser.js but it gives me SecurityError: Failed to construct 'WebSocket': An insecure WebSocket conne…

---

## [Show website in Processing Java app](https://discourse.processing.org/t/show-website-in-processing-java-app/37846)

<div class="topic-metadata">

**Author:** [@LucaP](https://discourse.processing.org/u/LucaP)\
**Replies:** 5\
**Last updated:** [July 10, 2022, 5:03pm UTC](https://discourse.processing.org/t/show-website-in-processing-java-app/37846 "2022-07-10T17:03:21Z")

</div>

Hi, I would like to show a website inside of my processing java app. Is this possible?

---

## [How change icon to title bar](https://discourse.processing.org/t/how-change-icon-to-title-bar/37903)

<div class="topic-metadata">

**Author:** [@Andry](https://discourse.processing.org/u/Andry)\
**Replies:** 4\
**Last updated:** [July 10, 2022, 2:37pm UTC](https://discourse.processing.org/t/how-change-icon-to-title-bar/37903 "2022-07-10T14:37:29Z")

</div>

i tried with this code, but it gives me error ImageIcon icon = new ImageIcon(“icona.ico”); import javax.swing.\*; JFrame jf; jf.setIconImage(icon);

---

## [KinectV2 - Getting a rectangle boundary of the body](https://discourse.processing.org/t/kinectv2-getting-a-rectangle-boundary-of-the-body/37905)

<div class="topic-metadata">

**Author:** [@bringmeflowers](https://discourse.processing.org/u/bringmeflowers)\
**Replies:** 0\
**Last updated:** [July 10, 2022, 1:31pm UTC](https://discourse.processing.org/t/kinectv2-getting-a-rectangle-boundary-of-the-body/37905 "2022-07-10T13:31:11Z")

</div>

I am trying to draw a rectangle around the body detected by Kinect. Left most and highest points are detected but have difficulty finding the right most and lowest point. import org.openkinect.processing.\*; Kinect2 ki…

---

## [Processing locking up](https://discourse.processing.org/t/processing-locking-up/37813)

<div class="topic-metadata">

**Author:** [@MarkC](https://discourse.processing.org/u/MarkC)\
**Replies:** 4\
**Last updated:** [July 10, 2022, 12:25pm UTC](https://discourse.processing.org/t/processing-locking-up/37813 "2022-07-10T12:25:27Z")

</div>

Hi firstly love Processing, just starting to get back into coding after 30 years (yep 30!!). Just started to have problems with P3 and P4 locking up my laptop (does the same on a second laptop now too). Been using Proce…

---

## [Keep p5.serial port open while mac screen is closed](https://discourse.processing.org/t/keep-p5-serial-port-open-while-mac-screen-is-closed/37892)

<div class="topic-metadata">

**Author:** [@joe\_processing](https://discourse.processing.org/u/joe_processing)\
**Replies:** 0\
**Last updated:** [July 9, 2022, 3:59pm UTC](https://discourse.processing.org/t/keep-p5-serial-port-open-while-mac-screen-is-closed/37892 "2022-07-09T15:59:08Z")

</div>

Hi guys, I attached an Arduino to P5 SERIAL CONTROL. I want to keep the port open while my mac is closed (For an exhibition I’m having). I tried to change the preferences of the Mac battery so it will continue to work…

---

## [Loading obj model](https://discourse.processing.org/t/loading-obj-model/37884)

<div class="topic-metadata">

**Author:** [@JoLi](https://discourse.processing.org/u/JoLi)\
**Replies:** 2\
**Last updated:** [July 9, 2022, 1:19pm UTC](https://discourse.processing.org/t/loading-obj-model/37884 "2022-07-09T13:19:09Z")

</div>

Hi, I’ve made a little game (https://github.com/jonli/spacestarprocessing) and now want to convert it to 3D. I’ve done some things with spheres in P3D before, so I’m not completely new to this. But now I’ve encountere…

---

## [Hover effect triangle](https://discourse.processing.org/t/hover-effect-triangle/37873)

<div class="topic-metadata">

**Author:** [@caleidolex](https://discourse.processing.org/u/caleidolex)\
**Replies:** 4\
**Last updated:** [July 9, 2022, 11:35am UTC](https://discourse.processing.org/t/hover-effect-triangle/37873 "2022-07-09T11:35:30Z")

</div>

Hey everyone, i started arround 1 month ago with programming and loving p5js. Right now I have a problem I can’t figure out to implement into my code. I want to have a hover effect on a triangle. I did this with the col…

---

## [Updating EXE Files Across Computers](https://discourse.processing.org/t/updating-exe-files-across-computers/37882)

<div class="topic-metadata">

**Author:** [@YellowGTM](https://discourse.processing.org/u/YellowGTM)\
**Replies:** 3\
**Last updated:** [July 8, 2022, 7:05pm UTC](https://discourse.processing.org/t/updating-exe-files-across-computers/37882 "2022-07-08T19:05:41Z")

</div>

Hello All, How do you update an EXE program across different computers? For example, if I copy the EXE file, and associated JAR files, the program hangs. I’ve even tried copying an entire compiled (exported) folder, …

---

## [Update cursor immediately before and after a long loop](https://discourse.processing.org/t/update-cursor-immediately-before-and-after-a-long-loop/37867)

<div class="topic-metadata">

**Author:** [@nemecsek69](https://discourse.processing.org/u/nemecsek69)\
**Replies:** 2\
**Last updated:** [July 8, 2022, 11:10am UTC](https://discourse.processing.org/t/update-cursor-immediately-before-and-after-a-long-loop/37867 "2022-07-08T11:10:43Z")

</div>

JS newbie here. This is an extreme simplification of the real code but the general behavior is the same: after clicking the button I want to change the cursor to “wait”, execute a blocking loop for 3 seconds, and then r…

---

## [How to add Google Play ads to the Processing project? (Android)](https://discourse.processing.org/t/how-to-add-google-play-ads-to-the-processing-project-android/37872)

<div class="topic-metadata">

**Author:** [@StasPovaliaevUkraine](https://discourse.processing.org/u/StasPovaliaevUkraine)\
**Replies:** 2\
**Last updated:** [July 8, 2022, 10:27am UTC](https://discourse.processing.org/t/how-to-add-google-play-ads-to-the-processing-project-android/37872 "2022-07-08T10:27:29Z")

</div>

Hello! Let’s say I made an android application, how can I add ads to it, so that I can then upload it to Google Play, and when someone downloaded my application, did it show ads?

---

## [Can you get what the current rectMode is?](https://discourse.processing.org/t/can-you-get-what-the-current-rectmode-is/37870)

<div class="topic-metadata">

**Author:** [@The\_Math\_Maniac1](https://discourse.processing.org/u/The_Math_Maniac1)\
**Replies:** 1\
**Last updated:** [July 8, 2022, 3:55am UTC](https://discourse.processing.org/t/can-you-get-what-the-current-rectmode-is/37870 "2022-07-08T03:55:30Z")

</div>

I want to make a custom rectangle function, and I want to base how it draws the rectangle on what the current rectMode is. Is it possible to get what rectMode the sketch is currently on? Something like rectMode(CENTER) …

---

## [Loading a 100MB PNG and draw it on the canvas but it eats 1GB of RAM :(](https://discourse.processing.org/t/loading-a-100mb-png-and-draw-it-on-the-canvas-but-it-eats-1gb-of-ram/37791)

<div class="topic-metadata">

**Author:** [@Enda](https://discourse.processing.org/u/Enda)\
**Replies:** 5\
**Last updated:** [July 8, 2022, 12:38am UTC](https://discourse.processing.org/t/loading-a-100mb-png-and-draw-it-on-the-canvas-but-it-eats-1gb-of-ram/37791 "2022-07-08T00:38:17Z")

</div>

Hello all This is a big problem for my university assignment and im the only girl in my class so I cant really ask for help from others there :frowning: When I load a PNG (100MB in size) and draw it on the canvas. The …

---

## [Unable to build for mac M1 (Apple Sillicon)](https://discourse.processing.org/t/unable-to-build-for-mac-m1-apple-sillicon/37845)

<div class="topic-metadata">

**Author:** [@2box](https://discourse.processing.org/u/2box)\
**Replies:** 1\
**Last updated:** [July 7, 2022, 8:45pm UTC](https://discourse.processing.org/t/unable-to-build-for-mac-m1-apple-sillicon/37845 "2022-07-07T20:45:44Z")

</div>

Hello, I have tried using many different Processing 4.0bx versions (4.0b5, 4.0b6, 4.0b8) with different results, but I cannot get any of my builds to open with a Macbook Pro 2021 with the M1 chip. On windows or older ma…

---

## [Print() function wants to print out the whole website](https://discourse.processing.org/t/print-function-wants-to-print-out-the-whole-website/37876)

<div class="topic-metadata">

**Author:** [@n0x](https://discourse.processing.org/u/n0x)\
**Replies:** 4\
**Last updated:** [July 7, 2022, 8:08pm UTC](https://discourse.processing.org/t/print-function-wants-to-print-out-the-whole-website/37876 "2022-07-07T20:08:34Z")

</div>

Whenever I have auto-refresh on and have written print() in draw then it wants to print out the websites like with ctrl + p and then when I try to close the tab I get a new one. I have lost code due to it. I’m wonder…

---

## [Sieve of Eratosthenes in Python](https://discourse.processing.org/t/sieve-of-eratosthenes-in-python/37866)

<div class="topic-metadata">

**Author:** [@shivambhatele](https://discourse.processing.org/u/shivambhatele)\
**Replies:** 2\
**Last updated:** [July 7, 2022, 10:11am UTC](https://discourse.processing.org/t/sieve-of-eratosthenes-in-python/37866 "2022-07-07T10:11:10Z")

</div>

Hello All, I working on a python project and I am confused sieve of eratosthenes coding problem. The problem statement is Given a number n, print all primes smaller than or equal to n. It is also given that n is a small…

---

## [Title bar with close only](https://discourse.processing.org/t/title-bar-with-close-only/37839)

<div class="topic-metadata">

**Author:** [@Andry](https://discourse.processing.org/u/Andry)\
**Replies:** 5\
**Last updated:** [July 7, 2022, 7:46am UTC](https://discourse.processing.org/t/title-bar-with-close-only/37839 "2022-07-07T07:46:31Z")

</div>

Hello, there is a code to display only the close button on the title bar of the sketch

[Previous page](https://discourse.processing.org/latest.md?page=124)

[Next page](https://discourse.processing.org/latest.md?page=126)
