# Latest

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

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

**Page:** 65

---

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

---

## [Bounce balls inside an ellipse](https://discourse.processing.org/t/bounce-balls-inside-an-ellipse/42557)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 0\
**Last updated:** [August 5, 2023, 1:45pm UTC](https://discourse.processing.org/t/bounce-balls-inside-an-ellipse/42557 "2023-08-05T13:45:29Z")

</div>

I saw a post somewhere on this forum about objects bouncing inside an ellipse so I decided to continue my exploration of ellipses by having a go. Assuming that the objects inside the ellipse travel in a straight line I …

---

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

---

## [Ex 2.7 tossing a ball - The Nature of code](https://discourse.processing.org/t/ex-2-7-tossing-a-ball-the-nature-of-code/42551)

<div class="topic-metadata">

**Author:** [@Delain](https://discourse.processing.org/u/Delain)\
**Replies:** 1\
**Last updated:** [August 5, 2023, 10:35am UTC](https://discourse.processing.org/t/ex-2-7-tossing-a-ball-the-nature-of-code/42551 "2023-08-05T10:35:10Z")

</div>

I am following along with The nature of Code of Daniel Shiffman. And I am stuck on exercises 2.7 of tossing a circle with mouse interaction. I think in circles and I hope some body can shine a light on it. I looked in …

---

## [loadShape freezes Raspberry Pi](https://discourse.processing.org/t/loadshape-freezes-raspberry-pi/42531)

<div class="topic-metadata">

**Author:** [@jtbr](https://discourse.processing.org/u/jtbr)\
**Replies:** 2\
**Last updated:** [August 3, 2023, 4:06am UTC](https://discourse.processing.org/t/loadshape-freezes-raspberry-pi/42531 "2023-08-03T04:06:27Z")

</div>

I just found out calling loadShape function caused my raspberry pi to freeze. Sometimes, it threw an error on Java heap memory space. The obj file is in the same directory as the pde file. I had no issue with Windows. I…

---

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

---

## [SF Bay Area Processing Community Hangout - August 11](https://discourse.processing.org/t/sf-bay-area-processing-community-hangout-august-11/42550)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 0\
**Last updated:** [August 4, 2023, 2:33pm UTC](https://discourse.processing.org/t/sf-bay-area-processing-community-hangout-august-11/42550 "2023-08-04T14:33:21Z")

</div>

If you are in the Bay Area, I invite you to join us on August 11 afternoon in San Francisco to meet and chat with Processing Foundation staff and board members along with me, the interim executive director. We will gathe…

---

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

---

## [Forever trails on background with low alpha](https://discourse.processing.org/t/forever-trails-on-background-with-low-alpha/42541)

<div class="topic-metadata">

**Author:** [@alexalex25](https://discourse.processing.org/u/alexalex25)\
**Replies:** 3\
**Last updated:** [August 3, 2023, 3:06pm UTC](https://discourse.processing.org/t/forever-trails-on-background-with-low-alpha/42541 "2023-08-03T15:06:12Z")

</div>

Hello, here is my sketch : p5.js Web Editor Why do i get these dark grey trails ? I’m drawing a new background with alpha set to 7 at each frame, so i guess at some point it should get full black. But it isn’t… I have…

---

## [Advantage Actor Critic!](https://discourse.processing.org/t/advantage-actor-critic/42544)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 0\
**Last updated:** [August 3, 2023, 2:43pm UTC](https://discourse.processing.org/t/advantage-actor-critic/42544 "2023-08-03T14:43:16Z")

</div>

Hey guys! After about a week of researching it, I finally got the A2C (Advantage Actor Critic) algorithm to work on Snake! My previous post on neural networks featured an AI learning how to play Snake with the use of a D…

---

## [noClip() crashes my Android app](https://discourse.processing.org/t/noclip-crashes-my-android-app/42543)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 0\
**Last updated:** [August 3, 2023, 1:39pm UTC](https://discourse.processing.org/t/noclip-crashes-my-android-app/42543 "2023-08-03T13:39:10Z")

</div>

When the exported app is started on a Galaxy S8+ (Android 10) via “Run on Device”, the noClip() command crashes the program. When I start the app in an emulator, it works fine (Android 9). My app renders plots in a recta…

---

## [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 and P5 Example Code](https://discourse.processing.org/t/mqtt-and-p5-example-code/32503)

<div class="topic-metadata">

**Author:** [@Jhdgkss](https://discourse.processing.org/u/Jhdgkss)\
**Replies:** 5\
**Last updated:** [August 3, 2023, 8:40am UTC](https://discourse.processing.org/t/mqtt-and-p5-example-code/32503 "2023-08-03T08:40:37Z")

</div>

Hi, all is it possible to receive MQTT data with P5.js? I found this code but it does not seem to connect with my broker. var mqtt; var reconnectTimeout = 2000; var host = "127.0.0.1"; var port = 1883; function setu…

---

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

---

## [\[p5 WEB\] The website IP address is exposed. help me](https://discourse.processing.org/t/p5-web-the-website-ip-address-is-exposed-help-me/42539)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [August 2, 2023, 6:22pm UTC](https://discourse.processing.org/t/p5-web-the-website-ip-address-is-exposed-help-me/42539 "2023-08-02T18:22:13Z")

</div>

source code alert('Check your ID and password.'); A pop-up window operates. However, the website IP address is exposed. Is it possible to open a ‘pop-up’ window so that the IP address is not exposed?

---

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

---

## [\[p5 grafica library\] I would like to know how to change the graph scale fontsize](https://discourse.processing.org/t/p5-grafica-library-i-would-like-to-know-how-to-change-the-graph-scale-fontsize/42529)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 5:59am UTC](https://discourse.processing.org/t/p5-grafica-library-i-would-like-to-know-how-to-change-the-graph-scale-fontsize/42529 "2023-08-01T05:59:12Z")

</div>

\[p5 grafica library\] I would like to know how to change the graph scale fontsize. var plots1; function setup() { createCanvas(1920, 1200); var x,y,w,h,w2,h2; var points = \[\]; var s\_k = 0; for (var …

---

## [Electrocardiogram Monitor for Arduino UNO with OlimexEKG Shield](https://discourse.processing.org/t/electrocardiogram-monitor-for-arduino-uno-with-olimexekg-shield/42527)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 2\
**Last updated:** [July 31, 2023, 9:32pm UTC](https://discourse.processing.org/t/electrocardiogram-monitor-for-arduino-uno-with-olimexekg-shield/42527 "2023-07-31T21:32:13Z")

</div>

Demonstrates using a Processing app with Swing components to display an electrocardiogram generated by an Arduino UNO with an Olimex EKG/EMG Shield: https://github.com/vsquared/ECG\_UNO\_Processing4 Output:

---

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

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

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