Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Changing the value of an array with a slider

$
0
0

I have an array that creates ellipses on the screen (Nodes), I want to be able to change the amount of nodes that are on the screen whilst the app is running with a p5 slider.

Node[] nodes = new Node[25];

Basically I want to be able to change the [25] value with a slider... is this even possible if so could someone give me some pointers please :)

I'm relatively new to all manner of code so sorry if this is a stupid question


Viewing all articles
Browse latest Browse all 2896

Trending Articles