# Processing

**URL:** https://discourse.processing.org/c/processing/6.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

---

## [QUAD\_STRIP in P3D](https://discourse.processing.org/t/quad-strip-in-p3d/42579)

<div class="topic-metadata">

**Author:** [@travis.stdenis](https://discourse.processing.org/u/travis.stdenis)\
**Replies:** 10\
**Last updated:** [August 14, 2023, 9:04pm UTC](https://discourse.processing.org/t/quad-strip-in-p3d/42579 "2023-08-14T21:04:42Z")

</div>

I am attempting to convert this ribbon shape that uses lines into using QUAD\_STRIP or even TRIANGLE\_STRIP. Here is the code snippet that generates this: noFill(); pushMatrix(); translate(midPt.x, midPt.y, midPt.z); …

---

## [I need help recreating an image (rows of circles)](https://discourse.processing.org/t/i-need-help-recreating-an-image-rows-of-circles/42577)

<div class="topic-metadata">

**Author:** [@fsociety](https://discourse.processing.org/u/fsociety)\
**Replies:** 3\
**Last updated:** [August 13, 2023, 3:47pm UTC](https://discourse.processing.org/t/i-need-help-recreating-an-image-rows-of-circles/42577 "2023-08-13T15:47:43Z")

</div>

i need to reacreate this asap

---

## [mouseX and mouseY not updating even when mouse is still in window](https://discourse.processing.org/t/mousex-and-mousey-not-updating-even-when-mouse-is-still-in-window/42588)

<div class="topic-metadata">

**Author:** [@blaster003](https://discourse.processing.org/u/blaster003)\
**Replies:** 1\
**Last updated:** [August 13, 2023, 12:32pm UTC](https://discourse.processing.org/t/mousex-and-mousey-not-updating-even-when-mouse-is-still-in-window/42588 "2023-08-13T12:32:27Z")

</div>

I’ve been making an arras.io (a top down shooter) type game, and I’m trying to make the player (which is in the centre)'s cannon(s) face the cursor, using atan2() and the rotate() function. It does work as expected, but …

---

## [Windows PC, can I use the 'Watchdog' function?](https://discourse.processing.org/t/windows-pc-can-i-use-the-watchdog-function/42580)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 7\
**Last updated:** [August 13, 2023, 12:21am UTC](https://discourse.processing.org/t/windows-pc-can-i-use-the-watchdog-function/42580 "2023-08-13T00:21:43Z")

</div>

Windows PC, can I use the ‘Watchdog’ function? hello. Nice to meet you. I want to do a ‘Watchdog’ function in ‘JAVA, Processing’. \[Watchdog means : \] An electronic timer used to detect and recover from computer malfu…

---

## [Exported Application Issues](https://discourse.processing.org/t/exported-application-issues/42209)

<div class="topic-metadata">

**Author:** [@Craig](https://discourse.processing.org/u/Craig)\
**Replies:** 5\
**Last updated:** [August 9, 2023, 2:26pm UTC](https://discourse.processing.org/t/exported-application-issues/42209 "2023-08-09T14:26:27Z")

</div>

I have written a reasonably large Processing program that acts kind of like a Photo Booth with around 50 real-time effect that save out as an image file. It works well in the Processing environment and almost well as a s…

---

## [PShape Intersections](https://discourse.processing.org/t/pshape-intersections/32616)

<div class="topic-metadata">

**Author:** [@TomD](https://discourse.processing.org/u/TomD)\
**Replies:** 22\
**Last updated:** [August 8, 2023, 10:19pm UTC](https://discourse.processing.org/t/pshape-intersections/32616 "2023-08-08T22:19:39Z")

</div>

Hi there :wave: I’m using processing to generate SVG files for pen plotting. I have a PShape object which is a custom geometry, I would like to use that geometry as a mask/intersection or a boolean check to then draw a…

---

## [Dropdown list generated with names of tabs in a xls file, and access the data of the tab](https://discourse.processing.org/t/dropdown-list-generated-with-names-of-tabs-in-a-xls-file-and-access-the-data-of-the-tab/42571)

<div class="topic-metadata">

**Author:** [@lupitavictoria](https://discourse.processing.org/u/lupitavictoria)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 8:39am UTC](https://discourse.processing.org/t/dropdown-list-generated-with-names-of-tabs-in-a-xls-file-and-access-the-data-of-the-tab/42571 "2023-08-08T08:39:08Z")

</div>

How to create Dropdown list generated whit names of tabs in a xls file saved in the /data folder , and when I select a name in the dropdown list access the data inside de tab

---

## [How do I compile a Processing file to a JAR file?](https://discourse.processing.org/t/how-do-i-compile-a-processing-file-to-a-jar-file/42427)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 17\
**Last updated:** [August 7, 2023, 10:19am UTC](https://discourse.processing.org/t/how-do-i-compile-a-processing-file-to-a-jar-file/42427 "2023-08-07T10:19:20Z")

</div>

Lets just say i have this code: void setup() { size(960,540); background(255); fill(0); text("this works",width/2,height/2); } How can i make this code into a standalone jar file, that can be executed to just work. (i…

---

## [Transparent stroke issue](https://discourse.processing.org/t/transparent-stroke-issue/42566)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 1\
**Last updated:** [August 6, 2023, 8:25pm UTC](https://discourse.processing.org/t/transparent-stroke-issue/42566 "2023-08-06T20:25:01Z")

</div>

My code doesnt fill the top moving circle with the full #0000FF even after a long time, and the bottom one looks like it, but it isnt filling it with #0000FF! Why is this like this? void setup() { size(500,500); ba…

---

## [Arc function is unpredictable!](https://discourse.processing.org/t/arc-function-is-unpredictable/42559)

<div class="topic-metadata">

**Author:** [@jeykech](https://discourse.processing.org/u/jeykech)\
**Replies:** 6\
**Last updated:** [August 6, 2023, 6:07pm UTC](https://discourse.processing.org/t/arc-function-is-unpredictable/42559 "2023-08-06T18:07:31Z")

</div>

hello all, I am writing a code with a bunch of circles and lines intersecting and I would like to draw the arcs based on the points of intersection. I isolated some parts of the code to illustrate my problem. (this is …

---

## [Creating a custom Minecraft launcher?](https://discourse.processing.org/t/creating-a-custom-minecraft-launcher/42524)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 1\
**Last updated:** [August 5, 2023, 7:42pm UTC](https://discourse.processing.org/t/creating-a-custom-minecraft-launcher/42524 "2023-08-05T19:42:27Z")

</div>

Is it possible to create a custom minecraft launcher, not just launching the game, mabye changing the max allocated ram?

---

## [Color settings for Hamoid Video Export library (FFMPEG)](https://discourse.processing.org/t/color-settings-for-hamoid-video-export-library-ffmpeg/22320)

<div class="topic-metadata">

**Author:** [@snaders](https://discourse.processing.org/u/snaders)\
**Replies:** 14\
**Last updated:** [August 5, 2023, 5:36pm UTC](https://discourse.processing.org/t/color-settings-for-hamoid-video-export-library-ffmpeg/22320 "2023-08-05T17:36:09Z")

</div>

Hello all, I’m using the Hamoid Video Export library. It uses FFMPEG to export a video directly from Processing. I now have the problem that the colours don’t match up. It understand this has probably more to do with FF…

---

## [The purpose of the size parameter in createFont()](https://discourse.processing.org/t/the-purpose-of-the-size-parameter-in-createfont/42556)

<div class="topic-metadata">

**Author:** [@sterretje](https://discourse.processing.org/u/sterretje)\
**Replies:** 3\
**Last updated:** [August 5, 2023, 2:57pm UTC](https://discourse.processing.org/t/the-purpose-of-the-size-parameter-in-createfont/42556 "2023-08-05T14:57:17Z")

</div>

Good day I’m tying to figure out what the purpose is of the size parameter in the createFont() function? Is this just the default size that is used when drawing a text? Or is there more to it? Asking because I also can…

---

## [Very basic question on a line and a point](https://discourse.processing.org/t/very-basic-question-on-a-line-and-a-point/30123)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 5\
**Last updated:** [August 5, 2023, 11:54am UTC](https://discourse.processing.org/t/very-basic-question-on-a-line-and-a-point/30123 "2023-08-05T11:54:30Z")

</div>

Hi I am looking at https://processing.org/discourse/beta/num\_1276644884.html. Shame on me, but I miss to understand the geometry (and/or algebra) which justifies the line of code float mX = (-x1+x)\*ca + (-y1+y)\*sa;. …

---

## [Installing Processing on Ubuntu](https://discourse.processing.org/t/installing-processing-on-ubuntu/39112)

<div class="topic-metadata">

**Author:** [@chrissatch](https://discourse.processing.org/u/chrissatch)\
**Replies:** 8\
**Last updated:** [August 5, 2023, 1:35am UTC](https://discourse.processing.org/t/installing-processing-on-ubuntu/39112 "2023-08-05T01:35:40Z")

</div>

I downloaded Processing for Linux and the one for Mac but both came up with error messages when I open the program icon processing #!/bin/sh # This script runs Processing, using the JRE in the Processing # installation…

---

## [Debugging my simple shader test](https://discourse.processing.org/t/debugging-my-simple-shader-test/42545)

<div class="topic-metadata">

**Author:** [@FurryNightShade](https://discourse.processing.org/u/FurryNightShade)\
**Replies:** 2\
**Last updated:** [August 3, 2023, 8:16pm UTC](https://discourse.processing.org/t/debugging-my-simple-shader-test/42545 "2023-08-03T20:16:45Z")

</div>

I’m trying my hardest to understand shaders. I know how they work theoretically, the coding seems to be difficult. While trying to write a shader I stumbled onto this problem… Processing: PImage img; PShader shader; …

---

## [Why does size() create different window sizes depending on whether P3D is used?](https://discourse.processing.org/t/why-does-size-create-different-window-sizes-depending-on-whether-p3d-is-used/42537)

<div class="topic-metadata">

**Author:** [@jtbr](https://discourse.processing.org/u/jtbr)\
**Replies:** 6\
**Last updated:** [August 3, 2023, 10:36am UTC](https://discourse.processing.org/t/why-does-size-create-different-window-sizes-depending-on-whether-p3d-is-used/42537 "2023-08-03T10:36:45Z")

</div>

I just discovered that the size() function creates different window sizes depending on whether P3D is selected. When I called size(1024,600,P3D), the window size is about quarter of that when using size(1024,600) (no P3D…

---

## [DIY Wind Weather Station and Remote Monitor via MQTT](https://discourse.processing.org/t/diy-wind-weather-station-and-remote-monitor-via-mqtt/29596)

<div class="topic-metadata">

**Author:** [@Makerhe](https://discourse.processing.org/u/Makerhe)\
**Replies:** 3\
**Last updated:** [August 3, 2023, 8:53am UTC](https://discourse.processing.org/t/diy-wind-weather-station-and-remote-monitor-via-mqtt/29596 "2023-08-03T08:53:07Z")

</div>

This is a DIY Wind Weather Station, It was Remote Monitor via MQTT, it is powered by solar energy, and gathering real-time data such as humidity, temperature, PM2.5, wind speed, etc. If you are interested, you can se…

---

## [MQTT with login/pass/port](https://discourse.processing.org/t/mqtt-with-login-pass-port/35665)

<div class="topic-metadata">

**Author:** [@Seturian](https://discourse.processing.org/u/Seturian)\
**Replies:** 2\
**Last updated:** [August 3, 2023, 8:37am UTC](https://discourse.processing.org/t/mqtt-with-login-pass-port/35665 "2023-08-03T08:37:30Z")

</div>

Greetings. For two days I tried to solve the problem on my own, but there are no results. I would like to use in my project MQTT (from HiveMQ) which uses hostname/port/login/password to connect. Currently, among the av…

---

## [Blank lines at top of console?](https://discourse.processing.org/t/blank-lines-at-top-of-console/39487)

<div class="topic-metadata">

**Author:** [@spambot9000](https://discourse.processing.org/u/spambot9000)\
**Replies:** 1\
**Last updated:** [August 2, 2023, 1:04pm UTC](https://discourse.processing.org/t/blank-lines-at-top-of-console/39487 "2023-08-02T13:04:35Z")

</div>

Does anyone know: Why my Processing IDE console (macOS) always has ten blank lines at the top before displaying any print output? How to remove this blank space? Just wondering, sb9k

---

## [Overlay blendMode in Processing](https://discourse.processing.org/t/overlay-blendmode-in-processing/42467)

<div class="topic-metadata">

**Author:** [@stixan](https://discourse.processing.org/u/stixan)\
**Replies:** 7\
**Last updated:** [August 1, 2023, 2:35pm UTC](https://discourse.processing.org/t/overlay-blendmode-in-processing/42467 "2023-08-01T14:35:02Z")

</div>

I need to use OVERLAY in blendMode() for a project I’m working on. From reading the documentation I know that OVERLAY (as well as a number of other blend modes) is no longer supported. Yet, overlay is the blend mode I n…

---

## [Base class with protected method (I do not know a good topic title for this, sorry)](https://discourse.processing.org/t/base-class-with-protected-method-i-do-not-know-a-good-topic-title-for-this-sorry/42523)

<div class="topic-metadata">

**Author:** [@sterretje](https://discourse.processing.org/u/sterretje)\
**Replies:** 9\
**Last updated:** [August 1, 2023, 1:07pm UTC](https://discourse.processing.org/t/base-class-with-protected-method-i-do-not-know-a-good-topic-title-for-this-sorry/42523 "2023-08-01T13:07:42Z")

</div>

Good day, I have an abstract class from which I derive other classes. abstract class GuiControl { GuiControl(int x, int y, int w, int h, String text) { ... ... } ... ... /\* Test if mouse is over c…

---

## [Play two movies with the microphone as trigger instead of mousepressed and released](https://discourse.processing.org/t/play-two-movies-with-the-microphone-as-trigger-instead-of-mousepressed-and-released/42521)

<div class="topic-metadata">

**Author:** [@blindschleiche](https://discourse.processing.org/u/blindschleiche)\
**Replies:** 6\
**Last updated:** [August 1, 2023, 11:23am UTC](https://discourse.processing.org/t/play-two-movies-with-the-microphone-as-trigger-instead-of-mousepressed-and-released/42521 "2023-08-01T11:23:22Z")

</div>

i would like to play two movies - the first one when it is quiet (this one as loop) and the second one when the microphone sends a noise (the second video should play once through). when another noise is comming, the sec…

---

## [Saving (parts of) code on each 'render'](https://discourse.processing.org/t/saving-parts-of-code-on-each-render/42491)

<div class="topic-metadata">

**Author:** [@Namrad](https://discourse.processing.org/u/Namrad)\
**Replies:** 8\
**Last updated:** [July 31, 2023, 4:31pm UTC](https://discourse.processing.org/t/saving-parts-of-code-on-each-render/42491 "2023-07-31T16:31:31Z")

</div>

Hello, I’m currently using Processing as a tool to design a pattern for a product. It’s a relatively small and simple sketch: I’m loading in a PShape and am applying transformations on iterations of this PShape, dependi…

---

## [Inspecting the max value of an element set by colormode (e.g. HSB Alpha) - possible?](https://discourse.processing.org/t/inspecting-the-max-value-of-an-element-set-by-colormode-e-g-hsb-alpha-possible/42512)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 12\
**Last updated:** [July 31, 2023, 1:04pm UTC](https://discourse.processing.org/t/inspecting-the-max-value-of-an-element-set-by-colormode-e-g-hsb-alpha-possible/42512 "2023-07-31T13:04:01Z")

</div>

Using colorMode() we can set the max for the range of the different values used to describe colours. Is there a way to recover this information in code via an expression? (I have searched for it, but haven’t found. …

---

## [Drawing a PGraphics while saving a PDF crashes](https://discourse.processing.org/t/drawing-a-pgraphics-while-saving-a-pdf-crashes/42522)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 0\
**Last updated:** [July 31, 2023, 5:00am UTC](https://discourse.processing.org/t/drawing-a-pgraphics-while-saving-a-pdf-crashes/42522 "2023-07-31T05:00:43Z")

</div>

This might be more of a curiosity than a “bug” I want to solve. My main motivation was to draw shapes and have them clipped by the PGraphics canvas before applying them elsewhere. When drawing the Pgraphics with image() …

---

## [SVG Export problem](https://discourse.processing.org/t/svg-export-problem/42515)

<div class="topic-metadata">

**Author:** [@appas](https://discourse.processing.org/u/appas)\
**Replies:** 5\
**Last updated:** [July 31, 2023, 4:56am UTC](https://discourse.processing.org/t/svg-export-problem/42515 "2023-07-31T04:56:07Z")

</div>

Hello, I am trying to export an SVG of an animation frame according to the instructions in the Reference, section Single Frame from an Animation (With Screen Display) , but when I press the mouse button to export, I get…

---

## [Minim get computer audio?](https://discourse.processing.org/t/minim-get-computer-audio/42520)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 4\
**Last updated:** [July 30, 2023, 10:47pm UTC](https://discourse.processing.org/t/minim-get-computer-audio/42520 "2023-07-30T22:47:50Z")

</div>

I wonder if its possible to get what the computer is playing, for example youtube from google chrome. I have this code that gets the microphone input. I dont know if it works 100% correctly but it kinda works, if someon…

---

## [Significant delay with serial communication to Arduino](https://discourse.processing.org/t/significant-delay-with-serial-communication-to-arduino/42508)

<div class="topic-metadata">

**Author:** [@somebody](https://discourse.processing.org/u/somebody)\
**Replies:** 3\
**Last updated:** [July 28, 2023, 1:53am UTC](https://discourse.processing.org/t/significant-delay-with-serial-communication-to-arduino/42508 "2023-07-28T01:53:50Z")

</div>

Hello, I am currently attempting to make a simple bluetooth car controlled by an Arduino. I am attempting to control the car from my computer through the use of a key listener. When I run my code, the key listener works …

---

## [2D lineart - culling hidden lines for SVG output / Plotting](https://discourse.processing.org/t/2d-lineart-culling-hidden-lines-for-svg-output-plotting/30031)

<div class="topic-metadata">

**Author:** [@mrWoodo](https://discourse.processing.org/u/mrWoodo)\
**Replies:** 13\
**Last updated:** [July 30, 2023, 8:23pm UTC](https://discourse.processing.org/t/2d-lineart-culling-hidden-lines-for-svg-output-plotting/30031 "2023-07-30T20:23:12Z")

</div>

Hi All, I would like generatively create something like this, in a 2D lineart/doodle sketch style. Using PShape seems like the way to go, as a “Building” class with variants for Window, Roof, Door, etc (I’m a beginner…

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

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