# Processing

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

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

**Page:** 150

---

## [Big Sur and new Macs](https://discourse.processing.org/t/big-sur-and-new-macs/25374)

<div class="topic-metadata">

**Author:** [@mgg](https://discourse.processing.org/u/mgg)\
**Replies:** 7\
**Last updated:** [February 16, 2021, 5:54pm UTC](https://discourse.processing.org/t/big-sur-and-new-macs/25374 "2021-02-16T17:54:46Z")

</div>

Hi all, Wondering if anyone willing to share initial experiences with Processing on the new Mac hardware and “Big Sur” OS11 (OSX 11? OSXI?) … For context, we have a number of semi-permanent and permanent installation…

---

## [Where is the directory to save your .csv data?](https://discourse.processing.org/t/where-is-the-directory-to-save-your-csv-data/27846)

<div class="topic-metadata">

**Author:** [@ghost1](https://discourse.processing.org/u/ghost1)\
**Replies:** 2\
**Last updated:** [February 16, 2021, 2:23pm UTC](https://discourse.processing.org/t/where-is-the-directory-to-save-your-csv-data/27846 "2021-02-16T14:23:27Z")

</div>

where is the directory to save your .csv data?

---

## [Physics simulator](https://discourse.processing.org/t/physics-simulator/27707)

<div class="topic-metadata">

**Author:** [@vestergaard12](https://discourse.processing.org/u/vestergaard12)\
**Replies:** 8\
**Last updated:** [February 16, 2021, 2:21pm UTC](https://discourse.processing.org/t/physics-simulator/27707 "2021-02-16T14:21:40Z")

</div>

Hello Processing Foundation. I have started on a new processing project which is to code this projectile motion simulator: https://ophysics.com/k8.html This simulator shows the path of a ball when thrown at a specific…

---

## [Can someone help me with this? (special graph)](https://discourse.processing.org/t/can-someone-help-me-with-this-special-graph/27838)

<div class="topic-metadata">

**Author:** [@cocopuffs](https://discourse.processing.org/u/cocopuffs)\
**Replies:** 5\
**Last updated:** [February 16, 2021, 7:46am UTC](https://discourse.processing.org/t/can-someone-help-me-with-this-special-graph/27838 "2021-02-16T07:46:33Z")

</div>

So I basically have to create the exact sketch/animation as depicted in the gif. I attached a gif of exactly how it needs to look and animate (you may need to refresh page in a few minutes because I think the gif stops …

---

## [Some adjustments needed (MODIFICATION)](https://discourse.processing.org/t/some-adjustments-needed-modification/27829)

<div class="topic-metadata">

**Author:** [@Apollo](https://discourse.processing.org/u/Apollo)\
**Replies:** 2\
**Last updated:** [February 16, 2021, 2:13am UTC](https://discourse.processing.org/t/some-adjustments-needed-modification/27829 "2021-02-16T02:13:04Z")

</div>

Hello! I don’t know if you already saw this tutorial but check it for your reference (link:Objects / Processing.org) In the tutorial, you created the car object in two instances, each at a different speed of driving. N…

---

## [Processing Q-Learning](https://discourse.processing.org/t/processing-q-learning/27855)

<div class="topic-metadata">

**Author:** [@ctremblay](https://discourse.processing.org/u/ctremblay)\
**Replies:** 0\
**Last updated:** [February 16, 2021, 12:47am UTC](https://discourse.processing.org/t/processing-q-learning/27855 "2021-02-16T00:47:21Z")

</div>

I’m trying to make an enemy with q-learning, but my enemy seems to just run into the wall after a few minutes. He just runs into the wall & runs into the wall. Can someone check my code to see if I’m doing it correct I t…

---

## [Processing Sound Library Errors](https://discourse.processing.org/t/processing-sound-library-errors/27810)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 4\
**Last updated:** [February 15, 2021, 11:34pm UTC](https://discourse.processing.org/t/processing-sound-library-errors/27810 "2021-02-15T23:34:59Z")

</div>

Hello everyone, I was encountering some errors when using the processing sound library. The files load and play fine, but sometimes they just don’t play at all, and this happens usually 2-5 minutes after the program star…

---

## [Basic search box query results](https://discourse.processing.org/t/basic-search-box-query-results/27851)

<div class="topic-metadata">

**Author:** [@ghost1](https://discourse.processing.org/u/ghost1)\
**Replies:** 4\
**Last updated:** [February 15, 2021, 10:26pm UTC](https://discourse.processing.org/t/basic-search-box-query-results/27851 "2021-02-15T22:26:21Z")

</div>

Where can I find code to create a simple search box, and it queries, and returns the results below the search box?

---

## [Help needed on which tutorials and examples I need to look at to create something like this](https://discourse.processing.org/t/help-needed-on-which-tutorials-and-examples-i-need-to-look-at-to-create-something-like-this/27841)

<div class="topic-metadata">

**Author:** [@ghost1](https://discourse.processing.org/u/ghost1)\
**Replies:** 15\
**Last updated:** [February 15, 2021, 5:48pm UTC](https://discourse.processing.org/t/help-needed-on-which-tutorials-and-examples-i-need-to-look-at-to-create-something-like-this/27841 "2021-02-15T17:48:47Z")

</div>

Can someone please advise me in the direction of which tutorial and examples I need to read in order to produce something like this… https://scimaps.org/mapdetail/visualizing\_bible\_cr\_125

---

## [Create a programm you can open files with](https://discourse.processing.org/t/create-a-programm-you-can-open-files-with/27837)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 2:53pm UTC](https://discourse.processing.org/t/create-a-programm-you-can-open-files-with/27837 "2021-02-15T14:53:00Z")

</div>

I have created a programm to process a self-made type of file. Is it possible to rewrite a programm and convert it into a application to open the file. Edit: To clarify I want to wirte a programm that you can select whe…

---

## [How to mark warning/syntax errors in "Processing Language" Extension for VS Code?](https://discourse.processing.org/t/how-to-mark-warning-syntax-errors-in-processing-language-extension-for-vs-code/27772)

<div class="topic-metadata">

**Author:** [@PedroGJ27](https://discourse.processing.org/u/PedroGJ27)\
**Replies:** 2\
**Last updated:** [February 15, 2021, 1:44am UTC](https://discourse.processing.org/t/how-to-mark-warning-syntax-errors-in-processing-language-extension-for-vs-code/27772 "2021-02-15T01:44:12Z")

</div>

Hi, I’m using “Processing Language” extension for Visual Studio Code in Windows, and I already did every step necessary in order to execute successfully a .pde file (which you can find on https://github.com/TobiahZ/proce…

---

## [Loading files gradually causes program to stutter/lag](https://discourse.processing.org/t/loading-files-gradually-causes-program-to-stutter-lag/27812)

<div class="topic-metadata">

**Author:** [@CosmicCrowMC](https://discourse.processing.org/u/CosmicCrowMC)\
**Replies:** 4\
**Last updated:** [February 14, 2021, 6:07pm UTC](https://discourse.processing.org/t/loading-files-gradually-causes-program-to-stutter-lag/27812 "2021-02-14T18:07:50Z")

</div>

I’ve made a game with Processing (in fact, it’s been released on Steam! Search “Enter The Backrooms” if you’re interested!) and some of my players have run into an error: if you reload the game over and over, the game wi…

---

## [How to break up list of hex values?](https://discourse.processing.org/t/how-to-break-up-list-of-hex-values/27814)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 7\
**Last updated:** [February 14, 2021, 6:05pm UTC](https://discourse.processing.org/t/how-to-break-up-list-of-hex-values/27814 "2021-02-14T18:05:36Z")

</div>

I’d like to break up a string of color values and then return it (so I can then use it in my stroke function). However, when I run the following, my code will not render. color colorDeterminer(int class) { color c = …

---

## [My for loop does not work, why?](https://discourse.processing.org/t/my-for-loop-does-not-work-why/27819)

<div class="topic-metadata">

**Author:** [@CloudyToast](https://discourse.processing.org/u/CloudyToast)\
**Replies:** 2\
**Last updated:** [February 14, 2021, 2:04pm UTC](https://discourse.processing.org/t/my-for-loop-does-not-work-why/27819 "2021-02-14T14:04:42Z")

</div>

So i have made this for loop for my game but i does not work, and i have no idea why. for (boolean Blue=true ;Blue=false;) { image(BackGround,0,0); BlueY--; image(BlueCar,282,BlueY); println("Blue For"); if(Bl…

---

## [Someone help me putting an image in the sketch files](https://discourse.processing.org/t/someone-help-me-putting-an-image-in-the-sketch-files/27807)

<div class="topic-metadata">

**Author:** [@Pie](https://discourse.processing.org/u/Pie)\
**Replies:** 2\
**Last updated:** [February 14, 2021, 11:25am UTC](https://discourse.processing.org/t/someone-help-me-putting-an-image-in-the-sketch-files/27807 "2021-02-14T11:25:50Z")

</div>

i tried to create an image and load it but it didn’t work, someone explain to me how i can put an image and load it in my project?

---

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

---

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

---

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

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

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