# Processing

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

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

**Page:** 74

---

## [Tooltip with ControlP5](https://discourse.processing.org/t/tooltip-with-controlp5/37917)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 12\
**Last updated:** [July 15, 2022, 5:26am UTC](https://discourse.processing.org/t/tooltip-with-controlp5/37917 "2022-07-15T05:26:36Z")

</div>

I want to add tooltip to GUI built using ControlP5. I found that some old examples (from around 2011) of tooltip in ControlP5 examples say that tooltip is not working as of now. I want to know if it is still not workin…

---

## [Can't make image rotate around it's own axis](https://discourse.processing.org/t/cant-make-image-rotate-around-its-own-axis/37956)

<div class="topic-metadata">

**Author:** [@ultimakey](https://discourse.processing.org/u/ultimakey)\
**Replies:** 1\
**Last updated:** [July 15, 2022, 3:08am UTC](https://discourse.processing.org/t/cant-make-image-rotate-around-its-own-axis/37956 "2022-07-15T03:08:23Z")

</div>

Hello! I want to make a 2D game with a top view where you control a car and you have to park it. But I can’t make the car rotate around it’s axis. I’ve tried placing in the translate the car coordinates, but I can’t make…

---

## [How to close serial port when window is closed](https://discourse.processing.org/t/how-to-close-serial-port-when-window-is-closed/37854)

<div class="topic-metadata">

**Author:** [@Ghostsss](https://discourse.processing.org/u/Ghostsss)\
**Replies:** 4\
**Last updated:** [July 14, 2022, 12:15pm UTC](https://discourse.processing.org/t/how-to-close-serial-port-when-window-is-closed/37854 "2022-07-14T12:15:22Z")

</div>

I am using serial port for building GUI with ControlP5. I open serial port in setup() function. i.e. tha start of program. I want to close the serial port when user closes the window. I know that port.close() can be u…

---

## [How To Test for Lost Serial Port?](https://discourse.processing.org/t/how-to-test-for-lost-serial-port/15437)

<div class="topic-metadata">

**Author:** [@Forrest\_Erickson](https://discourse.processing.org/u/Forrest_Erickson)\
**Replies:** 15\
**Last updated:** [July 14, 2022, 11:59am UTC](https://discourse.processing.org/t/how-to-test-for-lost-serial-port/15437 "2022-07-14T11:59:41Z")

</div>

I am using the processing serial library. In processing I am monitoring serial data. I want to detect when a USB device which identifies on a Windows computer as a COM port is turned off and therefor the COM port goes aw…

---

## [Accelerometer data STK8231 to 3d view](https://discourse.processing.org/t/accelerometer-data-stk8231-to-3d-view/37923)

<div class="topic-metadata">

**Author:** [@narendok](https://discourse.processing.org/u/narendok)\
**Replies:** 6\
**Last updated:** [July 14, 2022, 1:52am UTC](https://discourse.processing.org/t/accelerometer-data-stk8231-to-3d-view/37923 "2022-07-14T01:52:53Z")

</div>

import processing.opengl.\*; import processing.serial.\*; //Sets variables for serial port, bytes, and floats Serial sp; byte\[\] buff; float\[\] r; float OFFSET\_X = 2.5, OFFSET\_Y = -2.5; //These offsets are chip specific,…

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

<div class="topic-metadata">

**Author:** [@Random\_Ghost](https://discourse.processing.org/u/Random_Ghost)\
**Replies:** 1\
**Last updated:** [July 6, 2022, 9:39pm UTC](https://discourse.processing.org/t/how-do-i-use-a-method-in-other-processing-projects/37863 "2022-07-06T21:39:50Z")

</div>

I created a function that takes an image and returns a similar version of the image but with Gameboy graphics. Is there a way I can sort of save the function so I can use it in other projects similar to the way we use fu…

---

## [Combining the copy and blend functions into a 'brush'](https://discourse.processing.org/t/combining-the-copy-and-blend-functions-into-a-brush/37830)

<div class="topic-metadata">

**Author:** [@JonoCES](https://discourse.processing.org/u/JonoCES)\
**Replies:** 6\
**Last updated:** [July 6, 2022, 7:26am UTC](https://discourse.processing.org/t/combining-the-copy-and-blend-functions-into-a-brush/37830 "2022-07-06T07:26:08Z")

</div>

Hi, Processing beginner here! Go easy on me. I’m interested in making images with Processing and have an idea I’d like to try out, but I’m stuggling to find existing examples where it’s been done before. Here’s what I’m…

---

## [Trigger Mac shortcut on button click \[Processing\]](https://discourse.processing.org/t/trigger-mac-shortcut-on-button-click-processing/37785)

<div class="topic-metadata">

**Author:** [@LearnCode](https://discourse.processing.org/u/LearnCode)\
**Replies:** 4\
**Last updated:** [July 5, 2022, 10:07pm UTC](https://discourse.processing.org/t/trigger-mac-shortcut-on-button-click-processing/37785 "2022-07-05T22:07:12Z")

</div>

Hi All :slight\_smile: My name is Alwin, and I used Processing some years ago at college. And now, I want to use Processing again to prototype some UX hobby projects. I was curious if someone could maybe help me with a …

---

## [Pulling HTML data from my node.js server](https://discourse.processing.org/t/pulling-html-data-from-my-node-js-server/37849)

<div class="topic-metadata">

**Author:** [@PrinceSalmon](https://discourse.processing.org/u/PrinceSalmon)\
**Replies:** 1\
**Last updated:** [July 5, 2022, 7:04pm UTC](https://discourse.processing.org/t/pulling-html-data-from-my-node-js-server/37849 "2022-07-05T19:04:07Z")

</div>

Hello! Is it possible logging HTML data from a website (the number updates 60 times a secound) and then sending it to my arduino via serial? I want to pull certain data from the h1 from my HTML and then process and send…

---

## [How to make tilemap/tileset from .png file?](https://discourse.processing.org/t/how-to-make-tilemap-tileset-from-png-file/37837)

<div class="topic-metadata">

**Author:** [@StasPovaliaevUkraine](https://discourse.processing.org/u/StasPovaliaevUkraine)\
**Replies:** 4\
**Last updated:** [July 5, 2022, 2:21pm UTC](https://discourse.processing.org/t/how-to-make-tilemap-tileset-from-png-file/37837 "2022-07-05T14:21:58Z")

</div>

Hello. Glory to Ukraine. I want to make a class that will render and display a tilemap, but I didn’t find any example how to this can be done, how to display part of the picture?

---

## [Com.github library?](https://discourse.processing.org/t/com-github-library/37843)

<div class="topic-metadata">

**Author:** [@remie92](https://discourse.processing.org/u/remie92)\
**Replies:** 6\
**Last updated:** [July 5, 2022, 12:46pm UTC](https://discourse.processing.org/t/com-github-library/37843 "2022-07-05T12:46:50Z")

</div>

Hello, I am trying to make a sketch using a library from github. Link to the library And in the example it imports a bunch of com.github.? files. but when I try to import them, it justs says: //the import command impo…

---

## [Problems with P2D and P3D renderers with new Apple M1 processor](https://discourse.processing.org/t/problems-with-p2d-and-p3d-renderers-with-new-apple-m1-processor/27287)

<div class="topic-metadata">

**Author:** [@RetProf](https://discourse.processing.org/u/RetProf)\
**Replies:** 5\
**Last updated:** [July 5, 2022, 11:54am UTC](https://discourse.processing.org/t/problems-with-p2d-and-p3d-renderers-with-new-apple-m1-processor/27287 "2022-07-05T11:54:08Z")

</div>

I have encountered an issue when trying to execute sketches that function and export correctly on an older MacBook Pro when these sketches are attempted to be run on a new MacBook Pro using a new M1 processor. I have tri…

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

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