# Latest

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

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

**Page:** 255

---

## [Using processing in netbeans P2D/P3D library link/load error on OSX](https://discourse.processing.org/t/using-processing-in-netbeans-p2d-p3d-library-link-load-error-on-osx/24225)

<div class="topic-metadata">

**Author:** [@mala](https://discourse.processing.org/u/mala)\
**Replies:** 3\
**Last updated:** [February 14, 2021, 10:25am UTC](https://discourse.processing.org/t/using-processing-in-netbeans-p2d-p3d-library-link-load-error-on-osx/24225 "2021-02-14T10:25:21Z")

</div>

I have built a library in netbeans that uses processing core.jar and jogl & gluegen jars. If I export the lib and then use it within processing (i.e import it to processing and ref classes) a simple test sketch will ru…

---

## [\[Solved\] How to install on Arch Linux x86\_64](https://discourse.processing.org/t/solved-how-to-install-on-arch-linux-x86-64/27782)

<div class="topic-metadata">

**Author:** [@mb668](https://discourse.processing.org/u/mb668)\
**Replies:** 4\
**Last updated:** [February 14, 2021, 8:42am UTC](https://discourse.processing.org/t/solved-how-to-install-on-arch-linux-x86-64/27782 "2021-02-14T08:42:31Z")

</div>

Pretty much the title. The AUR is not working for me with one of the files failing a validity test. \[mb668@NUC6-arch ~\]$ yay -S processing :: There are 2 providers available for processing: :: Repository AUR 1) proc…

---

## [Processing and webpage](https://discourse.processing.org/t/processing-and-webpage/27799)

<div class="topic-metadata">

**Author:** [@yanze03](https://discourse.processing.org/u/yanze03)\
**Replies:** 1\
**Last updated:** [February 14, 2021, 12:58am UTC](https://discourse.processing.org/t/processing-and-webpage/27799 "2021-02-14T00:58:25Z")

</div>

It is possible to get data from a webpage into your processing sketch. I know how to get pictures from the internet into the skecth or how to link to a website. But can you go the other way around? Is it possible to for …

---

## [Need help decoding incoming byte](https://discourse.processing.org/t/need-help-decoding-incoming-byte/27644)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 10\
**Last updated:** [February 14, 2021, 12:37am UTC](https://discourse.processing.org/t/need-help-decoding-incoming-byte/27644 "2021-02-14T00:37:29Z")

</div>

\#include \<MsTimer2.h\> #include \<Arduino.h\> // FMS PIC protocol for connecting a PPM stream to a PC. // http://modelsimulator.com/ // // Implements the 19200 baud FMS PIC protocol // Converted from code by // Richard.Pr…

---

## [High CPU / Crash under IOS Safari using p5 Audio js](https://discourse.processing.org/t/high-cpu-crash-under-ios-safari-using-p5-audio-js/27798)

<div class="topic-metadata">

**Author:** [@Skuenzl](https://discourse.processing.org/u/Skuenzl)\
**Replies:** 1\
**Last updated:** [February 14, 2021, 12:12am UTC](https://discourse.processing.org/t/high-cpu-crash-under-ios-safari-using-p5-audio-js/27798 "2021-02-14T00:12:53Z")

</div>

Hey ive using the Audio lib for my shooter game but at several times the sounds crashes my game (on mac and iphone) seems the sound is the Problem if i only load the shoot sound, the browser Crashes after a while. i mak…

---

## [P5-manager install errors (deprecated)](https://discourse.processing.org/t/p5-manager-install-errors-deprecated/27808)

<div class="topic-metadata">

**Author:** [@rmodesi](https://discourse.processing.org/u/rmodesi)\
**Replies:** 2\
**Last updated:** [February 13, 2021, 11:27pm UTC](https://discourse.processing.org/t/p5-manager-install-errors-deprecated/27808 "2021-02-13T23:27:47Z")

</div>

sudo npm install -g p5-manager gives me the following errors: npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated babel-preset-…

---

## [Image() is slow](https://discourse.processing.org/t/image-is-slow/27748)

<div class="topic-metadata">

**Author:** [@molo32](https://discourse.processing.org/u/molo32)\
**Replies:** 4\
**Last updated:** [February 13, 2021, 10:58pm UTC](https://discourse.processing.org/t/image-is-slow/27748 "2021-02-13T22:58:57Z")

</div>

I made an asteroid video game, each asteroid breaking into hundreds of pieces, and those pieces breaking into hundreds of pieces. you can imagine how many fragments there are. each fragment takes a random direction. ea…

---

## [Really need help with a simple dungeon generator!](https://discourse.processing.org/t/really-need-help-with-a-simple-dungeon-generator/27795)

<div class="topic-metadata">

**Author:** [@ekay](https://discourse.processing.org/u/ekay)\
**Replies:** 4\
**Last updated:** [February 13, 2021, 9:23pm UTC](https://discourse.processing.org/t/really-need-help-with-a-simple-dungeon-generator/27795 "2021-02-13T21:23:17Z")

</div>

Hi everyone! I am trying to create a random dungeon generator. I am at a very basic stage - I have set up an array filled with 0s called ‘activities’ and I am trying to randomly generate a square/rectangle of 1s randomly…

---

## [Announcing Processing Community Day Brazil 2021](https://discourse.processing.org/t/announcing-processing-community-day-brazil-2021/27756)

<div class="topic-metadata">

**Author:** [@mrizzolli](https://discourse.processing.org/u/mrizzolli)\
**Replies:** 3\
**Last updated:** [February 13, 2021, 8:20pm UTC](https://discourse.processing.org/t/announcing-processing-community-day-brazil-2021/27756 "2021-02-13T20:20:57Z")

</div>

We are planning PCD Brazil to happen remotely, from April 11th to April 17th. Right now, we are on open call, until February 28th, so people can submit to run workshops, talks, showcases, etc. We are also planning to h…

---

## [Infinite Loops using Multithreading](https://discourse.processing.org/t/infinite-loops-using-multithreading/27760)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 1\
**Last updated:** [February 13, 2021, 8:12pm UTC](https://discourse.processing.org/t/infinite-loops-using-multithreading/27760 "2021-02-13T20:12:47Z")

</div>

I have a program where I open a .exe file using the Process class in java (and Runtime). The function that does this returns the output of the exe file when a command is sent. Here is the method: public String getOutp…

---

## [Function for ArrayList (ArrayList as parameter)](https://discourse.processing.org/t/function-for-arraylist-arraylist-as-parameter/27759)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 6\
**Last updated:** [February 13, 2021, 8:10pm UTC](https://discourse.processing.org/t/function-for-arraylist-arraylist-as-parameter/27759 "2021-02-13T20:10:17Z")

</div>

Hi, I am trying to make a function that takes an arraylist and an object as input and checks if the object is in the arraylist. My idea is something like: boolean includes(Cell\[\] grid2, Cell tjek){ for (int i=0;i\<grid…

---

## [Can someone please help me with making the ball bounce off of the black square? I have been at this for days and have gotten nowhere](https://discourse.processing.org/t/can-someone-please-help-me-with-making-the-ball-bounce-off-of-the-black-square-i-have-been-at-this-for-days-and-have-gotten-nowhere/27779)

<div class="topic-metadata">

**Author:** [@cocopuffs](https://discourse.processing.org/u/cocopuffs)\
**Replies:** 7\
**Last updated:** [February 13, 2021, 5:42pm UTC](https://discourse.processing.org/t/can-someone-please-help-me-with-making-the-ball-bounce-off-of-the-black-square-i-have-been-at-this-for-days-and-have-gotten-nowhere/27779 "2021-02-13T17:42:42Z")

</div>

int x, y, vx, vy; void setup(){ size(200,200); x = (int)random(10, 100); y = (int)random(10, 100); vx = (int)random(1, 1); vy = (int)random(1, 1); } void draw(){ background(255); fill(0); rect(0, 0, 30, 30); …

---

## [Need help with this code](https://discourse.processing.org/t/need-help-with-this-code/27791)

<div class="topic-metadata">

**Author:** [@LxnaDark](https://discourse.processing.org/u/LxnaDark)\
**Replies:** 2\
**Last updated:** [February 13, 2021, 4:28pm UTC](https://discourse.processing.org/t/need-help-with-this-code/27791 "2021-02-13T16:28:46Z")

</div>

I want the characters I type to be printed. When I press a letter key and SHIFT, I just want an upper letter to be printed. The problem is, when I press a letter key and shift, the upper version of this letter is printe…

---

## [Column values from CSV arranged in a grid](https://discourse.processing.org/t/column-values-from-csv-arranged-in-a-grid/27794)

<div class="topic-metadata">

**Author:** [@xiiixiii](https://discourse.processing.org/u/xiiixiii)\
**Replies:** 9\
**Last updated:** [February 13, 2021, 3:47pm UTC](https://discourse.processing.org/t/column-values-from-csv-arranged-in-a-grid/27794 "2021-02-13T15:47:50Z")

</div>

Hi there I’ve been using Processing for years, but am stumped by what I think might be quite simple - I have searched but with no luck. My aim is to take a list of string values from a column in a CSV and arrange them …

---

## [Draw ellipse after 2 sec](https://discourse.processing.org/t/draw-ellipse-after-2-sec/27792)

<div class="topic-metadata">

**Author:** [@vestergaard12](https://discourse.processing.org/u/vestergaard12)\
**Replies:** 2\
**Last updated:** [February 13, 2021, 3:35pm UTC](https://discourse.processing.org/t/draw-ellipse-after-2-sec/27792 "2021-02-13T15:35:20Z")

</div>

Hello Processing foundation I want my code to create new random (x,y) ellipses with an interval of 2 seconds. So when you start the code it will after two seconds draw an ellipse (at a random(x,y)), and then after anot…

---

## [Infinite, random, non-repeating 2d terrain generation](https://discourse.processing.org/t/infinite-random-non-repeating-2d-terrain-generation/27716)

<div class="topic-metadata">

**Author:** [@spaces](https://discourse.processing.org/u/spaces)\
**Replies:** 5\
**Last updated:** [February 13, 2021, 12:50pm UTC](https://discourse.processing.org/t/infinite-random-non-repeating-2d-terrain-generation/27716 "2021-02-13T12:50:46Z")

</div>

Dear programmers, I’m new to the Forum and not new to Processing Java mode. I’ve been searching on the Internet for days to find an algorithm that is able to generate 2d terrain endlessly, and randomly but also natural…

---

## [Extracting current date and time](https://discourse.processing.org/t/extracting-current-date-and-time/27754)

<div class="topic-metadata">

**Author:** [@proc8888](https://discourse.processing.org/u/proc8888)\
**Replies:** 3\
**Last updated:** [February 13, 2021, 12:42pm UTC](https://discourse.processing.org/t/extracting-current-date-and-time/27754 "2021-02-13T12:42:34Z")

</div>

How do I extract current date and current time? The ‘Time & Date’ functions in Processing org reference (online) has individual fields for year, month, day, hour etc. Instead, I would like to extract the whole current …

---

## [Need help to solve (skyscraper)](https://discourse.processing.org/t/need-help-to-solve-skyscraper/27685)

<div class="topic-metadata">

**Author:** [@Sett](https://discourse.processing.org/u/Sett)\
**Replies:** 26\
**Last updated:** [February 13, 2021, 8:00am UTC](https://discourse.processing.org/t/need-help-to-solve-skyscraper/27685 "2021-02-13T08:00:05Z")

</div>

please format code with \</\> button \* homework policy \* asking questions String storey = " “; String tokens=split(storey,”,"); int level ={0,1,2,3,4,5,6,7,8,9,10}; int j = 0; void setup() { size(1000,1000); back…

---

## [How can i show only a certain number of members of an Array?](https://discourse.processing.org/t/how-can-i-show-only-a-certain-number-of-members-of-an-array/27727)

<div class="topic-metadata">

**Author:** [@nicnut](https://discourse.processing.org/u/nicnut)\
**Replies:** 7\
**Last updated:** [February 13, 2021, 2:01am UTC](https://discourse.processing.org/t/how-can-i-show-only-a-certain-number-of-members-of-an-array/27727 "2021-02-13T02:01:04Z")

</div>

Hi, I have always been bad with Arrays, maybe someone can help me out. I am trying to create an interactive Processing sketch, where I send OSC messages into Processing, which I have worked out. I took one of the exam…

---

## [Android\_101: ButtonClass\_single](https://discourse.processing.org/t/android-101-buttonclass-single/27774)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 0\
**Last updated:** [February 12, 2021, 9:02pm UTC](https://discourse.processing.org/t/android-101-buttonclass-single/27774 "2021-02-12T21:02:22Z")

</div>

/\* Creates button from a generic Button class. Syntax: name = new Button( x, y, w, h, "title", btnColor, txtColor); \*/ // Button names Button \_btn1; Button \_btn2; Button \_label; Button \_quit; color BLUE = co…

---

## [Finding problem with A\* algorithm](https://discourse.processing.org/t/finding-problem-with-a-algorithm/27773)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 0\
**Last updated:** [February 12, 2021, 8:50pm UTC](https://discourse.processing.org/t/finding-problem-with-a-algorithm/27773 "2021-02-12T20:50:19Z")

</div>

Hi I am trying to to make a pathfinding system with the A\* algorithm and I have tried to make my own but that didn’t seem to work so I tried to make the one from the coding challenge by The coding train. I am close to ma…

---

## [What java libaries are default in processing?](https://discourse.processing.org/t/what-java-libaries-are-default-in-processing/27737)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 3\
**Last updated:** [February 12, 2021, 7:13pm UTC](https://discourse.processing.org/t/what-java-libaries-are-default-in-processing/27737 "2021-02-12T19:13:14Z")

</div>

Hi! I recently started looking into java libraries. I tried a few libraries and saw that the java.event.KeyListener looks and works exactly like void keyPressed() keyReleased() keyTyped() Which other libraries are in …

---

## [Scalable chart graphics](https://discourse.processing.org/t/scalable-chart-graphics/27763)

<div class="topic-metadata">

**Author:** [@xbix](https://discourse.processing.org/u/xbix)\
**Replies:** 4\
**Last updated:** [February 12, 2021, 5:21pm UTC](https://discourse.processing.org/t/scalable-chart-graphics/27763 "2021-02-12T17:21:35Z")

</div>

I want to create good scalable chart graphics, are there any good tutorials about this topic? Or maybe someone would like to share his ideas about this topic? Thanks a lot!

---

## [How do I calculate the width of a string in pixels?](https://discourse.processing.org/t/how-do-i-calculate-the-width-of-a-string-in-pixels/27762)

<div class="topic-metadata">

**Author:** [@xbix](https://discourse.processing.org/u/xbix)\
**Replies:** 1\
**Last updated:** [February 12, 2021, 4:14pm UTC](https://discourse.processing.org/t/how-do-i-calculate-the-width-of-a-string-in-pixels/27762 "2021-02-12T16:14:44Z")

</div>

How to calculate the width of a String in pixels in Processing? For e.g., I have a string that says “Processing”. What is its length in pixels, also considering its font family and size? Thanks in advance!

---

## [How to draw on a video](https://discourse.processing.org/t/how-to-draw-on-a-video/27642)

<div class="topic-metadata">

**Author:** [@skypickle](https://discourse.processing.org/u/skypickle)\
**Replies:** 8\
**Last updated:** [February 12, 2021, 1:02pm UTC](https://discourse.processing.org/t/how-to-draw-on-a-video/27642 "2021-02-12T13:02:46Z")

</div>

This sketch below puts up a video on the upper part of a light blue canvas. When the mouse is pressed, I can draw a line on the canvas but wherevere there is video, the line is not persistent. let capture; function set…

---

## [G4P - Click on panel disables button](https://discourse.processing.org/t/g4p-click-on-panel-disables-button/27730)

<div class="topic-metadata">

**Author:** [@blerk](https://discourse.processing.org/u/blerk)\
**Replies:** 5\
**Last updated:** [February 12, 2021, 12:12pm UTC](https://discourse.processing.org/t/g4p-click-on-panel-disables-button/27730 "2021-02-12T12:12:30Z")

</div>

Hello! I found that if i click on a not collapsible panel (without dragging) it disables buttons. Is that expected behaviour? If yes, can I change it? Here is some code to exemplify what i mean: main import g4p\_contr…

---

## [Chladni patterns & interference patterns code understanding](https://discourse.processing.org/t/chladni-patterns-interference-patterns-code-understanding/17766)

<div class="topic-metadata">

**Author:** [@Ruchi](https://discourse.processing.org/u/Ruchi)\
**Replies:** 3\
**Last updated:** [February 11, 2021, 4:35am UTC](https://discourse.processing.org/t/chladni-patterns-interference-patterns-code-understanding/17766 "2021-02-11T04:35:42Z")

</div>

Chladni Pattern Interference Pattern I am referring to these patterns code by carlos ponce in open processing. I can’t seem to understand a bit of what is actually causing pattern. Dissecting it bit by bit but intuiti…

---

## [mousePressed() callback function inside object](https://discourse.processing.org/t/mousepressed-callback-function-inside-object/27753)

<div class="topic-metadata">

**Author:** [@jasonhallen](https://discourse.processing.org/u/jasonhallen)\
**Replies:** 4\
**Last updated:** [February 12, 2021, 3:44am UTC](https://discourse.processing.org/t/mousepressed-callback-function-inside-object/27753 "2021-02-12T03:44:32Z")

</div>

Hi everyone, I started learning p5.js a couple weeks ago and have been working on my first big project. I’m having a hard time troubleshooting an issue involving mousePressed() used inside of an object. Here’s a simpl…

---

## [Examples of 3D Alluvial Plots?](https://discourse.processing.org/t/examples-of-3d-alluvial-plots/27739)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 3\
**Last updated:** [February 11, 2021, 11:02pm UTC](https://discourse.processing.org/t/examples-of-3d-alluvial-plots/27739 "2021-02-11T23:02:36Z")

</div>

Do you know of any libraries or projects that use some sort of 3-D alluvial plot to plot data with processing (obviously)?

---

## [Algorithms for penrose tiling patterns](https://discourse.processing.org/t/algorithms-for-penrose-tiling-patterns/27741)

<div class="topic-metadata">

**Author:** [@daniel.tran](https://discourse.processing.org/u/daniel.tran)\
**Replies:** 3\
**Last updated:** [February 11, 2021, 9:48pm UTC](https://discourse.processing.org/t/algorithms-for-penrose-tiling-patterns/27741 "2021-02-11T21:48:08Z")

</div>

Hello, I was hoping to restart this thread from the user spinvector: I want to ask if anyone has any experience in this. They appear to be quite tricky to generate, as they don’t have translation symmetries. So I don’…

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

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