Moving Cart and Sinusoidal Cubes w/ Maya Script Editor

Week two of my class where I learn scripting in Maya. This week I followed the professor’s instructions to create a cart that moves along with deformation. The expression editor was used to move the cart and rotate the wheels based on the circumference of the wheels. These started as four separate expressions but they were optimized into one. Next, I added squash deformers and created an expression to control the factor and the translate Y values with time. Then I created a new expression to move that cart using one group as the driver. I also learned about the DAG and DG graphs. The DAG demonstrates the whole scene hierarchy similar to the world outliner. The DG shows all the connections into any object I select including its shading and shape nodes. Then, I experimented with what I learned about arrays and for-in loops in the script editor to distribute duplicated cubes along a sine graph. Then I used the expression editor to manipulate the scale Y of the sine wave creating a simple but cool effect that kind of looks like an audio equalizer.