A Motion Graphics and Visual Effects Resource

See What's New

Video Tutorials

Advanced Screen Replacement Preview

Advanced Screen Replacement

Combine automatic and manual tracking techniques to integrate your effects with live action footage

Watch Now
Rotoscoping Tips and Tricks Preview

Rotoscoping Tips and Tricks

Rotoscope quickly while maintaining accuracy by making After Effects do the hard work for you!

Watch Now
lightbulb

seedRandom

If you've ever played with expressions in After Effects, you've probably does some work with random numbers. For instance the wiggle() function uses random numbers to shake your layer around. The problem is that if you spend a bunch of time getting your expressions just right, and then add a new layer to your composition, all of that work could be ruined. By default, After Effects uses the layer's index to generate the random numbers. This means that if the layer index changes (the layer's number) then any random numbers it uses will also change.So how can you avoid this problem? The solution is seedRandom(). seedRandom() allows you to manually control the randomness.To use seedRandom(), simply add it to your expression before the random number expression. For instance: seedRandom(1); You can change the number from 1 to anything you want. seedRandom() also has a second parameter that can be set to true or false. It is false by default. If you set it to true (eg: seedRandom(1,true)) then the expression will generate a random number once and then it will remain unchanged. You could use this to generate random positions for a bunch of layers without having them jump around every frame.Now, to solve our original problem, if you are using a random number expression without seed random, and then your layer's index changes, you can use seed random to 'move' it back. If your layers index is 1, thas is the same as seedRandom(0). If your layer's index is 2, that is the same as seedRandom(1) and so on. So by using this expression, you can move layers around all you want without having to rework all of your expressions

Read More

Stock Elements and Templates

BatchFrame.com is a motion graphics and visual effects resource, so our stock footage clips are all stock elements. This means that our clips are all designed to be integrated into your VFX work. All the elements are available a-la-carte for low prices so you can get exactly what you need with no hassle. We also have many stock After Effects templates, including some that integrate live action elements and effects for use in your own projects and presentations. The selection is constantly growing so check back often to see whats new!

See the Selection
callouts

Blog  Updates

 Preview

The Pseudo Effect Maker

The Pseudo Effect Maker is an all new tool for After Effects that lets you quickly and easily create custom controls for use in presets and other projects. Whether you are constantly working on projects that involve ...

Read More
 Preview

Track Points Advanced

Track Points Advanced is now available to purchase from the Google Play Store! Track Points Advanced is an Android app designed to simplify the screen replacement VFX process. What it does is allow you to cover your ...

Read More

Have any questions or comments?

Contact Us

Your Cart

Subtotal $0.00

Taxes and discounts calculated at checkout.

Check Out