-
Equation Question
I have a circle shape layer rigged on a slider to grow from scale 0-100, and then divide into n^2 circles. I want to keep the returned grid of circles in the center of the comp, but I don’t know what the equation is for the x position.
Anybody know what the question marks should be?
n = thisComp.layer(“Control”).effect(“Slider Control”)(“Slider”);
if (n <= 1){
[960,540];
}else{
[???????,540/Math.round(n)];
}