Medical Animation: Creating Reusable Animations
Master Advanced After Effects Animation Techniques
Core After Effects Concepts Covered
Expression-Based Looping
Learn to create seamless animation loops using After Effects scripting language. Master the loopOut cycle function for efficient repetitive motion.
Nested Composition Workflow
Understand pre-composing techniques and working with nested compositions. Create reusable animated elements for complex projects.
Essential Properties Control
Discover how to expose and control properties from nested compositions. Enable layer-by-layer customization of animated elements.
Project Setup Requirements
Open Project File
Launch Your Name—Medical Animation.aep in After Effects or use the provided backup file from Finished Projects folder
Verify Previous Work
Ensure Exercise 5C is completed or follow the sidebar instructions to start from the ready-made file
Save Working Copy
Create a properly named working file in the designated Class Files directory structure
This exercise builds directly on Exercise 5C. If you haven't completed the previous work, use the provided Medical Animation—Ready for Expressions.aep file to ensure proper starting conditions for this tutorial.
loopOut("cycle");
Expression Implementation Process
Access Expression Mode
Hold Option (Mac) or ALT (Windows) and click the Position stopwatch to enable expression editing
Replace Default Code
Clear the transform.position text and enter the loopOut cycle expression exactly as specified
Test Loop Timing
Set work area to 6 seconds and preview to verify the 2-second animation cycle repeats correctly
Pre-Composition Setup Checklist
Consistent naming helps manage complex project hierarchies
Ensures all keyframes and effects transfer to the nested comp
Prevents unwanted composition settings that could break animation
Echo Effect Timing Values
Motion blur in nested compositions requires enabling the effect both in the child composition on individual layers and in the parent composition at the timeline level. The 90-degree shutter angle provides realistic motion blur strength.
Motion Blur Considerations
Essential Properties Workflow Benefits
Layer Customization
Control nested composition properties on a per-instance basis. Each cell layer can have unique scale values while sharing the same source animation.
Time Stretch Variations
Apply different timing to create natural variation. Cell layers use stretch factors of 150%, 200%, and 250% for organic movement patterns.
Cell Layer Scale Variations
Key Takeaways

to add an expression. This keyboard modifier is crucial—clicking normally would delete your keyframes.
at the bottom of the Timeline panel.
to enable motion blur for this layer. This tells After Effects which layers should receive motion blur when the effect is globally enabled.
