# Processing

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

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

**Page:** 88

---

## [Audio Visualizer with multiple midi channels](https://discourse.processing.org/t/audio-visualizer-with-multiple-midi-channels/35898)

<div class="topic-metadata">

**Author:** [@Douix](https://discourse.processing.org/u/Douix)\
**Replies:** 0\
**Last updated:** [March 22, 2022, 6:55pm UTC](https://discourse.processing.org/t/audio-visualizer-with-multiple-midi-channels/35898 "2022-03-22T18:55:22Z")

</div>

Hi everyone, I’m a beginner with Processing and I lack the vocabulary of coding, but I challenged myself to create an audio viewer from .midi files that would give graphic renderings on different levels according to the…

---

## [Why do I get a NullPointerException](https://discourse.processing.org/t/why-do-i-get-a-nullpointerexception/35711)

<div class="topic-metadata">

**Author:** [@LauraDob](https://discourse.processing.org/u/LauraDob)\
**Replies:** 7\
**Last updated:** [March 21, 2022, 3:05pm UTC](https://discourse.processing.org/t/why-do-i-get-a-nullpointerexception/35711 "2022-03-21T15:05:10Z")

</div>

When I run it, I have NullPointerException \[0\] “COM5”… How do I fix it? This is the code import processing.serial.\*; Serial myPort; // Create object from Serial class int val = 0; int oldval = 0; int numFrames = 2; …

---

## [Issue with PShape with a cut off area and a changing vertex](https://discourse.processing.org/t/issue-with-pshape-with-a-cut-off-area-and-a-changing-vertex/35859)

<div class="topic-metadata">

**Author:** [@BleiEnte](https://discourse.processing.org/u/BleiEnte)\
**Replies:** 0\
**Last updated:** [March 20, 2022, 12:06pm UTC](https://discourse.processing.org/t/issue-with-pshape-with-a-cut-off-area-and-a-changing-vertex/35859 "2022-03-20T12:06:20Z")

</div>

Hey, I’d like to wirte a simple sketch where some vertices of a shape with an cut off are changed. Unfortunately, it doesn’t work as expected. If I choose the default renderer, the shape is not closed as intended (see t…

---

## [How to export it to an SVG file, can someone help?](https://discourse.processing.org/t/how-to-export-it-to-an-svg-file-can-someone-help/35795)

<div class="topic-metadata">

**Author:** [@AvdMaker](https://discourse.processing.org/u/AvdMaker)\
**Replies:** 2\
**Last updated:** [March 21, 2022, 8:53am UTC](https://discourse.processing.org/t/how-to-export-it-to-an-svg-file-can-someone-help/35795 "2022-03-21T08:53:33Z")

</div>

Hi all, I am a student CS at a Highschool in the Netherlands and I need some help;This is what it’s supposed to be but I can’t find the original code anymore I’ve been trying to export this processing code from ‘proces…

---

## [Serial reading values is duplicate during about 0.3s](https://discourse.processing.org/t/serial-reading-values-is-duplicate-during-about-0-3s/35817)

<div class="topic-metadata">

**Author:** [@Ardan](https://discourse.processing.org/u/Ardan)\
**Replies:** 2\
**Last updated:** [March 21, 2022, 12:46am UTC](https://discourse.processing.org/t/serial-reading-values-is-duplicate-during-about-0-3s/35817 "2022-03-21T00:46:04Z")

</div>

HI guys, I’m new to both processing and JAVA. I need to build a serial project to complete my research. I used a Arduino MEGA 2560 and a AD7606 to capture volt signals from 8 channels and the value will be sent to proces…

---

## [How to manipulate the size of the ellipse when it is located toward the center of the screen?](https://discourse.processing.org/t/how-to-manipulate-the-size-of-the-ellipse-when-it-is-located-toward-the-center-of-the-screen/35852)

<div class="topic-metadata">

**Author:** [@hau4302](https://discourse.processing.org/u/hau4302)\
**Replies:** 1\
**Last updated:** [March 20, 2022, 7:55am UTC](https://discourse.processing.org/t/how-to-manipulate-the-size-of-the-ellipse-when-it-is-located-toward-the-center-of-the-screen/35852 "2022-03-20T07:55:09Z")

</div>

How to manipulate the size of the ellipse when it is located toward the center of the screen?

---

## [Weird bug with Processing lights](https://discourse.processing.org/t/weird-bug-with-processing-lights/35803)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 0\
**Last updated:** [March 17, 2022, 11:20pm UTC](https://discourse.processing.org/t/weird-bug-with-processing-lights/35803 "2022-03-17T23:20:17Z")

</div>

I’ve been doing some experiments with marching cubes lately, but it was really hard to look at the image as 3d because there were no shadows or lighting. I tried using processing’s built in lights, but I got this weird i…

---

## [Rollover not working when applied in an array of circles](https://discourse.processing.org/t/rollover-not-working-when-applied-in-an-array-of-circles/35840)

<div class="topic-metadata">

**Author:** [@Erif](https://discourse.processing.org/u/Erif)\
**Replies:** 2\
**Last updated:** [March 19, 2022, 4:13pm UTC](https://discourse.processing.org/t/rollover-not-working-when-applied-in-an-array-of-circles/35840 "2022-03-19T16:13:51Z")

</div>

Hi all, coding with Processing for just over a month only so lots of things to learn :sweat\_smile: I’ve created a simple rollover so when the mouse is within the circle it changes color. It works… however when adjusting…

---

## [Analyze just certain frequency range, minim, FFT, sound](https://discourse.processing.org/t/analyze-just-certain-frequency-range-minim-fft-sound/35823)

<div class="topic-metadata">

**Author:** [@rroarrg](https://discourse.processing.org/u/rroarrg)\
**Replies:** 0\
**Last updated:** [March 18, 2022, 6:20pm UTC](https://discourse.processing.org/t/analyze-just-certain-frequency-range-minim-fft-sound/35823 "2022-03-18T18:20:48Z")

</div>

Hi, i’m trying to make audio reactive visuals from an electric guitar input. For now im just trying to obtain sound values to work on. Guitar pitchs work from 82 to 987 Hz, and I use minim fft analysis to detect the amp…

---

## [How to make the ellipse size change when the ellipse locates toward the center??](https://discourse.processing.org/t/how-to-make-the-ellipse-size-change-when-the-ellipse-locates-toward-the-center/35805)

<div class="topic-metadata">

**Author:** [@Anson565](https://discourse.processing.org/u/Anson565)\
**Replies:** 2\
**Last updated:** [March 18, 2022, 5:52am UTC](https://discourse.processing.org/t/how-to-make-the-ellipse-size-change-when-the-ellipse-locates-toward-the-center/35805 "2022-03-18T05:52:09Z")

</div>

How to make the ellipse size change when the ellipse locates toward the center??

---

## [Automaticaly rerun and save images](https://discourse.processing.org/t/automaticaly-rerun-and-save-images/35786)

<div class="topic-metadata">

**Author:** [@tshaqscc](https://discourse.processing.org/u/tshaqscc)\
**Replies:** 4\
**Last updated:** [March 17, 2022, 3:07pm UTC](https://discourse.processing.org/t/automaticaly-rerun-and-save-images/35786 "2022-03-17T15:07:45Z")

</div>

I have this code that generates image. I want to generate 1000 variations of this image. I added this to save images \<saveFrame(“image\_####.png”);/\> but it saved just one time, is there a way to make this process autom…

---

## [Reading my excel data in Processing](https://discourse.processing.org/t/reading-my-excel-data-in-processing/35792)

<div class="topic-metadata">

**Author:** [@CharrR](https://discourse.processing.org/u/CharrR)\
**Replies:** 4\
**Last updated:** [March 17, 2022, 10:41am UTC](https://discourse.processing.org/t/reading-my-excel-data-in-processing/35792 "2022-03-17T10:41:55Z")

</div>

Hello, processing newbie here~ I’m just trying to open my excel data in processing, but have no idea what the code to do this is. I read a little about loadTable and String and printIn, but none of it is making sense to…

---

## [Trojan warning in Processing 4 beta](https://discourse.processing.org/t/trojan-warning-in-processing-4-beta/35779)

<div class="topic-metadata">

**Author:** [@kaimikael](https://discourse.processing.org/u/kaimikael)\
**Replies:** 1\
**Last updated:** [March 16, 2022, 2:54pm UTC](https://discourse.processing.org/t/trojan-warning-in-processing-4-beta/35779 "2022-03-16T14:54:41Z")

</div>

Bitdefender Virus Scanner flags the presence of “Java.Trojan.GenericGBA.31260” in processing/core/PShapeOBJ.class. It’s been there since at least 4.0b3, still there in 4.0b7. It presumably is a false positive, but can …

---

## [Delay an event by 200ms. Why can I shift one and not several?](https://discourse.processing.org/t/delay-an-event-by-200ms-why-can-i-shift-one-and-not-several/35777)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [March 16, 2022, 12:04pm UTC](https://discourse.processing.org/t/delay-an-event-by-200ms-why-can-i-shift-one-and-not-several/35777 "2022-03-16T12:04:45Z")

</div>

Good morning all! For my artistic installation, I would like from the movement of a point rotating at constant speed, to be able to make 9 other points follow the first with temporal and spatial shifts. Here is the lin…

---

## ["Could not load movie data.mov" problem](https://discourse.processing.org/t/could-not-load-movie-data-mov-problem/35772)

<div class="topic-metadata">

**Author:** [@javieracostas](https://discourse.processing.org/u/javieracostas)\
**Replies:** 1\
**Last updated:** [March 16, 2022, 11:59am UTC](https://discourse.processing.org/t/could-not-load-movie-data-mov-problem/35772 "2022-03-16T11:59:29Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I am trying to import a .mov file to processing and when executing the code the following text appears “Could not load movie file data.mov” I hav…

---

## [Text on top of 3D box](https://discourse.processing.org/t/text-on-top-of-3d-box/35757)

<div class="topic-metadata">

**Author:** [@Divitiacus](https://discourse.processing.org/u/Divitiacus)\
**Replies:** 3\
**Last updated:** [March 15, 2022, 12:53pm UTC](https://discourse.processing.org/t/text-on-top-of-3d-box/35757 "2022-03-15T12:53:38Z")

</div>

I have a 3D box and I would like to show data on top of the picture, which are always on front and are not moving, when I move the box. I found, that hint can be used to disable depth test for that but that just gives t…

---

## [Controlling color with webcam ASCII code](https://discourse.processing.org/t/controlling-color-with-webcam-ascii-code/35709)

<div class="topic-metadata">

**Author:** [@owenmg1234](https://discourse.processing.org/u/owenmg1234)\
**Replies:** 0\
**Last updated:** [March 13, 2022, 4:23pm UTC](https://discourse.processing.org/t/controlling-color-with-webcam-ascii-code/35709 "2022-03-13T16:23:08Z")

</div>

Hey All! Recently I’ve been experimenting with Ascii code and my webcam with the hopes I’d be able to control certain areas with colors of my choosing. since I’m sort of new to processing and very new to hard coding, Iv…

---

## [Need help for this task](https://discourse.processing.org/t/need-help-for-this-task/20771)

<div class="topic-metadata">

**Author:** [@jones](https://discourse.processing.org/u/jones)\
**Replies:** 2\
**Last updated:** [May 12, 2020, 10:22am UTC](https://discourse.processing.org/t/need-help-for-this-task/20771 "2020-05-12T10:22:11Z")

</div>

int cellSize = 30; int radius = cellSize/2; int ellipseSize = cellSize; int ellipseSizeMini = 5; int gap = 0; void setup() { size (300, 300); background(255); noStroke(); for (int j=0; j\<height; j=j+cellS…

---

## [Video library not compatible with version 4.0b7](https://discourse.processing.org/t/video-library-not-compatible-with-version-4-0b7/35683)

<div class="topic-metadata">

**Author:** [@hanslas](https://discourse.processing.org/u/hanslas)\
**Replies:** 2\
**Last updated:** [March 14, 2022, 10:55am UTC](https://discourse.processing.org/t/video-library-not-compatible-with-version-4-0b7/35683 "2022-03-14T10:55:37Z")

</div>

I try to import the Video GStreamer based library Version 2.0 in Processing 4.0.b7. The library manager complains “2.0 not compatible” I tried to download and install it from Github, but the IDE does not see it. Accordin…

---

## [How to print text to console?](https://discourse.processing.org/t/how-to-print-text-to-console/35725)

<div class="topic-metadata">

**Author:** [@bigboss97](https://discourse.processing.org/u/bigboss97)\
**Replies:** 1\
**Last updated:** [March 14, 2022, 6:56am UTC](https://discourse.processing.org/t/how-to-print-text-to-console/35725 "2022-03-14T06:56:06Z")

</div>

I’m using Processing 3.5.4 (Windows 10) and I want to write a command line app with arguments and text output to the console. I found this: handling command line arguments in a sketch I exported the code to Windows exe…

---

## [Processing Foundation Fellowship 2022](https://discourse.processing.org/t/processing-foundation-fellowship-2022/35722)

<div class="topic-metadata">

**Author:** [@Adithya](https://discourse.processing.org/u/Adithya)\
**Replies:** 0\
**Last updated:** [March 14, 2022, 1:05am UTC](https://discourse.processing.org/t/processing-foundation-fellowship-2022/35722 "2022-03-14T01:05:50Z")

</div>

I wanted to know about the Processing Foundation Fellowship 2022 as it usually opens around the beginning of March but I haven’t seen any application link/portal for the same. I’m really interested in taking part as a de…

---

## [Speed question: 2D array vs. Table](https://discourse.processing.org/t/speed-question-2d-array-vs-table/35707)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 6\
**Last updated:** [March 13, 2022, 5:37pm UTC](https://discourse.processing.org/t/speed-question-2d-array-vs-table/35707 "2022-03-13T17:37:36Z")

</div>

Excuse my question. I need to fill an 2D array with Strings. Then I want to look up / search certain strings in a precise column. Would the access be faster using a table with 30 Columns instead of a 2D array?

---

## [Error to compile a P3D sketch with Processing 3 and IntelliJ IDEA](https://discourse.processing.org/t/error-to-compile-a-p3d-sketch-with-processing-3-and-intellij-idea/35689)

<div class="topic-metadata">

**Author:** [@dams2007](https://discourse.processing.org/u/dams2007)\
**Replies:** 1\
**Last updated:** [March 13, 2022, 12:58am UTC](https://discourse.processing.org/t/error-to-compile-a-p3d-sketch-with-processing-3-and-intellij-idea/35689 "2022-03-13T00:58:11Z")

</div>

Hi everyone, I am actually working on to switch to IntelliJ IDEA, things are working and compiling for a simple Sketch, but if I want turn this sketch to a P3D one, I have this error. I checked around the forum to fi…

---

## [G4P controls not working in diferrent windows](https://discourse.processing.org/t/g4p-controls-not-working-in-diferrent-windows/35705)

<div class="topic-metadata">

**Author:** [@Alan](https://discourse.processing.org/u/Alan)\
**Replies:** 0\
**Last updated:** [March 12, 2022, 9:31pm UTC](https://discourse.processing.org/t/g4p-controls-not-working-in-diferrent-windows/35705 "2022-03-12T21:31:07Z")

</div>

just wanted to add G4P controls into different windows (PApplet s) , no error found , but the problem is that the controls does not work at all !!! meaning … for example if i add a GButton to the main window or the pr…

---

## [String array loadStrings split](https://discourse.processing.org/t/string-array-loadstrings-split/35636)

<div class="topic-metadata">

**Author:** [@nina1](https://discourse.processing.org/u/nina1)\
**Replies:** 12\
**Last updated:** [March 12, 2022, 8:26pm UTC](https://discourse.processing.org/t/string-array-loadstrings-split/35636 "2022-03-12T20:26:46Z")

</div>

Please can anyone help me please? Iknow how to load Strings but idk how to Split them with “!,?,.” Write a program that reads a text file with a name of your choice and has the following content: Lorem ipsum dolor sit …

---

## [Design advice for interchangeable modules of various algorithms?](https://discourse.processing.org/t/design-advice-for-interchangeable-modules-of-various-algorithms/35668)

<div class="topic-metadata">

**Author:** [@squig](https://discourse.processing.org/u/squig)\
**Replies:** 2\
**Last updated:** [March 12, 2022, 5:36pm UTC](https://discourse.processing.org/t/design-advice-for-interchangeable-modules-of-various-algorithms/35668 "2022-03-12T17:36:12Z")

</div>

I’ll explain what I mean by that. Rambling ahead, sorry. Prefer to err on the side of too much context rather than not enough. Shorter summary of question at the end of the post. One of my favorite aspects of creating …

---

## [Is it possible to get millisecond accurate renders with animated Processing sketches?](https://discourse.processing.org/t/is-it-possible-to-get-millisecond-accurate-renders-with-animated-processing-sketches/35604)

<div class="topic-metadata">

**Author:** [@leatherbird](https://discourse.processing.org/u/leatherbird)\
**Replies:** 29\
**Last updated:** [March 12, 2022, 5:43pm UTC](https://discourse.processing.org/t/is-it-possible-to-get-millisecond-accurate-renders-with-animated-processing-sketches/35604 "2022-03-12T17:43:04Z")

</div>

So I’m using processing to generate animations to composite later for a music video project on which I’m working. The problem is, I can’t get my sketches to render consistently so that I can edit them later to sync them…

---

## [How can I get started with Internationalization improvements](https://discourse.processing.org/t/how-can-i-get-started-with-internationalization-improvements/35691)

<div class="topic-metadata">

**Author:** [@kunal](https://discourse.processing.org/u/kunal)\
**Replies:** 1\
**Last updated:** [March 12, 2022, 5:12pm UTC](https://discourse.processing.org/t/how-can-i-get-started-with-internationalization-improvements/35691 "2022-03-12T17:12:11Z")

</div>

How can i get started with Internationalization improvements

---

## [Playing picture with Processing column by column on serial line WS2811 in constant time](https://discourse.processing.org/t/playing-picture-with-processing-column-by-column-on-serial-line-ws2811-in-constant-time/35675)

<div class="topic-metadata">

**Author:** [@MachalXVIII](https://discourse.processing.org/u/MachalXVIII)\
**Replies:** 1\
**Last updated:** [March 11, 2022, 4:25pm UTC](https://discourse.processing.org/t/playing-picture-with-processing-column-by-column-on-serial-line-ws2811-in-constant-time/35675 "2022-03-11T16:25:59Z")

</div>

Hello, Iam came here for help as absolute beginner with this SW and almost beginner with microcomputers. I want to start building on this project OctoWS2811 LED Library, Driving Hundreds to Thousands of WS2811 LEDs with…

---

## [Error " java.lang.NoClassDefFoundError: com/sun/jna/Library " whilst using Kinect](https://discourse.processing.org/t/error-java-lang-noclassdeffounderror-com-sun-jna-library-whilst-using-kinect/35663)

<div class="topic-metadata">

**Author:** [@LRO](https://discourse.processing.org/u/LRO)\
**Replies:** 0\
**Last updated:** [March 10, 2022, 2:43pm UTC](https://discourse.processing.org/t/error-java-lang-noclassdeffounderror-com-sun-jna-library-whilst-using-kinect/35663 "2022-03-10T14:43:27Z")

</div>

I am trying to use the Kinect 1414 for the first time with Processing but I am running into this error every time. Can anyone help? I am running on a Mac M1 with Big Sur v11.2 Here’s a similar error I have on one of th…

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

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