i want to be able to customize it for other size
1-
example change the code for comp size of 40×40
and a grid of 10 pixel
2-
be able to control the section of the random exaple bettween the col 10 and 15
it not working
what did i do wrong
v = 40; //grid size
a = 2; //mincol 0
b = 3; //maxcol 27
c = 2; //minrow 0
d = 3; //maxrow 5
num = random ( 0.1, 0.5); //speed
holdTime = num; //time to hold each position (seconds)
seed = Math.floor(time/holdTime);
seedRandom(seed,true);
col = Math.floor(random(a,b));
row = Math.floor(random(c,d));
[col*v+(v/2),row*v+(v/2)]