How to Generate Random Numbers Working With Maya Expressions

Patrick Woo Looks at Creating Random Numbers, How Maya Generates Them and How to Use Them in Expressions.

VFX Artist Patrick Woo adds another tutorial to his Maya Expression series that serves as an introductory look at how to make the best use out of Maya’s expression engine. The latest tutorial shows some of the ways that Maya can generate random numbers.

Expressions are a great way to drive things in Maya, albeit not the only way. If you want to exchange one Attribute for one that is driven by another single characteristic, connections are much better and faster. However, if you need to push multiple Attributes with some math, expressions are the way to go. Woo offers some practical examples for using random numbers in expressions and puts them into practice creating a simple instrument needle indicator.