Skip to the content.

Keyframe Animation

Back to Home

Create animations by keyframing puppet positions, poses, and colors.

Watch the full tutorial:

ProteinBlender Tutorial

What is Keyframing?

Keyframing is the process of defining specific values at specific points in time. Blender automatically interpolates between keyframes to create smooth animation.

In ProteinBlender, you can keyframe:

Animation Panel

The Animation panel provides tools for creating keyframes.

Panel Sections

Creating Your First Animation

Simple Position Animation

  1. Select a puppet from the dropdown in Animation panel

  2. Set first keyframe at frame 1:
    • Move to frame 1 in timeline (bottom of screen)
    • Position the puppet where you want it to start
    • Check Location in Keyframe Options
    • Click Create Keyframe
  3. Set second keyframe at frame 60:
    • Move to frame 60 in timeline
    • Move the puppet to a different position
    • Check Location
    • Click Create Keyframe
  4. Play animation:
    • Press Spacebar or click Play in timeline
    • Watch the puppet move smoothly from start to end position

Keyframe Options

Location, Rotation, Scale

You can keyframe any combination:

Pose

The Pose option works with your saved poses:

  1. Create poses in Pose Library (see Manage Poses)
  2. At keyframe 1: Apply Pose A, check Pose, create keyframe
  3. At keyframe 60: Apply Pose B, check Pose, create keyframe
  4. Blender interpolates between the two conformations!

Important: Pose must be applied BEFORE creating the keyframe.

Color

Animate color changes:

  1. At keyframe 1: Set color in Visual Setup, check Color, create keyframe
  2. At keyframe 60: Set different color, check Color, create keyframe
  3. Domain smoothly transitions between colors

Advanced Animation Workflows

Conformational Change Animation

  1. Create poses for different states (e.g., Open, Closed)
  2. Timeline:
    • Frame 1: Apply “Open” pose, keyframe Pose
    • Frame 30: Apply “Closed” pose, keyframe Pose
    • Frame 60: Apply “Open” pose, keyframe Pose
  3. Result: Protein opens and closes smoothly

Multi-Property Animation

Combine multiple properties for richer animations:

Frame 1:

Frame 60:

Result: Protein moves, changes conformation, and changes color simultaneously.

Multi-Puppet Coordination

Animate multiple puppets in the same scene:

  1. Puppet A (Enzyme):
    • Keyframe at frames 1, 30, 60
  2. Puppet B (Substrate):
    • Keyframe at frames 1, 30, 60
    • Coordinate timing to show binding
  3. Result: Choreographed interaction between proteins

Timeline Tips

Frame Rate

Editing Keyframes

Graph Editor

For precise control over interpolation:

  1. Switch an editor to Graph Editor
  2. Select your puppet object
  3. See keyframes as curves
  4. Edit curves to control animation timing

Dope Sheet

For overview of all keyframes:

  1. Switch an editor to Dope Sheet
  2. See all keyframes across timeline
  3. Move, copy, or delete keyframes

Rendering Animation

Once you’re happy with the animation:

  1. Set output format in Output Properties
  2. Set frame range (start and end frames)
  3. Choose output path
  4. Render > Render Animation (Ctrl+F12)

Common Animation Scenarios

Protein Folding

  1. Create poses: Unfolded, Intermediate, Folded
  2. Keyframe pose transitions
  3. Add rotation for visual interest

Enzyme-Substrate Binding

  1. Puppet 1 (Enzyme): Static or small movement
  2. Puppet 2 (Substrate): Approaches enzyme
  3. Both change to “Bound” pose when close
  4. Color changes to show activation

Conformational Dynamics

  1. Create multiple poses representing motion
  2. Keyframe through poses in sequence
  3. Loop by returning to first pose at end

Tips and Best Practices

Planning

Timing

Smooth vs. Mechanical

Performance

Troubleshooting

Keyframe Not Created

Animation Jumps Instead of Interpolating

Pose Changes Don’t Animate Smoothly

Color Doesn’t Animate

Next Steps

You now have the tools to create complete protein animations!

For more advanced topics:

Resources


Back to Home Previous: Manage Poses