Skip to content

Instantly share code, notes, and snippets.

@sulco
Created April 25, 2025 13:37
Show Gist options
  • Save sulco/2ba1e3a3e7d38cf77eb70f40b14a7f13 to your computer and use it in GitHub Desktop.
Save sulco/2ba1e3a3e7d38cf77eb70f40b14a7f13 to your computer and use it in GitHub Desktop.
Prompt: animation explainer website

Professional Website Prompt: Animation Principles and Easing Curves Educational Platform

This detailed prompt outlines the requirements for developing a comprehensive educational website focused on animation principles with special emphasis on easing curves. The platform should serve as both a learning resource and practical tool for web designers, developers, and digital creatives.

Project Overview

Create an interactive, visually engaging website that explains animation principles and easing curves in depth. The platform should combine theoretical knowledge with practical applications, enabling users to understand, experiment with, and implement various animation techniques in their projects.

Target Audience

The primary audience consists of:

  • Web developers seeking to enhance UI interactions
  • Front-end designers looking to improve motion design skills
  • UX professionals aiming to create more intuitive interfaces
  • Digital animators requiring technical knowledge of easing functions
  • Students learning web animation fundamentals

Core Content Areas

Animation Fundamentals Section

This section should introduce visitors to core animation principles with:

  • Clear explanations of animation terminology and concepts
  • The role of timing and spacing in digital animations
  • How animation enhances user experience and interface design
  • Basic principles of motion in digital environments
  • Comparative examples of animated vs. static interfaces

Easing Curves Explained

Develop a comprehensive section that breaks down easing curves:

  • Definition of easing functions as mathematical algorithms controlling animation rates
  • The relationship between easing and natural movement
  • How easing adds realism by mimicking physical properties like gravity and inertia
  • The psychology of movement perception in user interfaces
  • Historical context of easing in traditional and digital animation

Types of Easing Functions

Create detailed explanations with visual examples of:

  • Linear easing (constant speed) and its limitations
  • Ease-in: slow start with acceleration (with subsections on polynomial variations)
  • Ease-out: fast start with deceleration
  • Ease-in-out: slow start and end with faster middle section
  • Specialized functions like bounce, elastic, and step easing
  • Mathematical foundation of different curve types (cubic, quartic, quintic, etc.)

Technical Implementation

Provide practical guidance for implementing easing curves in various environments:

  • CSS animations and transitions with cubic-bezier values
  • JavaScript animation libraries and their easing capabilities
  • SVG animation techniques and tools
  • Mobile application animation considerations
  • Performance optimization for smooth animations

Interactive Features

Easing Curve Playground

Develop an interactive playground allowing users to:

  • Visualize different easing curves with real-time animation
  • Manipulate control points on cubic Bezier curves
  • Compare multiple easing functions side-by-side
  • Apply easing to different properties (position, opacity, scale, etc.)
  • Generate code snippets for selected easing functions

Best Practices Explorer

Create an interactive tool showing context-appropriate easing:

  • Recommendations for specific UI elements (buttons, menus, modals)
  • Appropriate easing for different animation types (fade, slide, expand)
  • Side-by-side comparisons of appropriate vs. inappropriate easing choices
  • User experience considerations for timing and easing selection
  • Accessibility implications of animation choices

Visual Design Requirements

The website should exemplify excellent animation principles through:

  • Clean, modern interface with subtle animation throughout
  • Consistent use of appropriate easing in all interactive elements
  • High-contrast, accessible visualizations of easing curves
  • Smooth transitions between sections and examples
  • Responsive design that maintains animation quality across devices

Educational Approach

Structure the content with:

  • Progressive disclosure of concepts from basic to advanced
  • Practical examples accompanying all theoretical explanations
  • Interactive demonstrations that show cause and effect
  • Code samples with explanations for technical implementation
  • Case studies showing real-world applications of easing principles

Additional Considerations

  • Include a glossary of animation and easing terminology
  • Provide downloadable resources (cheat sheets, reference guides)
  • Implement a system for users to save and share custom easing curves
  • Ensure all animations include controls to pause, slow down, or restart demonstrations
  • Maintain accessibility standards throughout, including options to reduce motion

The website should position itself as the definitive resource for understanding and implementing animation easing, combining theoretical knowledge with practical application to elevate users' animation skills and create more engaging digital experiences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment