# Processing

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

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

**Page:** 149

---

## [Perlin Noise Precision](https://discourse.processing.org/t/perlin-noise-precision/27999)

<div class="topic-metadata">

**Author:** [@cfloutier](https://discourse.processing.org/u/cfloutier)\
**Replies:** 0\
**Last updated:** [February 22, 2021, 12:59pm UTC](https://discourse.processing.org/t/perlin-noise-precision/27999 "2021-02-22T12:59:48Z")

</div>

Hello all? i’m glad to be part of the processing community. and i’ll try to help my best. I’ve got recent issues using the noise function. the precision was not excellent. for instance a simple curve taken from the noi…

---

## [Clickable 2d Grid](https://discourse.processing.org/t/clickable-2d-grid/27961)

<div class="topic-metadata">

**Author:** [@Gine2g](https://discourse.processing.org/u/Gine2g)\
**Replies:** 12\
**Last updated:** [February 21, 2021, 10:22pm UTC](https://discourse.processing.org/t/clickable-2d-grid/27961 "2021-02-21T22:22:18Z")

</div>

I got the code below to create a grid with an array. Now I want to be able to change the color of on square by clicking on it and also change it back when clicked again. How would I do that? Right now the Color of the s…

---

## [Questions regarding my rasterized poster](https://discourse.processing.org/t/questions-regarding-my-rasterized-poster/27903)

<div class="topic-metadata">

**Author:** [@Rindoom](https://discourse.processing.org/u/Rindoom)\
**Replies:** 7\
**Last updated:** [February 21, 2021, 7:29pm UTC](https://discourse.processing.org/t/questions-regarding-my-rasterized-poster/27903 "2021-02-21T19:29:54Z")

</div>

Hey, guys. I was really inspired by one of the generative posters created by the extremely talented Tim Rodenbröker (https://www.instagram.com/p/B8oM8r7i1ns/?utm\_source=ig\_web\_copy\_link), so I tried to create something s…

---

## [Help! need assistance on including a void in an if statement? is it possible?](https://discourse.processing.org/t/help-need-assistance-on-including-a-void-in-an-if-statement-is-it-possible/27978)

<div class="topic-metadata">

**Author:** [@newbie1](https://discourse.processing.org/u/newbie1)\
**Replies:** 4\
**Last updated:** [February 21, 2021, 6:19pm UTC](https://discourse.processing.org/t/help-need-assistance-on-including-a-void-in-an-if-statement-is-it-possible/27978 "2021-02-21T18:19:37Z")

</div>

Hi, this is something that I am working on for a college project, is it possible to put the void eyes() into the snowman head? void setup() { size(1280, 720); background(55, 126, 231); fill(255); rect(0, 610, width,…

---

## [Grafica/ Gplot, GLayer, GPoint](https://discourse.processing.org/t/grafica-gplot-glayer-gpoint/27979)

<div class="topic-metadata">

**Author:** [@xD\_echicero\_xD](https://discourse.processing.org/u/xD_echicero_xD)\
**Replies:** 0\
**Last updated:** [February 21, 2021, 4:36pm UTC](https://discourse.processing.org/t/grafica-gplot-glayer-gpoint/27979 "2021-02-21T16:36:45Z")

</div>

Hello and thanks for read this post. My question is about Gplot, GLayer, GPoint. i read the index but i can’t understand it. if someone can explain me it and get me a example. i would appreciate it. Examples in index; …

---

## [Diffusion Algorithm (CC #13)](https://discourse.processing.org/t/diffusion-algorithm-cc-13/27976)

<div class="topic-metadata">

**Author:** [@technodruid](https://discourse.processing.org/u/technodruid)\
**Replies:** 0\
**Last updated:** [February 21, 2021, 3:30pm UTC](https://discourse.processing.org/t/diffusion-algorithm-cc-13/27976 "2021-02-21T15:30:35Z")

</div>

I wanted to port Dan’s p5.js code to processing using vectors as my objects. I can get it to run using a component-wise function for the laplace of each A and B like he does in his YouTube Video. My problem is getting …

---

## [Cellular Automata (From Coding Train](https://discourse.processing.org/t/cellular-automata-from-coding-train/27955)

<div class="topic-metadata">

**Author:** [@technodruid](https://discourse.processing.org/u/technodruid)\
**Replies:** 2\
**Last updated:** [February 21, 2021, 3:27pm UTC](https://discourse.processing.org/t/cellular-automata-from-coding-train/27955 "2021-02-21T15:27:34Z")

</div>

Hi All! So I was playing around with the coding train code for Dan’s Game of Life Simulation. I wanted to change the rules, I did, and it worked great. I started to think about tracking state changes with a counter and…

---

## [Grid From Objects - Array Out of Bounds](https://discourse.processing.org/t/grid-from-objects-array-out-of-bounds/27964)

<div class="topic-metadata">

**Author:** [@L0RDZed](https://discourse.processing.org/u/L0RDZed)\
**Replies:** 2\
**Last updated:** [February 21, 2021, 2:12pm UTC](https://discourse.processing.org/t/grid-from-objects-array-out-of-bounds/27964 "2021-02-21T14:12:48Z")

</div>

Hey, I’m trying to use a for loop to create a grid of objects and getting an out-of-bounds issue. I can’t get int k to increment through the inner loop…actually, when I place it in the outer for loop it increments and pr…

---

## [Problem with Game Control Plus library button pressed](https://discourse.processing.org/t/problem-with-game-control-plus-library-button-pressed/27887)

<div class="topic-metadata">

**Author:** [@cha](https://discourse.processing.org/u/cha)\
**Replies:** 2\
**Last updated:** [February 21, 2021, 11:45am UTC](https://discourse.processing.org/t/problem-with-game-control-plus-library-button-pressed/27887 "2021-02-21T11:45:56Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi I’m new to processing and trying to control my robot arm using an USB game controller(armor3 wired controller) through processing. While usi…

---

## [Sketch won't work in HTML](https://discourse.processing.org/t/sketch-wont-work-in-html/27969)

<div class="topic-metadata">

**Author:** [@sreyba](https://discourse.processing.org/u/sreyba)\
**Replies:** 1\
**Last updated:** [February 21, 2021, 5:04am UTC](https://discourse.processing.org/t/sketch-wont-work-in-html/27969 "2021-02-21T05:04:48Z")

</div>

Hi all - I’m a newbie with a question. I was working with my Arduino and one of the samples used PDE. I liked the example and wanted to modify a bit and place it on my web page. I stripped out the Arduino commands and …

---

## [Very confused about my PrintWriter object](https://discourse.processing.org/t/very-confused-about-my-printwriter-object/27967)

<div class="topic-metadata">

**Author:** [@Math\_Machine](https://discourse.processing.org/u/Math_Machine)\
**Replies:** 0\
**Last updated:** [February 21, 2021, 12:58am UTC](https://discourse.processing.org/t/very-confused-about-my-printwriter-object/27967 "2021-02-21T00:58:19Z")

</div>

Okay, so, I’m making a calculator. I started using the PrintWriter and BufferedReader objects so I could save previously entered problems, even after I exit the sketch. Problem is, it kinda has to save a lot of data to …

---

## [Object Creation in a Program](https://discourse.processing.org/t/object-creation-in-a-program/27874)

<div class="topic-metadata">

**Author:** [@dtools22](https://discourse.processing.org/u/dtools22)\
**Replies:** 6\
**Last updated:** [February 20, 2021, 3:13am UTC](https://discourse.processing.org/t/object-creation-in-a-program/27874 "2021-02-20T03:13:37Z")

</div>

Hello All, I have a more generic code theory question. I have a program I am writing that is a companion program for a board game. As the board game develops, more pieces are added to the board. The board initially h…

---

## [Is there big differences between Repl.it and the Processing IDE?](https://discourse.processing.org/t/is-there-big-differences-between-repl-it-and-the-processing-ide/27943)

<div class="topic-metadata">

**Author:** [@spamelim](https://discourse.processing.org/u/spamelim)\
**Replies:** 5\
**Last updated:** [February 20, 2021, 2:16am UTC](https://discourse.processing.org/t/is-there-big-differences-between-repl-it-and-the-processing-ide/27943 "2021-02-20T02:16:55Z")

</div>

For class, I use the website repl.it and code fully in processing on it. It’s not meant to use processing but my professor uses some sort of plugin that makes it work. Anyways, for any complex projects, usually, one with…

---

## [Future compatibility, processing vanilla](https://discourse.processing.org/t/future-compatibility-processing-vanilla/27933)

<div class="topic-metadata">

**Author:** [@av\_kafka](https://discourse.processing.org/u/av_kafka)\
**Replies:** 5\
**Last updated:** [February 19, 2021, 6:07pm UTC](https://discourse.processing.org/t/future-compatibility-processing-vanilla/27933 "2021-02-19T18:07:26Z")

</div>

Hi everyone! Questions from a new processing user, hope someone might point me towards docs, info etc. I’m involved with keeping some old pieces for live-electronics audio+video alive. Typically they’re laid out in so…

---

## [Convert String Array to int / float (loadStrings)](https://discourse.processing.org/t/convert-string-array-to-int-float-loadstrings/27695)

<div class="topic-metadata">

**Author:** [@librakl](https://discourse.processing.org/u/librakl)\
**Replies:** 9\
**Last updated:** [February 19, 2021, 3:12pm UTC](https://discourse.processing.org/t/convert-string-array-to-int-float-loadstrings/27695 "2021-02-19T15:12:41Z")

</div>

Hello there, i have an csv file with a lot of numbers inside, which are seperated with “,” (. This file is supposed to make a map out of the numbers. First problem i got is to convert this into String, because i wanna …

---

## [Blue border/margin around rectangle](https://discourse.processing.org/t/blue-border-margin-around-rectangle/27896)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 2\
**Last updated:** [February 19, 2021, 10:53am UTC](https://discourse.processing.org/t/blue-border-margin-around-rectangle/27896 "2021-02-19T10:53:43Z")

</div>

I’m facing a weird problem. When I draw a rectangle as part of my HUD, it is drawn with a blue border even though I don’t actually ever specify this color in my code anywhere. Do you have any idea why this is and how to …

---

## [Need help on beginner project (Snake)](https://discourse.processing.org/t/need-help-on-beginner-project-snake/27908)

<div class="topic-metadata">

**Author:** [@luckduck312](https://discourse.processing.org/u/luckduck312)\
**Replies:** 7\
**Last updated:** [February 19, 2021, 8:13am UTC](https://discourse.processing.org/t/need-help-on-beginner-project-snake/27908 "2021-02-19T08:13:12Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi i’m working on making snake with a 2d array. Right now i’m trying to move a single square but i can’t get it to work. When moving up or left …

---

## [Vectors? (The "dynamic array" type of vectors, not the "value and direction" type)](https://discourse.processing.org/t/vectors-the-dynamic-array-type-of-vectors-not-the-value-and-direction-type/27919)

<div class="topic-metadata">

**Author:** [@ProgrammingN00b](https://discourse.processing.org/u/ProgrammingN00b)\
**Replies:** 4\
**Last updated:** [February 18, 2021, 7:57pm UTC](https://discourse.processing.org/t/vectors-the-dynamic-array-type-of-vectors-not-the-value-and-direction-type/27919 "2021-02-18T19:57:19Z")

</div>

Hello everybody! I have had a bit of programming experience with C++ but found it very hard to make anything else then simple “command line applications” with it. So looking for some “beginner friendly GUI stuff”, I ca…

---

## [P5 Control in custom class](https://discourse.processing.org/t/p5-control-in-custom-class/27865)

<div class="topic-metadata">

**Author:** [@xbix](https://discourse.processing.org/u/xbix)\
**Replies:** 5\
**Last updated:** [February 18, 2021, 5:00pm UTC](https://discourse.processing.org/t/p5-control-in-custom-class/27865 "2021-02-18T17:00:38Z")

</div>

I’m trying to add p5 UI to my drawing class, but when I add cp5 = new ControlP5(this); to the constructor I get: "The constructor "ControlP5(myClassName) does not exist. Loading p5 from the setup() works fine. What a…

---

## [Program execution doesn\`t stop when you close the window](https://discourse.processing.org/t/program-execution-doesn-t-stop-when-you-close-the-window/27901)

<div class="topic-metadata">

**Author:** [@dacoconutchemist](https://discourse.processing.org/u/dacoconutchemist)\
**Replies:** 1\
**Last updated:** [February 18, 2021, 10:46am UTC](https://discourse.processing.org/t/program-execution-doesn-t-stop-when-you-close-the-window/27901 "2021-02-18T10:46:01Z")

</div>

I’m making my own programming language for fun and I hava added the goto command. This is the code of the function that executes the code: class Var { char type; String name; Object univ; Var(Object i, String n…

---

## [Rainbow + gradient](https://discourse.processing.org/t/rainbow-gradient/27858)

<div class="topic-metadata">

**Author:** [@Apollo](https://discourse.processing.org/u/Apollo)\
**Replies:** 5\
**Last updated:** [February 18, 2021, 5:37am UTC](https://discourse.processing.org/t/rainbow-gradient/27858 "2021-02-18T05:37:44Z")

</div>

Good day! Can you pretty please assist me here? How can I exactly make this colorful box in processing? The colors got specific positioning… And It really requires some hardcore coding (I think). Thank you in advan…

---

## [How to create textbox on mouseover?](https://discourse.processing.org/t/how-to-create-textbox-on-mouseover/27867)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 3\
**Last updated:** [February 18, 2021, 4:55am UTC](https://discourse.processing.org/t/how-to-create-textbox-on-mouseover/27867 "2021-02-18T04:55:28Z")

</div>

I’m plotting some datapoints in 3D, I would like to display a textbox (with text in it) on mouseover. Do you have any suggestions on how to start? Do you know of any examples, libraries, or code I could use as a template…

---

## [Help needed on loading table and creating search box to search filter data (Bible)](https://discourse.processing.org/t/help-needed-on-loading-table-and-creating-search-box-to-search-filter-data-bible/27870)

<div class="topic-metadata">

**Author:** [@ghost1](https://discourse.processing.org/u/ghost1)\
**Replies:** 12\
**Last updated:** [February 16, 2021, 11:04pm UTC](https://discourse.processing.org/t/help-needed-on-loading-table-and-creating-search-box-to-search-filter-data-bible/27870 "2021-02-16T23:04:20Z")

</div>

Can someone help me figure out how to put the code in to load my data table? Attached is a snapshot of some data, it is just simply two columns, one being verse, and the other being reference. The idea here is I want to…

---

## [Help in writing a stock management code](https://discourse.processing.org/t/help-in-writing-a-stock-management-code/27875)

<div class="topic-metadata">

**Author:** [@zvodca](https://discourse.processing.org/u/zvodca)\
**Replies:** 4\
**Last updated:** [February 17, 2021, 6:44pm UTC](https://discourse.processing.org/t/help-in-writing-a-stock-management-code/27875 "2021-02-17T18:44:41Z")

</div>

Is it possible to write a code for stock managing in processing? If so can i get a code for that purpose?

---

## [PDF / SVG libraries - rectMode(CENTER) not working](https://discourse.processing.org/t/pdf-svg-libraries-rectmode-center-not-working/27878)

<div class="topic-metadata">

**Author:** [@xiiixiii](https://discourse.processing.org/u/xiiixiii)\
**Replies:** 4\
**Last updated:** [February 17, 2021, 2:47pm UTC](https://discourse.processing.org/t/pdf-svg-libraries-rectmode-center-not-working/27878 "2021-02-17T14:47:23Z")

</div>

Hi there So I’ve got a project, I go to export the files, all works as expected except for the rectangles which are now in the wrong positions. Same error with PDF and SVG libraries. Is this a known issue with rectMode…

---

## [App icon Processing 3](https://discourse.processing.org/t/app-icon-processing-3/27884)

<div class="topic-metadata">

**Author:** [@shuptuu](https://discourse.processing.org/u/shuptuu)\
**Replies:** 0\
**Last updated:** [February 17, 2021, 2:08pm UTC](https://discourse.processing.org/t/app-icon-processing-3/27884 "2021-02-17T14:08:04Z")

</div>

Hi, With Processing 3 on windows, the only way I found to set an icon for your app is by adding this: PImage icon = loadImage(“icon.png”); surface.setIcon(icon); Ok, but it’s quite limited cause you can just provide …

---

## [Save spot in grid](https://discourse.processing.org/t/save-spot-in-grid/27882)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 1\
**Last updated:** [February 17, 2021, 12:47pm UTC](https://discourse.processing.org/t/save-spot-in-grid/27882 "2021-02-17T12:47:42Z")

</div>

Hi, I am trying to make a pathfinding system, and the pathfinding part is done however I don’t know how to change the start or end point. Down below is some of my code. Would be nice if i could get some inspiration how t…

---

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

<div class="topic-metadata">

**Author:** [@zvodca](https://discourse.processing.org/u/zvodca)\
**Replies:** 2\
**Last updated:** [February 17, 2021, 4:18am UTC](https://discourse.processing.org/t/need-help-with-code/27845 "2021-02-17T04:18:22Z")

</div>

need help to make the ellipse go reverse and start all over again. want the ellipse to go back and forth on the same route. so far i have managed to move it forward. here is the code i already have; int x = 30; int y…

---

## [Processing to Arduino](https://discourse.processing.org/t/processing-to-arduino/27871)

<div class="topic-metadata">

**Author:** [@saaqib.m](https://discourse.processing.org/u/saaqib.m)\
**Replies:** 4\
**Last updated:** [February 16, 2021, 10:20pm UTC](https://discourse.processing.org/t/processing-to-arduino/27871 "2021-02-16T22:20:31Z")

</div>

Hi, I have an Arduino to Processing connection. I wanted to know if Processing could take in value that in that Arduino code are only read and not printed? So if the Arduino code contained just analogRead() for example …

---

## [blendMode and transparency](https://discourse.processing.org/t/blendmode-and-transparency/27781)

<div class="topic-metadata">

**Author:** [@jensschroder](https://discourse.processing.org/u/jensschroder)\
**Replies:** 6\
**Last updated:** [February 16, 2021, 9:23pm UTC](https://discourse.processing.org/t/blendmode-and-transparency/27781 "2021-02-16T21:23:43Z")

</div>

Hi, First, thank you to all and everyone involved with Processing. I only recently discovered Processing and I instantly found it to be super inspirational. I hope someone can help me with some guidance in relation to …

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

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