# Latest

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

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

**Page:** 64

---

## [Issue with every Contributed Libraries! Other ERROR and (Target VM failed to initialize)](https://discourse.processing.org/t/issue-with-every-contributed-libraries-other-error-and-target-vm-failed-to-initialize/42610)

<div class="topic-metadata">

**Author:** [@teemee](https://discourse.processing.org/u/teemee)\
**Replies:** 6\
**Last updated:** [August 18, 2023, 8:52am UTC](https://discourse.processing.org/t/issue-with-every-contributed-libraries-other-error-and-target-vm-failed-to-initialize/42610 "2023-08-18T08:52:04Z")

</div>

Today I have discovered that my Processing not working so well with my Windows 10 on every sound libraries and I still can’t get gif animation to play. At first, I thought I only have an issue to be solved with …(Targe…

---

## [Processing 4.3 Display GIF Image?](https://discourse.processing.org/t/processing-4-3-display-gif-image/42581)

<div class="topic-metadata">

**Author:** [@teemee](https://discourse.processing.org/u/teemee)\
**Replies:** 9\
**Last updated:** [August 18, 2023, 7:02am UTC](https://discourse.processing.org/t/processing-4-3-display-gif-image/42581 "2023-08-18T07:02:34Z")

</div>

I’d like to display a simple gif image. The PDE 3.x.x works with the library “gifAnimation”, as I recalled I have done it. But, PDE 4 does not work with the lib. Maybe, I just dont know how to make it work. So is there …

---

## [Webview in Processing](https://discourse.processing.org/t/webview-in-processing/42599)

<div class="topic-metadata">

**Author:** [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)\
**Replies:** 5\
**Last updated:** [August 17, 2023, 5:05pm UTC](https://discourse.processing.org/t/webview-in-processing/42599 "2023-08-17T17:05:03Z")

</div>

Is there a way to get a sketch to show the content of a webpage and not just the raw html code? I heard of a way to import javafx webview into the editor, but it requires recompiling the editor! Any help & advice will …

---

## [Program can press key](https://discourse.processing.org/t/program-can-press-key/42604)

<div class="topic-metadata">

**Author:** [@ctremblay](https://discourse.processing.org/u/ctremblay)\
**Replies:** 2\
**Last updated:** [August 17, 2023, 2:39pm UTC](https://discourse.processing.org/t/program-can-press-key/42604 "2023-08-17T14:39:16Z")

</div>

I’m playing a game and had the idea it be fun to make an ai play it, but how do I get it where the ai i create can make the computer think it pressed a key. I dont wanna place the ai in the game or remake the game. I wan…

---

## [\[SOLVED\] I get a NullPointerException when switching from the default rendering technique to JavaFX 2D](https://discourse.processing.org/t/solved-i-get-a-nullpointerexception-when-switching-from-the-default-rendering-technique-to-javafx-2d/42601)

<div class="topic-metadata">

**Author:** [@MrImskiy](https://discourse.processing.org/u/MrImskiy)\
**Replies:** 8\
**Last updated:** [August 17, 2023, 12:12pm UTC](https://discourse.processing.org/t/solved-i-get-a-nullpointerexception-when-switching-from-the-default-rendering-technique-to-javafx-2d/42601 "2023-08-17T12:12:52Z")

</div>

Hi everyone, I have a huge code of about 4000 lines, which works fine, except for the rendering speed. For this reason, I decided to switch from the default rendering technique to JavaFX 2D. I downloaded the library and…

---

## [JavaFX WebView Preview](https://discourse.processing.org/t/javafx-webview-preview/41343)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 6\
**Last updated:** [August 17, 2023, 7:13am UTC](https://discourse.processing.org/t/javafx-webview-preview/41343 "2023-08-17T07:13:01Z")

</div>

The screenshot below is a preview of a JavaFX WebView. It was created in Processing4 after adding the javafx.webview module to line 1086 of JavaBuild.java and recompiling the editor. The source code and output are sho…

---

## [Can the program be automatically updated like 'OTA'?](https://discourse.processing.org/t/can-the-program-be-automatically-updated-like-ota/42219)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 5\
**Last updated:** [August 16, 2023, 10:05pm UTC](https://discourse.processing.org/t/can-the-program-be-automatically-updated-like-ota/42219 "2023-08-16T22:05:28Z")

</div>

Can the program be automatically updated like ‘OTA’? OTA(Over-the-air programming) Does anyone have a good method or experience? Like the picture, is there any way to do it? I wonder.

---

## [I dont know why it keep saying NullPointerException](https://discourse.processing.org/t/i-dont-know-why-it-keep-saying-nullpointerexception/30134)

<div class="topic-metadata">

**Author:** [@zang](https://discourse.processing.org/u/zang)\
**Replies:** 5\
**Last updated:** [May 19, 2021, 11:52am UTC](https://discourse.processing.org/t/i-dont-know-why-it-keep-saying-nullpointerexception/30134 "2021-05-19T11:52:00Z")

</div>

PVector A, B, C, D; float s = 100; int binary = 0; Boom c; void setup() { size(640, 640); background(255); drawrect(); c = new Boom(A,B,C,D); } void draw() { c.testmousepos(); c. getEpos () ; if (m…

---

## [pixelDensity(2) in P2D/P3D in IntelliJ doesn't work](https://discourse.processing.org/t/pixeldensity-2-in-p2d-p3d-in-intellij-doesnt-work/42560)

<div class="topic-metadata">

**Author:** [@null0](https://discourse.processing.org/u/null0)\
**Replies:** 0\
**Last updated:** [August 5, 2023, 7:45pm UTC](https://discourse.processing.org/t/pixeldensity-2-in-p2d-p3d-in-intellij-doesnt-work/42560 "2023-08-05T19:45:33Z")

</div>

Like I’ve posted on https://github.com/processing/processing4/issues/763 I’m having troubles launching a processing sketch outside of the IDE with a high DPI. I’ve tried looking into the processing app’s code to see wha…

---

## [Console buffer length](https://discourse.processing.org/t/console-buffer-length/42308)

<div class="topic-metadata">

**Author:** [@hareti](https://discourse.processing.org/u/hareti)\
**Replies:** 3\
**Last updated:** [August 16, 2023, 11:43am UTC](https://discourse.processing.org/t/console-buffer-length/42308 "2023-08-16T11:43:11Z")

</div>

Hi, how do you increase the length of the console buffer ? Mine only stores about 500 lines and then they are lost. Can’t see anything in settings.

---

## [Script to generate your own names for sketches](https://discourse.processing.org/t/script-to-generate-your-own-names-for-sketches/42546)

<div class="topic-metadata">

**Author:** [@trikaphundo](https://discourse.processing.org/u/trikaphundo)\
**Replies:** 0\
**Last updated:** [August 3, 2023, 10:38pm UTC](https://discourse.processing.org/t/script-to-generate-your-own-names-for-sketches/42546 "2023-08-03T22:38:44Z")

</div>

Hello, I am unsure whether this should be posted here or in the Processing category, but here we go. Starting with Processing 4, the names for new sketches can be made to follow a custom scheme. In that link it is expl…

---

## [Issues when rendering transparent images in 3D](https://discourse.processing.org/t/issues-when-rendering-transparent-images-in-3d/42593)

<div class="topic-metadata">

**Author:** [@Mattyjak](https://discourse.processing.org/u/Mattyjak)\
**Replies:** 1\
**Last updated:** [August 15, 2023, 3:25pm UTC](https://discourse.processing.org/t/issues-when-rendering-transparent-images-in-3d/42593 "2023-08-15T15:25:45Z")

</div>

Hello all! I’m having some issues with my program. I’m trying to render multiple 3d objects (“trees”) in this situation, but even if they’re transparent sometimes they won’t be. There’s a transparent border that displays…

---

## [PGraphics in Eclipse not displaying shapes](https://discourse.processing.org/t/pgraphics-in-eclipse-not-displaying-shapes/41894)

<div class="topic-metadata">

**Author:** [@Mattyjak](https://discourse.processing.org/u/Mattyjak)\
**Replies:** 4\
**Last updated:** [August 15, 2023, 5:00am UTC](https://discourse.processing.org/t/pgraphics-in-eclipse-not-displaying-shapes/41894 "2023-08-15T05:00:37Z")

</div>

I’m working on a project that’s using a PGraphics buffer to display to the screen. Whenever I attempt to draw a shape, PGraphics.ellipse(5, 5, 25 ,25);, or some other shape call, it won’t display at all. I’ve tried to …

---

## [Is it possible to use the Java feature "record class" in Processing?](https://discourse.processing.org/t/is-it-possible-to-use-the-java-feature-record-class-in-processing/42591)

<div class="topic-metadata">

**Author:** [@nobkz](https://discourse.processing.org/u/nobkz)\
**Replies:** 3\
**Last updated:** [August 15, 2023, 4:27am UTC](https://discourse.processing.org/t/is-it-possible-to-use-the-java-feature-record-class-in-processing/42591 "2023-08-15T04:27:20Z")

</div>

I want to record class in Processing. (https://docs.oracle.com/en/java/javase/17/language/records.html#GUID-6699E26F-4A9B-4393-A08B-1E47D4B2D263) for example record Foo(double length, double width) { } But Processing…

---

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

---

## [Sketch tool: linking js files from another server](https://discourse.processing.org/t/sketch-tool-linking-js-files-from-another-server/42582)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 10\
**Last updated:** [August 13, 2023, 12:42pm UTC](https://discourse.processing.org/t/sketch-tool-linking-js-files-from-another-server/42582 "2023-08-13T12:42:44Z")

</div>

This question is about using the p5.js Editor tool. In the index.html file there are statements in the head section to link to p5.js e.g. \<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.7.0/p5.js"\>\</script\> …

---

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

---

## [Any Ideas: Obstruct Flow Fields By An Image](https://discourse.processing.org/t/any-ideas-obstruct-flow-fields-by-an-image/42587)

<div class="topic-metadata">

**Author:** [@Jeton\_K](https://discourse.processing.org/u/Jeton_K)\
**Replies:** 0\
**Last updated:** [August 13, 2023, 9:52am UTC](https://discourse.processing.org/t/any-ideas-obstruct-flow-fields-by-an-image/42587 "2023-08-13T09:52:43Z")

</div>

Hey all! I was wondering if anyones creative genius could help. I’m designing an app and I have a loading screen, where I want flow fields to generate to represent the data being pulled together and give the user somet…

---

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

---

## [PThemeTool - Theme Edit Tool](https://discourse.processing.org/t/pthemetool-theme-edit-tool/42567)

<div class="topic-metadata">

**Author:** [@mnse](https://discourse.processing.org/u/mnse)\
**Replies:** 1\
**Last updated:** [August 11, 2023, 3:56pm UTC](https://discourse.processing.org/t/pthemetool-theme-edit-tool/42567 "2023-08-11T15:56:42Z")

</div>

Hi folks, Here’s a new tool for PDE to edit themes. The idea came about because I had some free time over the past two weekends, and I was really frustrated with having to manually edit the theme.txt file for Processin…

---

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

---

## [I can't log in to myP5js](https://discourse.processing.org/t/i-cant-log-in-to-myp5js/42536)

<div class="topic-metadata">

**Author:** [@sotelo.newhall](https://discourse.processing.org/u/sotelo.newhall)\
**Replies:** 5\
**Last updated:** [August 9, 2023, 1:07am UTC](https://discourse.processing.org/t/i-cant-log-in-to-myp5js/42536 "2023-08-09T01:07:49Z")

</div>

I’m trying to reset my password to log in to my p5js account, but I never get the password reset email. Is there anything wrong with the site?

---

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

---

## [How to run Processing on a k-12 Locked down windows laptop?](https://discourse.processing.org/t/how-to-run-processing-on-a-k-12-locked-down-windows-laptop/42569)

<div class="topic-metadata">

**Author:** [@mooner](https://discourse.processing.org/u/mooner)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 5:51pm UTC](https://discourse.processing.org/t/how-to-run-processing-on-a-k-12-locked-down-windows-laptop/42569 "2023-08-08T17:51:03Z")

</div>

Hello! I am looking for advice or some suggestions from anyone that has had the same hurdle. We are a k-12 school district and we issue Windows 10 laptops to students. We lockdown the laptops to prevent students from …

---

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

---

## [Raspberry Pi & MQTT & Python & Processing & Arduino](https://discourse.processing.org/t/raspberry-pi-mqtt-python-processing-arduino/11197)

<div class="topic-metadata">

**Author:** [@kll](https://discourse.processing.org/u/kll)\
**Replies:** 1\
**Last updated:** [August 7, 2023, 11:52am UTC](https://discourse.processing.org/t/raspberry-pi-mqtt-python-processing-arduino/11197 "2023-08-07T11:52:17Z")

</div>

i retested my python web server myblog and was thinking that the web server part is such an overhead what makes it unusable for a beginner who wants just start about MQTT but also use Processing instead of the web serv…

---

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

---

## [Proximal Policy Optimization!](https://discourse.processing.org/t/proximal-policy-optimization/42565)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 0\
**Last updated:** [August 6, 2023, 7:17pm UTC](https://discourse.processing.org/t/proximal-policy-optimization/42565 "2023-08-06T19:17:46Z")

</div>

Hey guys! So I decided that I wasn’t gonna take a break after all (lol), because I wanted to challenge myself and code an AI for Pong with PPO in only one day, learning as I go. Since I’d never exposed myself to such a b…

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

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