Floating Layer Expression
Ideal if you want an layer floating up and down, simulating an an object in bobbing up and down space or water.
It basically shows weightlessness of an object. You can use code this on the layer position and scale.

amp = 250;
freq = 1;
y = amp*Math.sin(time*freq*Math.PI*2);
value + [0,y,0]