# Latest

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

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

**Page:** 200

---

## [Non-real time Music Video & Sound Analysis Framework for Processing](https://discourse.processing.org/t/non-real-time-music-video-sound-analysis-framework-for-processing/30146)

<div class="topic-metadata">

**Author:** [@Tinkerer](https://discourse.processing.org/u/Tinkerer)\
**Replies:** 2\
**Last updated:** [August 23, 2021, 5:50am UTC](https://discourse.processing.org/t/non-real-time-music-video-sound-analysis-framework-for-processing/30146 "2021-08-23T05:50:25Z")

</div>

Thought I’d share this sketch I made to help make music videos with processing. Any feedback/suggestions welcome :slight\_smile: This Processing sketch enables non-real time (offline) analysis of an audio file to give F…

---

## [textAlign(CENTER) seems to move all lines in the window instead of ony one](https://discourse.processing.org/t/textalign-center-seems-to-move-all-lines-in-the-window-instead-of-ony-one/31846)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 4\
**Last updated:** [August 22, 2021, 10:26pm UTC](https://discourse.processing.org/t/textalign-center-seems-to-move-all-lines-in-the-window-instead-of-ony-one/31846 "2021-08-22T22:26:34Z")

</div>

I am having a problem with trying to center just one line of text. I think I am applying “textAlign(CENTER)” to just one line, but it is also offsetting all the other text in the window. Here is my complete code. Thank y…

---

## [Creating dynamic array](https://discourse.processing.org/t/creating-dynamic-array/31794)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 11\
**Last updated:** [August 22, 2021, 4:42pm UTC](https://discourse.processing.org/t/creating-dynamic-array/31794 "2021-08-22T16:42:22Z")

</div>

I am missing some commands, so if you can help me - that would be awesome. I want to creat a dynamic array, that stores the keypressed, and how many times each one pressed for example, let’s say the user pressed the ke…

---

## [How to use export & import in p5.js](https://discourse.processing.org/t/how-to-use-export-import-in-p5-js/31724)

<div class="topic-metadata">

**Author:** [@JaPatProccesingDis](https://discourse.processing.org/u/JaPatProccesingDis)\
**Replies:** 9\
**Last updated:** [August 22, 2021, 3:01pm UTC](https://discourse.processing.org/t/how-to-use-export-import-in-p5-js/31724 "2021-08-22T15:01:20Z")

</div>

Hello guys! I have some code stored in my GitHub repository…here is its jsdelivr link https://cdn.jsdelivr.net/gh/JaPatGitHub/EduSimulations@main/Tools/x-y-coordinate%20pointer.js Now, I try importing this into the p5.…

---

## [Multiple sketches in instance mode](https://discourse.processing.org/t/multiple-sketches-in-instance-mode/11222)

<div class="topic-metadata">

**Author:** [@cnie](https://discourse.processing.org/u/cnie)\
**Replies:** 3\
**Last updated:** [August 21, 2021, 9:46pm UTC](https://discourse.processing.org/t/multiple-sketches-in-instance-mode/11222 "2021-08-21T21:46:48Z")

</div>

I am quite new to p5 and am struggling to achieve multiple canvases on a single webpage. I can manage to to get two running, using two instance functions, but I can’t figure out how to position them off their default pos…

---

## [ControlP5 Button function seems to ignore Text command at the beginning](https://discourse.processing.org/t/controlp5-button-function-seems-to-ignore-text-command-at-the-beginning/31781)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 6\
**Last updated:** [August 22, 2021, 1:43am UTC](https://discourse.processing.org/t/controlp5-button-function-seems-to-ignore-text-command-at-the-beginning/31781 "2021-08-22T01:43:25Z")

</div>

Hi guys, new to this forum and to Processing. Trying to learn but i can see it will be a steep curve, even if I can do some little arduino coding :frowning: I am having a few problems with my code, and one of them is th…

---

## [How to use Visual Studio Code with Processing 3](https://discourse.processing.org/t/how-to-use-visual-studio-code-with-processing-3/14458)

<div class="topic-metadata">

**Author:** [@emedan](https://discourse.processing.org/u/emedan)\
**Replies:** 21\
**Last updated:** [August 21, 2021, 10:48pm UTC](https://discourse.processing.org/t/how-to-use-visual-studio-code-with-processing-3/14458 "2021-08-21T22:48:11Z")

</div>

I can’t find instructions how to use, for instance, Visual Studio Code as a replacement for the Java IDE. I came to Processing after using P5.js, The default IDE feels very out of date, and why spend resources on somet…

---

## [Importing shader .glsl files to Wordpress](https://discourse.processing.org/t/importing-shader-glsl-files-to-wordpress/31821)

<div class="topic-metadata">

**Author:** [@CraigO](https://discourse.processing.org/u/CraigO)\
**Replies:** 2\
**Last updated:** [August 21, 2021, 9:57pm UTC](https://discourse.processing.org/t/importing-shader-glsl-files-to-wordpress/31821 "2021-08-21T21:57:03Z")

</div>

Hey, I have shader files in my p5 project running and displaying perfectly on my local server. The files are preloaded via loadShader because I can access the file path. However, shader .glsl file paths are not accessi…

---

## [Is there a way to add JMenuBar (File, Edit...) to my program?](https://discourse.processing.org/t/is-there-a-way-to-add-jmenubar-file-edit-to-my-program/31830)

<div class="topic-metadata">

**Author:** [@Flolo](https://discourse.processing.org/u/Flolo)\
**Replies:** 9\
**Last updated:** [August 21, 2021, 8:23pm UTC](https://discourse.processing.org/t/is-there-a-way-to-add-jmenubar-file-edit-to-my-program/31830 "2021-08-21T20:23:48Z")

</div>

Hey I wanted to ask if there is a way to add an File, Edit, Sketchbook… to a Processing Sketch like the PDE also has? Thanks in advance :smile:

---

## [\[YOLO\] YOLODetectObjects example // I want to know about the detected information](https://discourse.processing.org/t/yolo-yolodetectobjects-example-i-want-to-know-about-the-detected-information/31798)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [August 21, 2021, 12:52am UTC](https://discourse.processing.org/t/yolo-yolodetectobjects-example-i-want-to-know-about-the-detected-information/31798 "2021-08-21T00:52:15Z")

</div>

@cansik / help me. As shown in the picture, Can I get information about the functions for that library? ex) .hashCode() .isSkipNMS() .loadLabels(Path) .notify() …etc Is there any reference material with co…

---

## [Using another editor to help with typing constraints](https://discourse.processing.org/t/using-another-editor-to-help-with-typing-constraints/31811)

<div class="topic-metadata">

**Author:** [@Clair](https://discourse.processing.org/u/Clair)\
**Replies:** 1\
**Last updated:** [August 21, 2021, 12:09am UTC](https://discourse.processing.org/t/using-another-editor-to-help-with-typing-constraints/31811 "2021-08-21T00:09:57Z")

</div>

I used to study processing but then had a stroke – which damaged my left hand so typing accurately is extremely difficult. Because of previous work as web designer, I am familiar with Bluefish and Brackets. I have got B…

---

## [Resources on programming for very beginners](https://discourse.processing.org/t/resources-on-programming-for-very-beginners/22433)

<div class="topic-metadata">

**Author:** [@ch3](https://discourse.processing.org/u/ch3)\
**Replies:** 13\
**Last updated:** [August 20, 2021, 9:10pm UTC](https://discourse.processing.org/t/resources-on-programming-for-very-beginners/22433 "2021-08-20T21:10:48Z")

</div>

Hi, I am looking for resource on basic programming concepts, variables, functions, for loops and anything an absolute beginner needs to get started. I teach Houdini at SVA and for next term I am thinking to use Process…

---

## [The download link for the arm version doesn't seem to work](https://discourse.processing.org/t/the-download-link-for-the-arm-version-doesnt-seem-to-work/31776)

<div class="topic-metadata">

**Author:** [@ysan](https://discourse.processing.org/u/ysan)\
**Replies:** 7\
**Last updated:** [August 20, 2021, 8:45pm UTC](https://discourse.processing.org/t/the-download-link-for-the-arm-version-doesnt-seem-to-work/31776 "2021-08-20T20:45:16Z")

</div>

It seems curl https://processing.org/download/install-arm.sh | sudo sh no longer works and the https://procesing.org/download/install-arm.sh link is broken. It may be temporary but any ideas??

---

## [How to apply color quantization to an image](https://discourse.processing.org/t/how-to-apply-color-quantization-to-an-image/4849)

<div class="topic-metadata">

**Author:** [@BulVvyvXsWDYZl8J](https://discourse.processing.org/u/BulVvyvXsWDYZl8J)\
**Replies:** 26\
**Last updated:** [August 20, 2021, 8:15pm UTC](https://discourse.processing.org/t/how-to-apply-color-quantization-to-an-image/4849 "2021-08-20T20:15:39Z")

</div>

Is there a simple way (preferably a function) to apply color quantization to an image? Specifically I’d like to pick a PImage and an int of colours, and it’d reduce the number of colours to that int, trying to keep it as…

---

## [No MIDI library for Processing 3?](https://discourse.processing.org/t/no-midi-library-for-processing-3/6079)

<div class="topic-metadata">

**Author:** [@robduarte](https://discourse.processing.org/u/robduarte)\
**Replies:** 14\
**Last updated:** [August 20, 2021, 7:28pm UTC](https://discourse.processing.org/t/no-midi-library-for-processing-3/6079 "2021-08-20T19:28:54Z")

</div>

It’s been a while since I’ve used Processing. I’m looking in the library manager and on the libraries listing on processing.org and I’m not seeing any MIDI library. Is there no supported way of sending/receiving MIDI any…

---

## [Confine particles to a space](https://discourse.processing.org/t/confine-particles-to-a-space/31813)

<div class="topic-metadata">

**Author:** [@seldomcoder](https://discourse.processing.org/u/seldomcoder)\
**Replies:** 2\
**Last updated:** [August 20, 2021, 7:16pm UTC](https://discourse.processing.org/t/confine-particles-to-a-space/31813 "2021-08-20T19:16:34Z")

</div>

I want to confine the particles and emergent lines (in the code) to a specific space like an annular ring between two concentric circles. Now, the particles and lines are all over the canvas. How do I go about that? //…

---

## [Runtime issues, loadlibrary error 126: The specified module could not be found](https://discourse.processing.org/t/runtime-issues-loadlibrary-error-126-the-specified-module-could-not-be-found/24863)

<div class="topic-metadata">

**Author:** [@Weege545](https://discourse.processing.org/u/Weege545)\
**Replies:** 3\
**Last updated:** [August 20, 2021, 1:11pm UTC](https://discourse.processing.org/t/runtime-issues-loadlibrary-error-126-the-specified-module-could-not-be-found/24863 "2021-08-20T13:11:28Z")

</div>

Hello! I’ve just tried to run Processing and I’ve gotten two errors: Error 87 (which I updated my nvidia drivers and haven’t seen since) LoadLibrary error 126: The specified module could not be found I have yet to act…

---

## [Double Möbius strip](https://discourse.processing.org/t/double-mobius-strip/31362)

<div class="topic-metadata">

**Author:** [@fleshcircuit](https://discourse.processing.org/u/fleshcircuit)\
**Replies:** 2\
**Last updated:** [July 24, 2021, 2:56pm UTC](https://discourse.processing.org/t/double-mobius-strip/31362 "2021-07-24T14:56:12Z")

</div>

I am currently working on a mobius strip animation based on this example: Mobius Strip Animation - #6 by glv However, I am trying to figure out a way to increase the folds and double the strip. This is my first attempt …

---

## [Export exe. from processing 3.5.4](https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783)

<div class="topic-metadata">

**Author:** [@CHI123](https://discourse.processing.org/u/CHI123)\
**Replies:** 7\
**Last updated:** [August 19, 2021, 9:45pm UTC](https://discourse.processing.org/t/export-exe-from-processing-3-5-4/31783 "2021-08-19T21:45:12Z")

</div>

Hi, I am not sure where to post this question. If it is wrong, kindly tell me. I export the exe. from my sketch. Like in the following picture. link: https://forum.processing.org/two/discussion/27156/application-ex…

---

## [No loadPixels() for PGraphicsPDF](https://discourse.processing.org/t/no-loadpixels-for-pgraphicspdf/31746)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 4\
**Last updated:** [August 18, 2021, 11:27am UTC](https://discourse.processing.org/t/no-loadpixels-for-pgraphicspdf/31746 "2021-08-18T11:27:47Z")

</div>

i found this code Pointillism | Learning Processing 2nd Edition but instead of run it on the screen, I wanted to run in 5 times on backend and save it as a pdf file, and got this error RuntimeException: No loadPixels(…

---

## [Is this how motion sensors work?](https://discourse.processing.org/t/is-this-how-motion-sensors-work/31792)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 3\
**Last updated:** [August 19, 2021, 8:31pm UTC](https://discourse.processing.org/t/is-this-how-motion-sensors-work/31792 "2021-08-19T20:31:44Z")

</div>

color\[\] firstframe; color\[\] secondframe; int i= 1; int x; int y; void draw(){ firstframe\[i\]=get(x,y); delay(500); secondframe\[i\]=get(x,y); if (firstframe\[i\]==secondframe\[i\]){ i++; y++; if(y==…

---

## [Processing in BlueJ/Greenfoot](https://discourse.processing.org/t/processing-in-bluej-greenfoot/28766)

<div class="topic-metadata">

**Author:** [@crimsonwombat](https://discourse.processing.org/u/crimsonwombat)\
**Replies:** 13\
**Last updated:** [August 19, 2021, 4:01pm UTC](https://discourse.processing.org/t/processing-in-bluej-greenfoot/28766 "2021-08-19T16:01:37Z")

</div>

I know this gets asked from time to time and I’ve gone through all the instructions I can find (this did work once upon a time but …) Some background: I teach a high school CS2 course in object oriented design and we st…

---

## [Javax.crypto not resolving](https://discourse.processing.org/t/javax-crypto-not-resolving/8708)

<div class="topic-metadata">

**Author:** [@Carlosmarcab](https://discourse.processing.org/u/Carlosmarcab)\
**Replies:** 9\
**Last updated:** [August 19, 2021, 4:30pm UTC](https://discourse.processing.org/t/javax-crypto-not-resolving/8708 "2021-08-19T16:30:24Z")

</div>

Hi! So I’m trying to import javax.crypto.\* but it keeps saying that the import cannot be resolved. I’ve tried everything i’ve been able to think about. I’ve tried the other packages in javax and all seem fine, ive tried…

---

## [Letter boundary offset](https://discourse.processing.org/t/letter-boundary-offset/6976)

<div class="topic-metadata">

**Author:** [@hzamani](https://discourse.processing.org/u/hzamani)\
**Replies:** 4\
**Last updated:** [August 19, 2021, 12:50pm UTC](https://discourse.processing.org/t/letter-boundary-offset/6976 "2021-08-19T12:50:00Z")

</div>

Hi all. Newbie here. Sorry if this has been asked before but I was looking to do something like the image below. Any clues as to where to start? I have googled a lot with no luck as of yet. Basically what I’m looking f…

---

## [Some problem with shadertoy to processing！](https://discourse.processing.org/t/some-problem-with-shadertoy-to-processing/31742)

<div class="topic-metadata">

**Author:** [@AbleYudada](https://discourse.processing.org/u/AbleYudada)\
**Replies:** 17\
**Last updated:** [August 19, 2021, 8:31am UTC](https://discourse.processing.org/t/some-problem-with-shadertoy-to-processing/31742 "2021-08-19T08:31:37Z")

</div>

Hi guys! I am learning something about the shader. I try to convert the code from shadertoy to processing, but it seems that everything is ok but it runs without any effect. Can anyone give some suggestions? This is pr…

---

## [Smooth animation/interpolation](https://discourse.processing.org/t/smooth-animation-interpolation/31623)

<div class="topic-metadata">

**Author:** [@anoniim](https://discourse.processing.org/u/anoniim)\
**Replies:** 5\
**Last updated:** [August 19, 2021, 2:44am UTC](https://discourse.processing.org/t/smooth-animation-interpolation/31623 "2021-08-19T02:44:30Z")

</div>

When animating a property of an object, I’d like the property to change slowly at first, then speed up and slow down at the end again. For linear change, there is the lerp() method in Processing PApplet for linear inter…

---

## [How to create a clipping mask that preserves transparency?](https://discourse.processing.org/t/how-to-create-a-clipping-mask-that-preserves-transparency/16093)

<div class="topic-metadata">

**Author:** [@aNew](https://discourse.processing.org/u/aNew)\
**Replies:** 6\
**Last updated:** [August 18, 2021, 3:37pm UTC](https://discourse.processing.org/t/how-to-create-a-clipping-mask-that-preserves-transparency/16093 "2021-08-18T15:37:02Z")

</div>

I’ve been trying to implement clipping masks for a project and have come up against a roadblock. I want to be able to mask over a PGraphics object that has some transparent pixels while retaining that transparency. The c…

---

## [Web Assembly (WASM) best practices for p5.js andeditor.p5js.org?](https://discourse.processing.org/t/web-assembly-wasm-best-practices-for-p5-js-andeditor-p5js-org/28111)

<div class="topic-metadata">

**Author:** [@danbri](https://discourse.processing.org/u/danbri)\
**Replies:** 2\
**Last updated:** [August 18, 2021, 10:54pm UTC](https://discourse.processing.org/t/web-assembly-wasm-best-practices-for-p5-js-andeditor-p5js-org/28111 "2021-08-18T22:54:07Z")

</div>

Hello! I spent a while making sure this post had lots of useful links, but couldn’t post it because new users only get 2 links. Which is fair enough but I feel I’m being needy if I just ask without trying to share what …

---

## [Animating maths in p5.js](https://discourse.processing.org/t/animating-maths-in-p5-js/31583)

<div class="topic-metadata">

**Author:** [@two.ticks](https://discourse.processing.org/u/two.ticks)\
**Replies:** 2\
**Last updated:** [August 18, 2021, 6:30pm UTC](https://discourse.processing.org/t/animating-maths-in-p5-js/31583 "2021-08-18T18:30:41Z")

</div>

Hi everyone! I have been working on animating text, TeX and geometric shapes in GSoC’21 with mentors @Jithin and @mcintyre. I would like to share some of the results here with the community. You can see the library at G…

---

## [Dealing with editing large images](https://discourse.processing.org/t/dealing-with-editing-large-images/26846)

<div class="topic-metadata">

**Author:** [@tinywitchdraws](https://discourse.processing.org/u/tinywitchdraws)\
**Replies:** 3\
**Last updated:** [August 4, 2021, 5:44pm UTC](https://discourse.processing.org/t/dealing-with-editing-large-images/26846 "2021-08-04T17:44:40Z")

</div>

Hi all, I’m working on a little p5js app that will take an image and convert the brightness to opacity. So far, it works well but it crashes the browser when editing large images. here’s the code: https://editor.p5js.or…

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

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