# Latest

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

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

**Page:** 40

---

## [Wacom Intuos drawing + pressure](https://discourse.processing.org/t/wacom-intuos-drawing-pressure/44590)

<div class="topic-metadata">

**Author:** [@lucnijs](https://discourse.processing.org/u/lucnijs)\
**Replies:** 7\
**Last updated:** [June 14, 2024, 10:36am UTC](https://discourse.processing.org/t/wacom-intuos-drawing-pressure/44590 "2024-06-14T10:36:47Z")

</div>

Hi everybody, I’m totally new to processing. I would like to use a wacom tablet, to have people draw to music. It is important that, while drawing, strake changes according to pressure. I have tried chatgpt to get som…

---

## [OnReceive event for Ethernet connection?](https://discourse.processing.org/t/onreceive-event-for-ethernet-connection/44591)

<div class="topic-metadata">

**Author:** [@hakim](https://discourse.processing.org/u/hakim)\
**Replies:** 2\
**Last updated:** [June 13, 2024, 10:47pm UTC](https://discourse.processing.org/t/onreceive-event-for-ethernet-connection/44591 "2024-06-13T22:47:44Z")

</div>

hi, hope you doing all well, when i was using serial port for my arduino project, there was a function that automatically trigerred upon receiving data via serial port ( serial event) , now i m using ethernet connection,…

---

## [Unable to Install DocumentListener On JTextArea\_py5](https://discourse.processing.org/t/unable-to-install-documentlistener-on-jtextarea-py5/44560)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 4\
**Last updated:** [June 13, 2024, 4:19pm UTC](https://discourse.processing.org/t/unable-to-install-documentlistener-on-jtextarea-py5/44560 "2024-06-13T16:19:05Z")

</div>

I’m unable to connect a DocumentListener to a JTextArea Swing component using the following source code (error message is below that). I should be able to see console print() output as text is entered into the textArea …

---

## [Art+code teacher camp 2024](https://discourse.processing.org/t/art-code-teacher-camp-2024/44544)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 1\
**Last updated:** [June 13, 2024, 1:26pm UTC](https://discourse.processing.org/t/art-code-teacher-camp-2024/44544 "2024-06-13T13:26:02Z")

</div>

I am excited to share that the Processing Foundation is launching a (mostly) virtual training program for art teachers on using free and open-source software such as p5.js and Processing to make art with code (Processing…

---

## [Hello, how to calculate a slider value](https://discourse.processing.org/t/hello-how-to-calculate-a-slider-value/44554)

<div class="topic-metadata">

**Author:** [@zlfp](https://discourse.processing.org/u/zlfp)\
**Replies:** 18\
**Last updated:** [June 12, 2024, 8:02pm UTC](https://discourse.processing.org/t/hello-how-to-calculate-a-slider-value/44554 "2024-06-12T20:02:40Z")

</div>

so, umm i have code class slide { PImage ball, line; int px, py, ipp, bpx; slide(PImage sb, PImage sl, int spx, int spy, int sipp) { ball = sb; line = sl; px = spx; py = spy; ipp = sipp; …

---

## [\[Java\] 'Network' library related - server issue](https://discourse.processing.org/t/java-network-library-related-server-issue/44579)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 3\
**Last updated:** [June 12, 2024, 8:08pm UTC](https://discourse.processing.org/t/java-network-library-related-server-issue/44579 "2024-06-12T20:08:58Z")

</div>

\[JAVA\] ‘Network’ library related - server issue hello. Reference link: available() / Libraries / Processing.org Client thisClient = myServer.available(); if (thisClient !=null) { // 1) T1 : Initial connection…

---

## [rotateZ() not working as expected](https://discourse.processing.org/t/rotatez-not-working-as-expected/843)

<div class="topic-metadata">

**Author:** [@CosminPerRam](https://discourse.processing.org/u/CosminPerRam)\
**Replies:** 12\
**Last updated:** [June 9, 2024, 4:18pm UTC](https://discourse.processing.org/t/rotatez-not-working-as-expected/843 "2024-06-09T16:18:52Z")

</div>

Hello everybody, i have some trouble rotating a 3D box in processing with data from a arduino with a BNO055 module (sensor module, gyro), and the thing is that if i run my window, the first ~5 seconds are perfect, after …

---

## [Why there is a error in importing the video library](https://discourse.processing.org/t/why-there-is-a-error-in-importing-the-video-library/38815)

<div class="topic-metadata">

**Author:** [@huxx](https://discourse.processing.org/u/huxx)\
**Replies:** 3\
**Last updated:** [June 12, 2024, 10:45am UTC](https://discourse.processing.org/t/why-there-is-a-error-in-importing-the-video-library/38815 "2024-06-12T10:45:19Z")

</div>

Processing 3.5.4 Python Video3 sketch\_220915d.pyde:1: RuntimeWarning: PyTableCode.call caught a Throwable that is not an Exception: java.lang.UnsatisfiedLinkError: C:\\Users\\17164\\Documents\\Processing\\libraries\\video…

---

## [Resume Sketch after Null Pointer Exception?](https://discourse.processing.org/t/resume-sketch-after-null-pointer-exception/44572)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 16\
**Last updated:** [June 12, 2024, 3:57am UTC](https://discourse.processing.org/t/resume-sketch-after-null-pointer-exception/44572 "2024-06-12T03:57:53Z")

</div>

Hi, I’ve got a sketch that is supposed to load a file using loadStrings. If for some reason that file is missing, then the sketch throws a null pointer exception and stops running. I want to handle the case of the file…

---

## [Problem playing multiple movie files in a sequence](https://discourse.processing.org/t/problem-playing-multiple-movie-files-in-a-sequence/43762)

<div class="topic-metadata">

**Author:** [@dswayne92](https://discourse.processing.org/u/dswayne92)\
**Replies:** 4\
**Last updated:** [June 11, 2024, 12:21pm UTC](https://discourse.processing.org/t/problem-playing-multiple-movie-files-in-a-sequence/43762 "2024-06-11T12:21:44Z")

</div>

Dear everyone, I’m working on a project where I have several video files I want to play back in a sequence, and have the sequence itself repeat indefinitely. Every other video clip, Processing writes to the serial port …

---

## [\[Android\] Can I get the current URL address of 'WEB APP'?](https://discourse.processing.org/t/android-can-i-get-the-current-url-address-of-web-app/44578)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [June 11, 2024, 8:14am UTC](https://discourse.processing.org/t/android-can-i-get-the-current-url-address-of-web-app/44578 "2024-06-11T08:14:57Z")

</div>

\[Android\] Can I get the current URL address of ‘WEB APP’? hello. WEB APP reference link: Android-java-code-utilities-widgets-for-Processing-for-Android/WebView at master · EmmanuelPil/Android-java-code-utilities-widget…

---

## [App architecture advice wanted. :) - \*\*improved question \*\*](https://discourse.processing.org/t/app-architecture-advice-wanted-improved-question/44573)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 0\
**Last updated:** [June 10, 2024, 10:49pm UTC](https://discourse.processing.org/t/app-architecture-advice-wanted-improved-question/44573 "2024-06-10T22:49:38Z")

</div>

Ok, I managed to build my view logic. Sorry, let me start over. I’m making a visualization of Brasil’s congress. There is the server, which querys the api, get and store data, process pictures and serve all of this. I…

---

## [Problem with OSC message from Processing to Max/MSP](https://discourse.processing.org/t/problem-with-osc-message-from-processing-to-max-msp/44214)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [April 2, 2024, 2:09pm UTC](https://discourse.processing.org/t/problem-with-osc-message-from-processing-to-max-msp/44214 "2024-04-02T14:09:54Z")

</div>

Good morning, I manage to send at the same time 9 integers from 0 to 127 from Pocessing to max/msp But when I start processing, my image streams in max/msp become inconsistent, with lag Is it possible to send less dat…

---

## [2D screen and 'world' position coordinates](https://discourse.processing.org/t/2d-screen-and-world-position-coordinates/44569)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 3\
**Last updated:** [June 10, 2024, 10:37pm UTC](https://discourse.processing.org/t/2d-screen-and-world-position-coordinates/44569 "2024-06-10T22:37:36Z")

</div>

I’m making a UI based on zooming and dragging (2d) . Basically I’m trying: function draw() { background(185, 175, 185); translate(width/2, height/2); scale(zoom); translate(dragPos.x , dragPos.y);…

---

## [The function "red(int)" does not exist?](https://discourse.processing.org/t/the-function-red-int-does-not-exist/44567)

<div class="topic-metadata">

**Author:** [@flice](https://discourse.processing.org/u/flice)\
**Replies:** 5\
**Last updated:** [June 10, 2024, 6:47am UTC](https://discourse.processing.org/t/the-function-red-int-does-not-exist/44567 "2024-06-10T06:47:52Z")

</div>

hello! i have the code below to keep sum the rbg values every 16 pixels. However, i’m getting an error saying that red(int), green(int), and blue(int) does not exist?? the argument i passed into the function is a color,…

---

## [G4P Key Event Fires Twice](https://discourse.processing.org/t/g4p-key-event-fires-twice/44571)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 4\
**Last updated:** [June 10, 2024, 5:24pm UTC](https://discourse.processing.org/t/g4p-key-event-fires-twice/44571 "2024-06-10T17:24:06Z")

</div>

Some reason when I use a key event on a second window, the event is fired twice. Issue is there for image buttons and normal buttons. Have also tried the new update to the library but no joy. Here’s repeatable code: im…

---

## [How to disable text area in G4P](https://discourse.processing.org/t/how-to-disable-text-area-in-g4p/44543)

<div class="topic-metadata">

**Author:** [@hakim](https://discourse.processing.org/u/hakim)\
**Replies:** 5\
**Last updated:** [June 10, 2024, 1:38pm UTC](https://discourse.processing.org/t/how-to-disable-text-area-in-g4p/44543 "2024-06-10T13:38:39Z")

</div>

Hi, hope you doing all well, is there a way to disable text area in G4P ? i mean i want to add a help interface with small instructions on it and the user can’t of course modify the content of the help page, but i did n …

---

## [Why is my line not smoother?](https://discourse.processing.org/t/why-is-my-line-not-smoother/44414)

<div class="topic-metadata">

**Author:** [@SamDavePollard](https://discourse.processing.org/u/SamDavePollard)\
**Replies:** 5\
**Last updated:** [June 9, 2024, 5:57pm UTC](https://discourse.processing.org/t/why-is-my-line-not-smoother/44414 "2024-06-09T17:57:21Z")

</div>

Apologies for the noob question, but … when I run the following sketch in the Processing IDE I get a smooth line but when I attempt the same thing using Java and IntellijIDEA I get something a lot more pixellated as show…

---

## [Showing x y z axis acceleration data](https://discourse.processing.org/t/showing-x-y-z-axis-acceleration-data/44551)

<div class="topic-metadata">

**Author:** [@Ken\_000](https://discourse.processing.org/u/Ken_000)\
**Replies:** 2\
**Last updated:** [June 9, 2024, 4:00pm UTC](https://discourse.processing.org/t/showing-x-y-z-axis-acceleration-data/44551 "2024-06-09T16:00:23Z")

</div>

New to processing. On windows PC, how to setup processing (with processing code) to display an aeroplane showing roll, pitch and yaw with accelerometer x,y,z axis data coming from serial port? Arduino is used to read a…

---

## [Is there a way to set orbitControl() to only affect a specific mesh?](https://discourse.processing.org/t/is-there-a-way-to-set-orbitcontrol-to-only-affect-a-specific-mesh/44549)

<div class="topic-metadata">

**Author:** [@jshaw3](https://discourse.processing.org/u/jshaw3)\
**Replies:** 4\
**Last updated:** [June 9, 2024, 12:50pm UTC](https://discourse.processing.org/t/is-there-a-way-to-set-orbitcontrol-to-only-affect-a-specific-mesh/44549 "2024-06-09T12:50:48Z")

</div>

Is there a way to set orbitControl() to only affect a specific mesh? It doesn’t seem to be possible or a feature, but I wanted to throw the question out there in case there’s a way to implement it, and I just missed the…

---

## [How to call OpenGL functions in P3D](https://discourse.processing.org/t/how-to-call-opengl-functions-in-p3d/44552)

<div class="topic-metadata">

**Author:** [@Java.SourceForger](https://discourse.processing.org/u/Java.SourceForger)\
**Replies:** 1\
**Last updated:** [June 8, 2024, 5:39pm UTC](https://discourse.processing.org/t/how-to-call-opengl-functions-in-p3d/44552 "2024-06-08T17:39:40Z")

</div>

I know processing P3d is built on top of joml… So, how can I call joml’s openGL functions in processing? I wanted to do some advanced culling tecniques like occlusion culling, and to do that, I need access opengl calls…

---

## [G4P - Secondary Window Buttons Not Always Reliable](https://discourse.processing.org/t/g4p-secondary-window-buttons-not-always-reliable/44518)

<div class="topic-metadata">

**Author:** [@Thundercat](https://discourse.processing.org/u/Thundercat)\
**Replies:** 19\
**Last updated:** [June 8, 2024, 12:50pm UTC](https://discourse.processing.org/t/g4p-secondary-window-buttons-not-always-reliable/44518 "2024-06-08T12:50:52Z")

</div>

Hi, I’m using the fantastic G4P library, and I’ve made some secondary windows with buttons on them. I’m using the technique of creating them null, and then showing/hiding them with other buttons. I’m finding that somet…

---

## [Swing Components in Default Processing Window\_py5](https://discourse.processing.org/t/swing-components-in-default-processing-window-py5/44482)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 19\
**Last updated:** [June 6, 2024, 6:10am UTC](https://discourse.processing.org/t/swing-components-in-default-processing-window-py5/44482 "2024-06-06T06:10:07Z")

</div>

To use Swing components in a default Processing window in py5 it is necessary to remove part or all of the canvas. By dropping the canvas down a little bit it is possible to use the top portion for Swing components and …

---

## [How to disable VSync in Processing P3D](https://discourse.processing.org/t/how-to-disable-vsync-in-processing-p3d/44547)

<div class="topic-metadata">

**Author:** [@Java.SourceForger](https://discourse.processing.org/u/Java.SourceForger)\
**Replies:** 1\
**Last updated:** [June 7, 2024, 3:51pm UTC](https://discourse.processing.org/t/how-to-disable-vsync-in-processing-p3d/44547 "2024-06-07T15:51:17Z")

</div>

Im not sure why this has to be so complicated but I cant find a way to disable vsync in processing. Specifically p3d. Any help?

---

## [SFTP in Android mode](https://discourse.processing.org/t/sftp-in-android-mode/44536)

<div class="topic-metadata">

**Author:** [@katesfb1](https://discourse.processing.org/u/katesfb1)\
**Replies:** 1\
**Last updated:** [June 7, 2024, 4:52am UTC](https://discourse.processing.org/t/sftp-in-android-mode/44536 "2024-06-07T04:52:01Z")

</div>

Hi, I have a current Android project that uploads images to an FTP server (time-lapse) and this works well. I now need to change this to SFTP. I am not particularly familiar with SFTP however i know there is a Jsch Java…

---

## [Help thinking out an attraction behavior](https://discourse.processing.org/t/help-thinking-out-an-attraction-behavior/44537)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 7\
**Last updated:** [June 7, 2024, 1:31am UTC](https://discourse.processing.org/t/help-thinking-out-an-attraction-behavior/44537 "2024-06-07T01:31:45Z")

</div>

Hello. I’m wondering how, or if, I could make this idea happens. I’m have some code already, it’s based on @shiffman’s wonderful Nature of Code vectors and attractions chapters. Thanks Daniel, you are amazing! But not p…

---

## [Custom halftone grids for images using multiple .svg files \[Solved\]](https://discourse.processing.org/t/custom-halftone-grids-for-images-using-multiple-svg-files-solved/44540)

<div class="topic-metadata">

**Author:** [@devski](https://discourse.processing.org/u/devski)\
**Replies:** 1\
**Last updated:** [June 5, 2024, 8:57pm UTC](https://discourse.processing.org/t/custom-halftone-grids-for-images-using-multiple-svg-files-solved/44540 "2024-06-05T20:57:13Z")

</div>

Hello, I am new to processing and I would like to use it to generate custom halftone effects using SVG files. I have managed to create something like this so far. For my next step I am trying to figure out how to ma…

---

## [Spaceship Control](https://discourse.processing.org/t/spaceship-control/44531)

<div class="topic-metadata">

**Author:** [@Alam](https://discourse.processing.org/u/Alam)\
**Replies:** 2\
**Last updated:** [June 5, 2024, 6:54pm UTC](https://discourse.processing.org/t/spaceship-control/44531 "2024-06-05T18:54:12Z")

</div>

Hi! I’m creating simple solar system where you can moving around using spaceship. I have problem with camera. When i’m going right or left everythink is fine, but when move my mouse to far on top or down there is a came…

---

## [JavaScript for teachers, students and parents](https://discourse.processing.org/t/javascript-for-teachers-students-and-parents/44533)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [June 4, 2024, 3:01am UTC](https://discourse.processing.org/t/javascript-for-teachers-students-and-parents/44533 "2024-06-04T03:01:59Z")

</div>

I’m excited to share with you a preview of a printed version of my “Illustrated JavaScript Coding Course”. It has about 700 pages. See here the first 200 slides: If you want to get the entire course (almost 700 sli…

---

## [ControlP5 Events & Callbacks Help Needed](https://discourse.processing.org/t/controlp5-events-callbacks-help-needed/44527)

<div class="topic-metadata">

**Author:** [@thb](https://discourse.processing.org/u/thb)\
**Replies:** 0\
**Last updated:** [June 3, 2024, 5:58am UTC](https://discourse.processing.org/t/controlp5-events-callbacks-help-needed/44527 "2024-06-03T05:58:13Z")

</div>

import controlP5.\*; //\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* //\* How to use ControlP5 Events & Callbacks //\* //\* This program shows 4 differnt Contr…

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

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