Groups > Multimedia > Adobe After Effects expressions > Re: Space layers 'x' apart, but make sure




Space layers 'x' apart, but make sure they land on a whole
pixel

Space layers 'x' apart, but make sure they land on a whole pixel
Fri, 1 Feb 2008 07:44:39 -0800
What would be the best way to take a number of layers and make sure they are 'x'
pixels apart (using a slider), but making sure they are positioned on whole
pixels (to avoid the blurry sub-pixel positioning).

Post Reply
Re: Space layers 'x' apart, but make sure
Fri, 1 Feb 2008 17:28:45 -0800
Probably the easiest way to force a slider to produce only whole number values
is to add the following expression to the slider. This simplifies the other
expressions that are driven by the slider values.

Math.floor(value);

Post Reply
Re: Space layers 'x' apart, but make sure
Wed, 6 Feb 2008 16:11:56 -0800
Post Reply
about | contact