Interactivity and Animation

Chapter 7: Event Handling

  • Mouse Events
    • Handling mouse clicks and movement
  • Keyboard Events
    • Reacting to keyboard input
  • Touch Events (for Mobile)
    • Handling touch gestures

Chapter 8: Animation Techniques

  • Frame-based Animation
    • Basic animation loop
    • Frame rate control
  • Timing and requestAnimationFrame()
    • Synchronizing animations
    • Controlling animation speed
  • Advanced Animation
    • Easing functions
    • Particle systems