[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-minimax-slack-gif-creator":3,"mdc-6t782-key":39,"related-repo-minimax-slack-gif-creator":4252,"related-org-minimax-slack-gif-creator":4372},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":34,"sourceUrl":37,"mdContent":38},"slack-gif-creator","create animated GIFs for Slack","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"minimax","MiniMax","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fminimax.jpg","MiniMax-AI",[13,17,20,23],{"name":14,"slug":15,"type":16},"Media","media","tag",{"name":18,"slug":19,"type":16},"Creative","creative",{"name":21,"slug":22,"type":16},"Animation","animation",{"name":24,"slug":25,"type":16},"Slack","slack",2872,"https:\u002F\u002Fgithub.com\u002FMiniMax-AI\u002FMini-Agent","2026-07-13T06:17:42.1136","Complete terms in LICENSE.txt",421,[32,33,8],"agent","llm",{"repoUrl":27,"stars":26,"forks":30,"topics":35,"description":36},[32,33,8],"A minimal yet professional single agent demo project that showcases the core execution pipeline and production-grade features of agents.","https:\u002F\u002Fgithub.com\u002FMiniMax-AI\u002FMini-Agent\u002Ftree\u002FHEAD\u002Fmini_agent\u002Fskills\u002Fslack-gif-creator","---\nname: slack-gif-creator\ndescription: Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".\nlicense: Complete terms in LICENSE.txt\n---\n\n# Slack GIF Creator - Flexible Toolkit\n\nA toolkit for creating animated GIFs optimized for Slack. Provides validators for Slack's constraints, composable animation primitives, and optional helper utilities. **Apply these tools however needed to achieve the creative vision.**\n\n## Slack's Requirements\n\nSlack has specific requirements for GIFs based on their use:\n\n**Message GIFs:**\n- Max size: ~2MB\n- Optimal dimensions: 480x480\n- Typical FPS: 15-20\n- Color limit: 128-256\n- Duration: 2-5s\n\n**Emoji GIFs:**\n- Max size: 64KB (strict limit)\n- Optimal dimensions: 128x128\n- Typical FPS: 10-12\n- Color limit: 32-48\n- Duration: 1-2s\n\n**Emoji GIFs are challenging** - the 64KB limit is strict. Strategies that help:\n- Limit to 10-15 frames total\n- Use 32-48 colors maximum\n- Keep designs simple\n- Avoid gradients\n- Validate file size frequently\n\n## Toolkit Structure\n\nThis skill provides three types of tools:\n\n1. **Validators** - Check if a GIF meets Slack's requirements\n2. **Animation Primitives** - Composable building blocks for motion (shake, bounce, move, kaleidoscope)\n3. **Helper Utilities** - Optional functions for common needs (text, colors, effects)\n\n**Complete creative freedom is available in how these tools are applied.**\n\n## Core Validators\n\nTo ensure a GIF meets Slack's constraints, use these validators:\n\n```python\nfrom core.gif_builder import GIFBuilder\n\n# After creating your GIF, check if it meets requirements\nbuilder = GIFBuilder(width=128, height=128, fps=10)\n# ... add your frames however you want ...\n\n# Save and check size\ninfo = builder.save('emoji.gif', num_colors=48, optimize_for_emoji=True)\n\n# The save method automatically warns if file exceeds limits\n# info dict contains: size_kb, size_mb, frame_count, duration_seconds\n```\n\n**File size validator**:\n```python\nfrom core.validators import check_slack_size\n\n# Check if GIF meets size limits\npasses, info = check_slack_size('emoji.gif', is_emoji=True)\n# Returns: (True\u002FFalse, dict with size details)\n```\n\n**Dimension validator**:\n```python\nfrom core.validators import validate_dimensions\n\n# Check dimensions\npasses, info = validate_dimensions(128, 128, is_emoji=True)\n# Returns: (True\u002FFalse, dict with dimension details)\n```\n\n**Complete validation**:\n```python\nfrom core.validators import validate_gif, is_slack_ready\n\n# Run all validations\nall_pass, results = validate_gif('emoji.gif', is_emoji=True)\n\n# Or quick check\nif is_slack_ready('emoji.gif', is_emoji=True):\n    print(\"Ready to upload!\")\n```\n\n## Animation Primitives\n\nThese are composable building blocks for motion. Apply these to any object in any combination:\n\n### Shake\n```python\nfrom templates.shake import create_shake_animation\n\n# Shake an emoji\nframes = create_shake_animation(\n    object_type='emoji',\n    object_data={'emoji': '😱', 'size': 80},\n    num_frames=20,\n    shake_intensity=15,\n    direction='both'  # or 'horizontal', 'vertical'\n)\n```\n\n### Bounce\n```python\nfrom templates.bounce import create_bounce_animation\n\n# Bounce a circle\nframes = create_bounce_animation(\n    object_type='circle',\n    object_data={'radius': 40, 'color': (255, 100, 100)},\n    num_frames=30,\n    bounce_height=150\n)\n```\n\n### Spin \u002F Rotate\n```python\nfrom templates.spin import create_spin_animation, create_loading_spinner\n\n# Clockwise spin\nframes = create_spin_animation(\n    object_type='emoji',\n    object_data={'emoji': '🔄', 'size': 100},\n    rotation_type='clockwise',\n    full_rotations=2\n)\n\n# Wobble rotation\nframes = create_spin_animation(rotation_type='wobble', full_rotations=3)\n\n# Loading spinner\nframes = create_loading_spinner(spinner_type='dots')\n```\n\n### Pulse \u002F Heartbeat\n```python\nfrom templates.pulse import create_pulse_animation, create_attention_pulse\n\n# Smooth pulse\nframes = create_pulse_animation(\n    object_data={'emoji': '❤️', 'size': 100},\n    pulse_type='smooth',\n    scale_range=(0.8, 1.2)\n)\n\n# Heartbeat (double-pump)\nframes = create_pulse_animation(pulse_type='heartbeat')\n\n# Attention pulse for emoji GIFs\nframes = create_attention_pulse(emoji='⚠️', num_frames=20)\n```\n\n### Fade\n```python\nfrom templates.fade import create_fade_animation, create_crossfade\n\n# Fade in\nframes = create_fade_animation(fade_type='in')\n\n# Fade out\nframes = create_fade_animation(fade_type='out')\n\n# Crossfade between two emojis\nframes = create_crossfade(\n    object1_data={'emoji': '😊', 'size': 100},\n    object2_data={'emoji': '😂', 'size': 100}\n)\n```\n\n### Zoom\n```python\nfrom templates.zoom import create_zoom_animation, create_explosion_zoom\n\n# Zoom in dramatically\nframes = create_zoom_animation(\n    zoom_type='in',\n    scale_range=(0.1, 2.0),\n    add_motion_blur=True\n)\n\n# Zoom out\nframes = create_zoom_animation(zoom_type='out')\n\n# Explosion zoom\nframes = create_explosion_zoom(emoji='💥')\n```\n\n### Explode \u002F Shatter\n```python\nfrom templates.explode import create_explode_animation, create_particle_burst\n\n# Burst explosion\nframes = create_explode_animation(\n    explode_type='burst',\n    num_pieces=25\n)\n\n# Shatter effect\nframes = create_explode_animation(explode_type='shatter')\n\n# Dissolve into particles\nframes = create_explode_animation(explode_type='dissolve')\n\n# Particle burst\nframes = create_particle_burst(particle_count=30)\n```\n\n### Wiggle \u002F Jiggle\n```python\nfrom templates.wiggle import create_wiggle_animation, create_excited_wiggle\n\n# Jello wobble\nframes = create_wiggle_animation(\n    wiggle_type='jello',\n    intensity=1.0,\n    cycles=2\n)\n\n# Wave motion\nframes = create_wiggle_animation(wiggle_type='wave')\n\n# Excited wiggle for emoji GIFs\nframes = create_excited_wiggle(emoji='🎉')\n```\n\n### Slide\n```python\nfrom templates.slide import create_slide_animation, create_multi_slide\n\n# Slide in from left with overshoot\nframes = create_slide_animation(\n    direction='left',\n    slide_type='in',\n    overshoot=True\n)\n\n# Slide across\nframes = create_slide_animation(direction='left', slide_type='across')\n\n# Multiple objects sliding in sequence\nobjects = [\n    {'data': {'emoji': '🎯', 'size': 60}, 'direction': 'left', 'final_pos': (120, 240)},\n    {'data': {'emoji': '🎪', 'size': 60}, 'direction': 'right', 'final_pos': (240, 240)}\n]\nframes = create_multi_slide(objects, stagger_delay=5)\n```\n\n### Flip\n```python\nfrom templates.flip import create_flip_animation, create_quick_flip\n\n# Horizontal flip between two emojis\nframes = create_flip_animation(\n    object1_data={'emoji': '😊', 'size': 120},\n    object2_data={'emoji': '😂', 'size': 120},\n    flip_axis='horizontal'\n)\n\n# Vertical flip\nframes = create_flip_animation(flip_axis='vertical')\n\n# Quick flip for emoji GIFs\nframes = create_quick_flip('👍', '👎')\n```\n\n### Morph \u002F Transform\n```python\nfrom templates.morph import create_morph_animation, create_reaction_morph\n\n# Crossfade morph\nframes = create_morph_animation(\n    object1_data={'emoji': '😊', 'size': 100},\n    object2_data={'emoji': '😂', 'size': 100},\n    morph_type='crossfade'\n)\n\n# Scale morph (shrink while other grows)\nframes = create_morph_animation(morph_type='scale')\n\n# Spin morph (3D flip-like)\nframes = create_morph_animation(morph_type='spin_morph')\n```\n\n### Move Effect\n```python\nfrom templates.move import create_move_animation\n\n# Linear movement\nframes = create_move_animation(\n    object_type='emoji',\n    object_data={'emoji': '🚀', 'size': 60},\n    start_pos=(50, 240),\n    end_pos=(430, 240),\n    motion_type='linear',\n    easing='ease_out'\n)\n\n# Arc movement (parabolic trajectory)\nframes = create_move_animation(\n    object_type='emoji',\n    object_data={'emoji': '⚽', 'size': 60},\n    start_pos=(50, 350),\n    end_pos=(430, 350),\n    motion_type='arc',\n    motion_params={'arc_height': 150}\n)\n\n# Circular movement\nframes = create_move_animation(\n    object_type='emoji',\n    object_data={'emoji': '🌍', 'size': 50},\n    motion_type='circle',\n    motion_params={\n        'center': (240, 240),\n        'radius': 120,\n        'angle_range': 360  # full circle\n    }\n)\n\n# Wave movement\nframes = create_move_animation(\n    motion_type='wave',\n    motion_params={\n        'wave_amplitude': 50,\n        'wave_frequency': 2\n    }\n)\n\n# Or use low-level easing functions\nfrom core.easing import interpolate, calculate_arc_motion\n\nfor i in range(num_frames):\n    t = i \u002F (num_frames - 1)\n    x = interpolate(start_x, end_x, t, easing='ease_out')\n    # Or: x, y = calculate_arc_motion(start, end, height, t)\n```\n\n### Kaleidoscope Effect\n```python\nfrom templates.kaleidoscope import apply_kaleidoscope, create_kaleidoscope_animation\n\n# Apply to a single frame\nkaleido_frame = apply_kaleidoscope(frame, segments=8)\n\n# Or create animated kaleidoscope\nframes = create_kaleidoscope_animation(\n    base_frame=my_frame,  # or None for demo pattern\n    num_frames=30,\n    segments=8,\n    rotation_speed=1.0\n)\n\n# Simple mirror effects (faster)\nfrom templates.kaleidoscope import apply_simple_mirror\n\nmirrored = apply_simple_mirror(frame, mode='quad')  # 4-way mirror\n# modes: 'horizontal', 'vertical', 'quad', 'radial'\n```\n\n**To compose primitives freely, follow these patterns:**\n```python\n# Example: Bounce + shake for impact\nfor i in range(num_frames):\n    frame = create_blank_frame(480, 480, bg_color)\n\n    # Bounce motion\n    t_bounce = i \u002F (num_frames - 1)\n    y = interpolate(start_y, ground_y, t_bounce, 'bounce_out')\n\n    # Add shake on impact (when y reaches ground)\n    if y >= ground_y - 5:\n        shake_x = math.sin(i * 2) * 10\n        x = center_x + shake_x\n    else:\n        x = center_x\n\n    draw_emoji(frame, '⚽', (x, y), size=60)\n    builder.add_frame(frame)\n```\n\n## Helper Utilities\n\nThese are optional helpers for common needs. **Use, modify, or replace these with custom implementations as needed.**\n\n### GIF Builder (Assembly & Optimization)\n\n```python\nfrom core.gif_builder import GIFBuilder\n\n# Create builder with your chosen settings\nbuilder = GIFBuilder(width=480, height=480, fps=20)\n\n# Add frames (however you created them)\nfor frame in my_frames:\n    builder.add_frame(frame)\n\n# Save with optimization\nbuilder.save('output.gif',\n             num_colors=128,\n             optimize_for_emoji=False)\n```\n\nKey features:\n- Automatic color quantization\n- Duplicate frame removal\n- Size warnings for Slack limits\n- Emoji mode (aggressive optimization)\n\n### Text Rendering\n\nFor small GIFs like emojis, text readability is challenging. A common solution involves adding outlines:\n\n```python\nfrom core.typography import draw_text_with_outline, TYPOGRAPHY_SCALE\n\n# Text with outline (helps readability)\ndraw_text_with_outline(\n    frame, \"BONK!\",\n    position=(240, 100),\n    font_size=TYPOGRAPHY_SCALE['h1'],  # 60px\n    text_color=(255, 68, 68),\n    outline_color=(0, 0, 0),\n    outline_width=4,\n    centered=True\n)\n```\n\nTo implement custom text rendering, use PIL's `ImageDraw.text()` which works fine for larger GIFs.\n\n### Color Management\n\nProfessional-looking GIFs often use cohesive color palettes:\n\n```python\nfrom core.color_palettes import get_palette\n\n# Get a pre-made palette\npalette = get_palette('vibrant')  # or 'pastel', 'dark', 'neon', 'professional'\n\nbg_color = palette['background']\ntext_color = palette['primary']\naccent_color = palette['accent']\n```\n\nTo work with colors directly, use RGB tuples - whatever works for the use case.\n\n### Visual Effects\n\nOptional effects for impact moments:\n\n```python\nfrom core.visual_effects import ParticleSystem, create_impact_flash, create_shockwave_rings\n\n# Particle system\nparticles = ParticleSystem()\nparticles.emit_sparkles(x=240, y=200, count=15)\nparticles.emit_confetti(x=240, y=200, count=20)\n\n# Update and render each frame\nparticles.update()\nparticles.render(frame)\n\n# Flash effect\nframe = create_impact_flash(frame, position=(240, 200), radius=100)\n\n# Shockwave rings\nframe = create_shockwave_rings(frame, position=(240, 200), radii=[30, 60, 90])\n```\n\n### Easing Functions\n\nSmooth motion uses easing instead of linear interpolation:\n\n```python\nfrom core.easing import interpolate\n\n# Object falling (accelerates)\ny = interpolate(start=0, end=400, t=progress, easing='ease_in')\n\n# Object landing (decelerates)\ny = interpolate(start=0, end=400, t=progress, easing='ease_out')\n\n# Bouncing\ny = interpolate(start=0, end=400, t=progress, easing='bounce_out')\n\n# Overshoot (elastic)\nscale = interpolate(start=0.5, end=1.0, t=progress, easing='elastic_out')\n```\n\nAvailable easings: `linear`, `ease_in`, `ease_out`, `ease_in_out`, `bounce_out`, `elastic_out`, `back_out` (overshoot), and more in `core\u002Feasing.py`.\n\n### Frame Composition\n\nBasic drawing utilities if you need them:\n\n```python\nfrom core.frame_composer import (\n    create_gradient_background,  # Gradient backgrounds\n    draw_emoji_enhanced,         # Emoji with optional shadow\n    draw_circle_with_shadow,     # Shapes with depth\n    draw_star                    # 5-pointed stars\n)\n\n# Gradient background\nframe = create_gradient_background(480, 480, top_color, bottom_color)\n\n# Emoji with shadow\ndraw_emoji_enhanced(frame, '🎉', position=(200, 200), size=80, shadow=True)\n```\n\n## Optimization Strategies\n\nWhen your GIF is too large:\n\n**For Message GIFs (>2MB):**\n1. Reduce frames (lower FPS or shorter duration)\n2. Reduce colors (128 → 64 colors)\n3. Reduce dimensions (480x480 → 320x320)\n4. Enable duplicate frame removal\n\n**For Emoji GIFs (>64KB) - be aggressive:**\n1. Limit to 10-12 frames total\n2. Use 32-40 colors maximum\n3. Avoid gradients (solid colors compress better)\n4. Simplify design (fewer elements)\n5. Use `optimize_for_emoji=True` in save method\n\n## Example Composition Patterns\n\n### Simple Reaction (Pulsing)\n```python\nbuilder = GIFBuilder(128, 128, 10)\n\nfor i in range(12):\n    frame = Image.new('RGB', (128, 128), (240, 248, 255))\n\n    # Pulsing scale\n    scale = 1.0 + math.sin(i * 0.5) * 0.15\n    size = int(60 * scale)\n\n    draw_emoji_enhanced(frame, '😱', position=(64-size\u002F\u002F2, 64-size\u002F\u002F2),\n                       size=size, shadow=False)\n    builder.add_frame(frame)\n\nbuilder.save('reaction.gif', num_colors=40, optimize_for_emoji=True)\n\n# Validate\nfrom core.validators import check_slack_size\ncheck_slack_size('reaction.gif', is_emoji=True)\n```\n\n### Action with Impact (Bounce + Flash)\n```python\nbuilder = GIFBuilder(480, 480, 20)\n\n# Phase 1: Object falls\nfor i in range(15):\n    frame = create_gradient_background(480, 480, (240, 248, 255), (200, 230, 255))\n    t = i \u002F 14\n    y = interpolate(0, 350, t, 'ease_in')\n    draw_emoji_enhanced(frame, '⚽', position=(220, int(y)), size=80)\n    builder.add_frame(frame)\n\n# Phase 2: Impact + flash\nfor i in range(8):\n    frame = create_gradient_background(480, 480, (240, 248, 255), (200, 230, 255))\n\n    # Flash on first frames\n    if i \u003C 3:\n        frame = create_impact_flash(frame, (240, 350), radius=120, intensity=0.6)\n\n    draw_emoji_enhanced(frame, '⚽', position=(220, 350), size=80)\n\n    # Text appears\n    if i > 2:\n        draw_text_with_outline(frame, \"GOAL!\", position=(240, 150),\n                              font_size=60, text_color=(255, 68, 68),\n                              outline_color=(0, 0, 0), outline_width=4, centered=True)\n\n    builder.add_frame(frame)\n\nbuilder.save('goal.gif', num_colors=128)\n```\n\n### Combining Primitives (Move + Shake)\n```python\nfrom templates.shake import create_shake_animation\n\n# Create shake animation\nshake_frames = create_shake_animation(\n    object_type='emoji',\n    object_data={'emoji': '😰', 'size': 70},\n    num_frames=20,\n    shake_intensity=12\n)\n\n# Create moving element that triggers the shake\nbuilder = GIFBuilder(480, 480, 20)\nfor i in range(40):\n    t = i \u002F 39\n\n    if i \u003C 20:\n        # Before trigger - use blank frame with moving object\n        frame = create_blank_frame(480, 480, (255, 255, 255))\n        x = interpolate(50, 300, t * 2, 'linear')\n        draw_emoji_enhanced(frame, '🚗', position=(int(x), 300), size=60)\n        draw_emoji_enhanced(frame, '😰', position=(350, 200), size=70)\n    else:\n        # After trigger - use shake frame\n        frame = shake_frames[i - 20]\n        # Add the car in final position\n        draw_emoji_enhanced(frame, '🚗', position=(300, 300), size=60)\n\n    builder.add_frame(frame)\n\nbuilder.save('scare.gif')\n```\n\n## Philosophy\n\nThis toolkit provides building blocks, not rigid recipes. To work with a GIF request:\n\n1. **Understand the creative vision** - What should happen? What's the mood?\n2. **Design the animation** - Break it into phases (anticipation, action, reaction)\n3. **Apply primitives as needed** - Shake, bounce, move, effects - mix freely\n4. **Validate constraints** - Check file size, especially for emoji GIFs\n5. **Iterate if needed** - Reduce frames\u002Fcolors if over size limits\n\n**The goal is creative freedom within Slack's technical constraints.**\n\n## Dependencies\n\nTo use this toolkit, install these dependencies only if they aren't already present:\n\n```bash\npip install pillow imageio numpy\n```\n",{"data":40,"body":41},{"name":4,"description":6,"license":29},{"type":42,"children":43},"root",[44,53,65,72,77,85,115,123,151,161,189,195,200,234,242,248,253,365,375,421,430,476,485,554,559,564,571,657,663,740,746,872,878,993,999,1106,1112,1227,1233,1364,1370,1485,1491,1640,1646,1761,1767,1881,1887,2308,2314,2459,2467,2606,2611,2621,2627,2733,2738,2761,2767,2772,2873,2886,2892,2897,2966,2971,2977,2982,3113,3119,3124,3231,3295,3301,3306,3406,3412,3417,3425,3448,3456,3492,3498,3504,3648,3654,3883,3889,4124,4130,4135,4188,4196,4202,4207,4246],{"type":45,"tag":46,"props":47,"children":49},"element","h1",{"id":48},"slack-gif-creator-flexible-toolkit",[50],{"type":51,"value":52},"text","Slack GIF Creator - Flexible Toolkit",{"type":45,"tag":54,"props":55,"children":56},"p",{},[57,59],{"type":51,"value":58},"A toolkit for creating animated GIFs optimized for Slack. Provides validators for Slack's constraints, composable animation primitives, and optional helper utilities. ",{"type":45,"tag":60,"props":61,"children":62},"strong",{},[63],{"type":51,"value":64},"Apply these tools however needed to achieve the creative vision.",{"type":45,"tag":66,"props":67,"children":69},"h2",{"id":68},"slacks-requirements",[70],{"type":51,"value":71},"Slack's Requirements",{"type":45,"tag":54,"props":73,"children":74},{},[75],{"type":51,"value":76},"Slack has specific requirements for GIFs based on their use:",{"type":45,"tag":54,"props":78,"children":79},{},[80],{"type":45,"tag":60,"props":81,"children":82},{},[83],{"type":51,"value":84},"Message GIFs:",{"type":45,"tag":86,"props":87,"children":88},"ul",{},[89,95,100,105,110],{"type":45,"tag":90,"props":91,"children":92},"li",{},[93],{"type":51,"value":94},"Max size: ~2MB",{"type":45,"tag":90,"props":96,"children":97},{},[98],{"type":51,"value":99},"Optimal dimensions: 480x480",{"type":45,"tag":90,"props":101,"children":102},{},[103],{"type":51,"value":104},"Typical FPS: 15-20",{"type":45,"tag":90,"props":106,"children":107},{},[108],{"type":51,"value":109},"Color limit: 128-256",{"type":45,"tag":90,"props":111,"children":112},{},[113],{"type":51,"value":114},"Duration: 2-5s",{"type":45,"tag":54,"props":116,"children":117},{},[118],{"type":45,"tag":60,"props":119,"children":120},{},[121],{"type":51,"value":122},"Emoji GIFs:",{"type":45,"tag":86,"props":124,"children":125},{},[126,131,136,141,146],{"type":45,"tag":90,"props":127,"children":128},{},[129],{"type":51,"value":130},"Max size: 64KB (strict limit)",{"type":45,"tag":90,"props":132,"children":133},{},[134],{"type":51,"value":135},"Optimal dimensions: 128x128",{"type":45,"tag":90,"props":137,"children":138},{},[139],{"type":51,"value":140},"Typical FPS: 10-12",{"type":45,"tag":90,"props":142,"children":143},{},[144],{"type":51,"value":145},"Color limit: 32-48",{"type":45,"tag":90,"props":147,"children":148},{},[149],{"type":51,"value":150},"Duration: 1-2s",{"type":45,"tag":54,"props":152,"children":153},{},[154,159],{"type":45,"tag":60,"props":155,"children":156},{},[157],{"type":51,"value":158},"Emoji GIFs are challenging",{"type":51,"value":160}," - the 64KB limit is strict. Strategies that help:",{"type":45,"tag":86,"props":162,"children":163},{},[164,169,174,179,184],{"type":45,"tag":90,"props":165,"children":166},{},[167],{"type":51,"value":168},"Limit to 10-15 frames total",{"type":45,"tag":90,"props":170,"children":171},{},[172],{"type":51,"value":173},"Use 32-48 colors maximum",{"type":45,"tag":90,"props":175,"children":176},{},[177],{"type":51,"value":178},"Keep designs simple",{"type":45,"tag":90,"props":180,"children":181},{},[182],{"type":51,"value":183},"Avoid gradients",{"type":45,"tag":90,"props":185,"children":186},{},[187],{"type":51,"value":188},"Validate file size frequently",{"type":45,"tag":66,"props":190,"children":192},{"id":191},"toolkit-structure",[193],{"type":51,"value":194},"Toolkit Structure",{"type":45,"tag":54,"props":196,"children":197},{},[198],{"type":51,"value":199},"This skill provides three types of tools:",{"type":45,"tag":201,"props":202,"children":203},"ol",{},[204,214,224],{"type":45,"tag":90,"props":205,"children":206},{},[207,212],{"type":45,"tag":60,"props":208,"children":209},{},[210],{"type":51,"value":211},"Validators",{"type":51,"value":213}," - Check if a GIF meets Slack's requirements",{"type":45,"tag":90,"props":215,"children":216},{},[217,222],{"type":45,"tag":60,"props":218,"children":219},{},[220],{"type":51,"value":221},"Animation Primitives",{"type":51,"value":223}," - Composable building blocks for motion (shake, bounce, move, kaleidoscope)",{"type":45,"tag":90,"props":225,"children":226},{},[227,232],{"type":45,"tag":60,"props":228,"children":229},{},[230],{"type":51,"value":231},"Helper Utilities",{"type":51,"value":233}," - Optional functions for common needs (text, colors, effects)",{"type":45,"tag":54,"props":235,"children":236},{},[237],{"type":45,"tag":60,"props":238,"children":239},{},[240],{"type":51,"value":241},"Complete creative freedom is available in how these tools are applied.",{"type":45,"tag":66,"props":243,"children":245},{"id":244},"core-validators",[246],{"type":51,"value":247},"Core Validators",{"type":45,"tag":54,"props":249,"children":250},{},[251],{"type":51,"value":252},"To ensure a GIF meets Slack's constraints, use these validators:",{"type":45,"tag":254,"props":255,"children":260},"pre",{"className":256,"code":257,"language":258,"meta":259,"style":259},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","from core.gif_builder import GIFBuilder\n\n# After creating your GIF, check if it meets requirements\nbuilder = GIFBuilder(width=128, height=128, fps=10)\n# ... add your frames however you want ...\n\n# Save and check size\ninfo = builder.save('emoji.gif', num_colors=48, optimize_for_emoji=True)\n\n# The save method automatically warns if file exceeds limits\n# info dict contains: size_kb, size_mb, frame_count, duration_seconds\n","python","",[261],{"type":45,"tag":262,"props":263,"children":264},"code",{"__ignoreMap":259},[265,276,286,295,304,313,321,330,339,347,356],{"type":45,"tag":266,"props":267,"children":270},"span",{"class":268,"line":269},"line",1,[271],{"type":45,"tag":266,"props":272,"children":273},{},[274],{"type":51,"value":275},"from core.gif_builder import GIFBuilder\n",{"type":45,"tag":266,"props":277,"children":279},{"class":268,"line":278},2,[280],{"type":45,"tag":266,"props":281,"children":283},{"emptyLinePlaceholder":282},true,[284],{"type":51,"value":285},"\n",{"type":45,"tag":266,"props":287,"children":289},{"class":268,"line":288},3,[290],{"type":45,"tag":266,"props":291,"children":292},{},[293],{"type":51,"value":294},"# After creating your GIF, check if it meets requirements\n",{"type":45,"tag":266,"props":296,"children":298},{"class":268,"line":297},4,[299],{"type":45,"tag":266,"props":300,"children":301},{},[302],{"type":51,"value":303},"builder = GIFBuilder(width=128, height=128, fps=10)\n",{"type":45,"tag":266,"props":305,"children":307},{"class":268,"line":306},5,[308],{"type":45,"tag":266,"props":309,"children":310},{},[311],{"type":51,"value":312},"# ... add your frames however you want ...\n",{"type":45,"tag":266,"props":314,"children":316},{"class":268,"line":315},6,[317],{"type":45,"tag":266,"props":318,"children":319},{"emptyLinePlaceholder":282},[320],{"type":51,"value":285},{"type":45,"tag":266,"props":322,"children":324},{"class":268,"line":323},7,[325],{"type":45,"tag":266,"props":326,"children":327},{},[328],{"type":51,"value":329},"# Save and check size\n",{"type":45,"tag":266,"props":331,"children":333},{"class":268,"line":332},8,[334],{"type":45,"tag":266,"props":335,"children":336},{},[337],{"type":51,"value":338},"info = builder.save('emoji.gif', num_colors=48, optimize_for_emoji=True)\n",{"type":45,"tag":266,"props":340,"children":342},{"class":268,"line":341},9,[343],{"type":45,"tag":266,"props":344,"children":345},{"emptyLinePlaceholder":282},[346],{"type":51,"value":285},{"type":45,"tag":266,"props":348,"children":350},{"class":268,"line":349},10,[351],{"type":45,"tag":266,"props":352,"children":353},{},[354],{"type":51,"value":355},"# The save method automatically warns if file exceeds limits\n",{"type":45,"tag":266,"props":357,"children":359},{"class":268,"line":358},11,[360],{"type":45,"tag":266,"props":361,"children":362},{},[363],{"type":51,"value":364},"# info dict contains: size_kb, size_mb, frame_count, duration_seconds\n",{"type":45,"tag":54,"props":366,"children":367},{},[368,373],{"type":45,"tag":60,"props":369,"children":370},{},[371],{"type":51,"value":372},"File size validator",{"type":51,"value":374},":",{"type":45,"tag":254,"props":376,"children":378},{"className":256,"code":377,"language":258,"meta":259,"style":259},"from core.validators import check_slack_size\n\n# Check if GIF meets size limits\npasses, info = check_slack_size('emoji.gif', is_emoji=True)\n# Returns: (True\u002FFalse, dict with size details)\n",[379],{"type":45,"tag":262,"props":380,"children":381},{"__ignoreMap":259},[382,390,397,405,413],{"type":45,"tag":266,"props":383,"children":384},{"class":268,"line":269},[385],{"type":45,"tag":266,"props":386,"children":387},{},[388],{"type":51,"value":389},"from core.validators import check_slack_size\n",{"type":45,"tag":266,"props":391,"children":392},{"class":268,"line":278},[393],{"type":45,"tag":266,"props":394,"children":395},{"emptyLinePlaceholder":282},[396],{"type":51,"value":285},{"type":45,"tag":266,"props":398,"children":399},{"class":268,"line":288},[400],{"type":45,"tag":266,"props":401,"children":402},{},[403],{"type":51,"value":404},"# Check if GIF meets size limits\n",{"type":45,"tag":266,"props":406,"children":407},{"class":268,"line":297},[408],{"type":45,"tag":266,"props":409,"children":410},{},[411],{"type":51,"value":412},"passes, info = check_slack_size('emoji.gif', is_emoji=True)\n",{"type":45,"tag":266,"props":414,"children":415},{"class":268,"line":306},[416],{"type":45,"tag":266,"props":417,"children":418},{},[419],{"type":51,"value":420},"# Returns: (True\u002FFalse, dict with size details)\n",{"type":45,"tag":54,"props":422,"children":423},{},[424,429],{"type":45,"tag":60,"props":425,"children":426},{},[427],{"type":51,"value":428},"Dimension validator",{"type":51,"value":374},{"type":45,"tag":254,"props":431,"children":433},{"className":256,"code":432,"language":258,"meta":259,"style":259},"from core.validators import validate_dimensions\n\n# Check dimensions\npasses, info = validate_dimensions(128, 128, is_emoji=True)\n# Returns: (True\u002FFalse, dict with dimension details)\n",[434],{"type":45,"tag":262,"props":435,"children":436},{"__ignoreMap":259},[437,445,452,460,468],{"type":45,"tag":266,"props":438,"children":439},{"class":268,"line":269},[440],{"type":45,"tag":266,"props":441,"children":442},{},[443],{"type":51,"value":444},"from core.validators import validate_dimensions\n",{"type":45,"tag":266,"props":446,"children":447},{"class":268,"line":278},[448],{"type":45,"tag":266,"props":449,"children":450},{"emptyLinePlaceholder":282},[451],{"type":51,"value":285},{"type":45,"tag":266,"props":453,"children":454},{"class":268,"line":288},[455],{"type":45,"tag":266,"props":456,"children":457},{},[458],{"type":51,"value":459},"# Check dimensions\n",{"type":45,"tag":266,"props":461,"children":462},{"class":268,"line":297},[463],{"type":45,"tag":266,"props":464,"children":465},{},[466],{"type":51,"value":467},"passes, info = validate_dimensions(128, 128, is_emoji=True)\n",{"type":45,"tag":266,"props":469,"children":470},{"class":268,"line":306},[471],{"type":45,"tag":266,"props":472,"children":473},{},[474],{"type":51,"value":475},"# Returns: (True\u002FFalse, dict with dimension details)\n",{"type":45,"tag":54,"props":477,"children":478},{},[479,484],{"type":45,"tag":60,"props":480,"children":481},{},[482],{"type":51,"value":483},"Complete validation",{"type":51,"value":374},{"type":45,"tag":254,"props":486,"children":488},{"className":256,"code":487,"language":258,"meta":259,"style":259},"from core.validators import validate_gif, is_slack_ready\n\n# Run all validations\nall_pass, results = validate_gif('emoji.gif', is_emoji=True)\n\n# Or quick check\nif is_slack_ready('emoji.gif', is_emoji=True):\n    print(\"Ready to upload!\")\n",[489],{"type":45,"tag":262,"props":490,"children":491},{"__ignoreMap":259},[492,500,507,515,523,530,538,546],{"type":45,"tag":266,"props":493,"children":494},{"class":268,"line":269},[495],{"type":45,"tag":266,"props":496,"children":497},{},[498],{"type":51,"value":499},"from core.validators import validate_gif, is_slack_ready\n",{"type":45,"tag":266,"props":501,"children":502},{"class":268,"line":278},[503],{"type":45,"tag":266,"props":504,"children":505},{"emptyLinePlaceholder":282},[506],{"type":51,"value":285},{"type":45,"tag":266,"props":508,"children":509},{"class":268,"line":288},[510],{"type":45,"tag":266,"props":511,"children":512},{},[513],{"type":51,"value":514},"# Run all validations\n",{"type":45,"tag":266,"props":516,"children":517},{"class":268,"line":297},[518],{"type":45,"tag":266,"props":519,"children":520},{},[521],{"type":51,"value":522},"all_pass, results = validate_gif('emoji.gif', is_emoji=True)\n",{"type":45,"tag":266,"props":524,"children":525},{"class":268,"line":306},[526],{"type":45,"tag":266,"props":527,"children":528},{"emptyLinePlaceholder":282},[529],{"type":51,"value":285},{"type":45,"tag":266,"props":531,"children":532},{"class":268,"line":315},[533],{"type":45,"tag":266,"props":534,"children":535},{},[536],{"type":51,"value":537},"# Or quick check\n",{"type":45,"tag":266,"props":539,"children":540},{"class":268,"line":323},[541],{"type":45,"tag":266,"props":542,"children":543},{},[544],{"type":51,"value":545},"if is_slack_ready('emoji.gif', is_emoji=True):\n",{"type":45,"tag":266,"props":547,"children":548},{"class":268,"line":332},[549],{"type":45,"tag":266,"props":550,"children":551},{},[552],{"type":51,"value":553},"    print(\"Ready to upload!\")\n",{"type":45,"tag":66,"props":555,"children":557},{"id":556},"animation-primitives",[558],{"type":51,"value":221},{"type":45,"tag":54,"props":560,"children":561},{},[562],{"type":51,"value":563},"These are composable building blocks for motion. Apply these to any object in any combination:",{"type":45,"tag":565,"props":566,"children":568},"h3",{"id":567},"shake",[569],{"type":51,"value":570},"Shake",{"type":45,"tag":254,"props":572,"children":574},{"className":256,"code":573,"language":258,"meta":259,"style":259},"from templates.shake import create_shake_animation\n\n# Shake an emoji\nframes = create_shake_animation(\n    object_type='emoji',\n    object_data={'emoji': '😱', 'size': 80},\n    num_frames=20,\n    shake_intensity=15,\n    direction='both'  # or 'horizontal', 'vertical'\n)\n",[575],{"type":45,"tag":262,"props":576,"children":577},{"__ignoreMap":259},[578,586,593,601,609,617,625,633,641,649],{"type":45,"tag":266,"props":579,"children":580},{"class":268,"line":269},[581],{"type":45,"tag":266,"props":582,"children":583},{},[584],{"type":51,"value":585},"from templates.shake import create_shake_animation\n",{"type":45,"tag":266,"props":587,"children":588},{"class":268,"line":278},[589],{"type":45,"tag":266,"props":590,"children":591},{"emptyLinePlaceholder":282},[592],{"type":51,"value":285},{"type":45,"tag":266,"props":594,"children":595},{"class":268,"line":288},[596],{"type":45,"tag":266,"props":597,"children":598},{},[599],{"type":51,"value":600},"# Shake an emoji\n",{"type":45,"tag":266,"props":602,"children":603},{"class":268,"line":297},[604],{"type":45,"tag":266,"props":605,"children":606},{},[607],{"type":51,"value":608},"frames = create_shake_animation(\n",{"type":45,"tag":266,"props":610,"children":611},{"class":268,"line":306},[612],{"type":45,"tag":266,"props":613,"children":614},{},[615],{"type":51,"value":616},"    object_type='emoji',\n",{"type":45,"tag":266,"props":618,"children":619},{"class":268,"line":315},[620],{"type":45,"tag":266,"props":621,"children":622},{},[623],{"type":51,"value":624},"    object_data={'emoji': '😱', 'size': 80},\n",{"type":45,"tag":266,"props":626,"children":627},{"class":268,"line":323},[628],{"type":45,"tag":266,"props":629,"children":630},{},[631],{"type":51,"value":632},"    num_frames=20,\n",{"type":45,"tag":266,"props":634,"children":635},{"class":268,"line":332},[636],{"type":45,"tag":266,"props":637,"children":638},{},[639],{"type":51,"value":640},"    shake_intensity=15,\n",{"type":45,"tag":266,"props":642,"children":643},{"class":268,"line":341},[644],{"type":45,"tag":266,"props":645,"children":646},{},[647],{"type":51,"value":648},"    direction='both'  # or 'horizontal', 'vertical'\n",{"type":45,"tag":266,"props":650,"children":651},{"class":268,"line":349},[652],{"type":45,"tag":266,"props":653,"children":654},{},[655],{"type":51,"value":656},")\n",{"type":45,"tag":565,"props":658,"children":660},{"id":659},"bounce",[661],{"type":51,"value":662},"Bounce",{"type":45,"tag":254,"props":664,"children":666},{"className":256,"code":665,"language":258,"meta":259,"style":259},"from templates.bounce import create_bounce_animation\n\n# Bounce a circle\nframes = create_bounce_animation(\n    object_type='circle',\n    object_data={'radius': 40, 'color': (255, 100, 100)},\n    num_frames=30,\n    bounce_height=150\n)\n",[667],{"type":45,"tag":262,"props":668,"children":669},{"__ignoreMap":259},[670,678,685,693,701,709,717,725,733],{"type":45,"tag":266,"props":671,"children":672},{"class":268,"line":269},[673],{"type":45,"tag":266,"props":674,"children":675},{},[676],{"type":51,"value":677},"from templates.bounce import create_bounce_animation\n",{"type":45,"tag":266,"props":679,"children":680},{"class":268,"line":278},[681],{"type":45,"tag":266,"props":682,"children":683},{"emptyLinePlaceholder":282},[684],{"type":51,"value":285},{"type":45,"tag":266,"props":686,"children":687},{"class":268,"line":288},[688],{"type":45,"tag":266,"props":689,"children":690},{},[691],{"type":51,"value":692},"# Bounce a circle\n",{"type":45,"tag":266,"props":694,"children":695},{"class":268,"line":297},[696],{"type":45,"tag":266,"props":697,"children":698},{},[699],{"type":51,"value":700},"frames = create_bounce_animation(\n",{"type":45,"tag":266,"props":702,"children":703},{"class":268,"line":306},[704],{"type":45,"tag":266,"props":705,"children":706},{},[707],{"type":51,"value":708},"    object_type='circle',\n",{"type":45,"tag":266,"props":710,"children":711},{"class":268,"line":315},[712],{"type":45,"tag":266,"props":713,"children":714},{},[715],{"type":51,"value":716},"    object_data={'radius': 40, 'color': (255, 100, 100)},\n",{"type":45,"tag":266,"props":718,"children":719},{"class":268,"line":323},[720],{"type":45,"tag":266,"props":721,"children":722},{},[723],{"type":51,"value":724},"    num_frames=30,\n",{"type":45,"tag":266,"props":726,"children":727},{"class":268,"line":332},[728],{"type":45,"tag":266,"props":729,"children":730},{},[731],{"type":51,"value":732},"    bounce_height=150\n",{"type":45,"tag":266,"props":734,"children":735},{"class":268,"line":341},[736],{"type":45,"tag":266,"props":737,"children":738},{},[739],{"type":51,"value":656},{"type":45,"tag":565,"props":741,"children":743},{"id":742},"spin-rotate",[744],{"type":51,"value":745},"Spin \u002F Rotate",{"type":45,"tag":254,"props":747,"children":749},{"className":256,"code":748,"language":258,"meta":259,"style":259},"from templates.spin import create_spin_animation, create_loading_spinner\n\n# Clockwise spin\nframes = create_spin_animation(\n    object_type='emoji',\n    object_data={'emoji': '🔄', 'size': 100},\n    rotation_type='clockwise',\n    full_rotations=2\n)\n\n# Wobble rotation\nframes = create_spin_animation(rotation_type='wobble', full_rotations=3)\n\n# Loading spinner\nframes = create_loading_spinner(spinner_type='dots')\n",[750],{"type":45,"tag":262,"props":751,"children":752},{"__ignoreMap":259},[753,761,768,776,784,791,799,807,815,822,829,837,846,854,863],{"type":45,"tag":266,"props":754,"children":755},{"class":268,"line":269},[756],{"type":45,"tag":266,"props":757,"children":758},{},[759],{"type":51,"value":760},"from templates.spin import create_spin_animation, create_loading_spinner\n",{"type":45,"tag":266,"props":762,"children":763},{"class":268,"line":278},[764],{"type":45,"tag":266,"props":765,"children":766},{"emptyLinePlaceholder":282},[767],{"type":51,"value":285},{"type":45,"tag":266,"props":769,"children":770},{"class":268,"line":288},[771],{"type":45,"tag":266,"props":772,"children":773},{},[774],{"type":51,"value":775},"# Clockwise spin\n",{"type":45,"tag":266,"props":777,"children":778},{"class":268,"line":297},[779],{"type":45,"tag":266,"props":780,"children":781},{},[782],{"type":51,"value":783},"frames = create_spin_animation(\n",{"type":45,"tag":266,"props":785,"children":786},{"class":268,"line":306},[787],{"type":45,"tag":266,"props":788,"children":789},{},[790],{"type":51,"value":616},{"type":45,"tag":266,"props":792,"children":793},{"class":268,"line":315},[794],{"type":45,"tag":266,"props":795,"children":796},{},[797],{"type":51,"value":798},"    object_data={'emoji': '🔄', 'size': 100},\n",{"type":45,"tag":266,"props":800,"children":801},{"class":268,"line":323},[802],{"type":45,"tag":266,"props":803,"children":804},{},[805],{"type":51,"value":806},"    rotation_type='clockwise',\n",{"type":45,"tag":266,"props":808,"children":809},{"class":268,"line":332},[810],{"type":45,"tag":266,"props":811,"children":812},{},[813],{"type":51,"value":814},"    full_rotations=2\n",{"type":45,"tag":266,"props":816,"children":817},{"class":268,"line":341},[818],{"type":45,"tag":266,"props":819,"children":820},{},[821],{"type":51,"value":656},{"type":45,"tag":266,"props":823,"children":824},{"class":268,"line":349},[825],{"type":45,"tag":266,"props":826,"children":827},{"emptyLinePlaceholder":282},[828],{"type":51,"value":285},{"type":45,"tag":266,"props":830,"children":831},{"class":268,"line":358},[832],{"type":45,"tag":266,"props":833,"children":834},{},[835],{"type":51,"value":836},"# Wobble rotation\n",{"type":45,"tag":266,"props":838,"children":840},{"class":268,"line":839},12,[841],{"type":45,"tag":266,"props":842,"children":843},{},[844],{"type":51,"value":845},"frames = create_spin_animation(rotation_type='wobble', full_rotations=3)\n",{"type":45,"tag":266,"props":847,"children":849},{"class":268,"line":848},13,[850],{"type":45,"tag":266,"props":851,"children":852},{"emptyLinePlaceholder":282},[853],{"type":51,"value":285},{"type":45,"tag":266,"props":855,"children":857},{"class":268,"line":856},14,[858],{"type":45,"tag":266,"props":859,"children":860},{},[861],{"type":51,"value":862},"# Loading spinner\n",{"type":45,"tag":266,"props":864,"children":866},{"class":268,"line":865},15,[867],{"type":45,"tag":266,"props":868,"children":869},{},[870],{"type":51,"value":871},"frames = create_loading_spinner(spinner_type='dots')\n",{"type":45,"tag":565,"props":873,"children":875},{"id":874},"pulse-heartbeat",[876],{"type":51,"value":877},"Pulse \u002F Heartbeat",{"type":45,"tag":254,"props":879,"children":881},{"className":256,"code":880,"language":258,"meta":259,"style":259},"from templates.pulse import create_pulse_animation, create_attention_pulse\n\n# Smooth pulse\nframes = create_pulse_animation(\n    object_data={'emoji': '❤️', 'size': 100},\n    pulse_type='smooth',\n    scale_range=(0.8, 1.2)\n)\n\n# Heartbeat (double-pump)\nframes = create_pulse_animation(pulse_type='heartbeat')\n\n# Attention pulse for emoji GIFs\nframes = create_attention_pulse(emoji='⚠️', num_frames=20)\n",[882],{"type":45,"tag":262,"props":883,"children":884},{"__ignoreMap":259},[885,893,900,908,916,924,932,940,947,954,962,970,977,985],{"type":45,"tag":266,"props":886,"children":887},{"class":268,"line":269},[888],{"type":45,"tag":266,"props":889,"children":890},{},[891],{"type":51,"value":892},"from templates.pulse import create_pulse_animation, create_attention_pulse\n",{"type":45,"tag":266,"props":894,"children":895},{"class":268,"line":278},[896],{"type":45,"tag":266,"props":897,"children":898},{"emptyLinePlaceholder":282},[899],{"type":51,"value":285},{"type":45,"tag":266,"props":901,"children":902},{"class":268,"line":288},[903],{"type":45,"tag":266,"props":904,"children":905},{},[906],{"type":51,"value":907},"# Smooth pulse\n",{"type":45,"tag":266,"props":909,"children":910},{"class":268,"line":297},[911],{"type":45,"tag":266,"props":912,"children":913},{},[914],{"type":51,"value":915},"frames = create_pulse_animation(\n",{"type":45,"tag":266,"props":917,"children":918},{"class":268,"line":306},[919],{"type":45,"tag":266,"props":920,"children":921},{},[922],{"type":51,"value":923},"    object_data={'emoji': '❤️', 'size': 100},\n",{"type":45,"tag":266,"props":925,"children":926},{"class":268,"line":315},[927],{"type":45,"tag":266,"props":928,"children":929},{},[930],{"type":51,"value":931},"    pulse_type='smooth',\n",{"type":45,"tag":266,"props":933,"children":934},{"class":268,"line":323},[935],{"type":45,"tag":266,"props":936,"children":937},{},[938],{"type":51,"value":939},"    scale_range=(0.8, 1.2)\n",{"type":45,"tag":266,"props":941,"children":942},{"class":268,"line":332},[943],{"type":45,"tag":266,"props":944,"children":945},{},[946],{"type":51,"value":656},{"type":45,"tag":266,"props":948,"children":949},{"class":268,"line":341},[950],{"type":45,"tag":266,"props":951,"children":952},{"emptyLinePlaceholder":282},[953],{"type":51,"value":285},{"type":45,"tag":266,"props":955,"children":956},{"class":268,"line":349},[957],{"type":45,"tag":266,"props":958,"children":959},{},[960],{"type":51,"value":961},"# Heartbeat (double-pump)\n",{"type":45,"tag":266,"props":963,"children":964},{"class":268,"line":358},[965],{"type":45,"tag":266,"props":966,"children":967},{},[968],{"type":51,"value":969},"frames = create_pulse_animation(pulse_type='heartbeat')\n",{"type":45,"tag":266,"props":971,"children":972},{"class":268,"line":839},[973],{"type":45,"tag":266,"props":974,"children":975},{"emptyLinePlaceholder":282},[976],{"type":51,"value":285},{"type":45,"tag":266,"props":978,"children":979},{"class":268,"line":848},[980],{"type":45,"tag":266,"props":981,"children":982},{},[983],{"type":51,"value":984},"# Attention pulse for emoji GIFs\n",{"type":45,"tag":266,"props":986,"children":987},{"class":268,"line":856},[988],{"type":45,"tag":266,"props":989,"children":990},{},[991],{"type":51,"value":992},"frames = create_attention_pulse(emoji='⚠️', num_frames=20)\n",{"type":45,"tag":565,"props":994,"children":996},{"id":995},"fade",[997],{"type":51,"value":998},"Fade",{"type":45,"tag":254,"props":1000,"children":1002},{"className":256,"code":1001,"language":258,"meta":259,"style":259},"from templates.fade import create_fade_animation, create_crossfade\n\n# Fade in\nframes = create_fade_animation(fade_type='in')\n\n# Fade out\nframes = create_fade_animation(fade_type='out')\n\n# Crossfade between two emojis\nframes = create_crossfade(\n    object1_data={'emoji': '😊', 'size': 100},\n    object2_data={'emoji': '😂', 'size': 100}\n)\n",[1003],{"type":45,"tag":262,"props":1004,"children":1005},{"__ignoreMap":259},[1006,1014,1021,1029,1037,1044,1052,1060,1067,1075,1083,1091,1099],{"type":45,"tag":266,"props":1007,"children":1008},{"class":268,"line":269},[1009],{"type":45,"tag":266,"props":1010,"children":1011},{},[1012],{"type":51,"value":1013},"from templates.fade import create_fade_animation, create_crossfade\n",{"type":45,"tag":266,"props":1015,"children":1016},{"class":268,"line":278},[1017],{"type":45,"tag":266,"props":1018,"children":1019},{"emptyLinePlaceholder":282},[1020],{"type":51,"value":285},{"type":45,"tag":266,"props":1022,"children":1023},{"class":268,"line":288},[1024],{"type":45,"tag":266,"props":1025,"children":1026},{},[1027],{"type":51,"value":1028},"# Fade in\n",{"type":45,"tag":266,"props":1030,"children":1031},{"class":268,"line":297},[1032],{"type":45,"tag":266,"props":1033,"children":1034},{},[1035],{"type":51,"value":1036},"frames = create_fade_animation(fade_type='in')\n",{"type":45,"tag":266,"props":1038,"children":1039},{"class":268,"line":306},[1040],{"type":45,"tag":266,"props":1041,"children":1042},{"emptyLinePlaceholder":282},[1043],{"type":51,"value":285},{"type":45,"tag":266,"props":1045,"children":1046},{"class":268,"line":315},[1047],{"type":45,"tag":266,"props":1048,"children":1049},{},[1050],{"type":51,"value":1051},"# Fade out\n",{"type":45,"tag":266,"props":1053,"children":1054},{"class":268,"line":323},[1055],{"type":45,"tag":266,"props":1056,"children":1057},{},[1058],{"type":51,"value":1059},"frames = create_fade_animation(fade_type='out')\n",{"type":45,"tag":266,"props":1061,"children":1062},{"class":268,"line":332},[1063],{"type":45,"tag":266,"props":1064,"children":1065},{"emptyLinePlaceholder":282},[1066],{"type":51,"value":285},{"type":45,"tag":266,"props":1068,"children":1069},{"class":268,"line":341},[1070],{"type":45,"tag":266,"props":1071,"children":1072},{},[1073],{"type":51,"value":1074},"# Crossfade between two emojis\n",{"type":45,"tag":266,"props":1076,"children":1077},{"class":268,"line":349},[1078],{"type":45,"tag":266,"props":1079,"children":1080},{},[1081],{"type":51,"value":1082},"frames = create_crossfade(\n",{"type":45,"tag":266,"props":1084,"children":1085},{"class":268,"line":358},[1086],{"type":45,"tag":266,"props":1087,"children":1088},{},[1089],{"type":51,"value":1090},"    object1_data={'emoji': '😊', 'size': 100},\n",{"type":45,"tag":266,"props":1092,"children":1093},{"class":268,"line":839},[1094],{"type":45,"tag":266,"props":1095,"children":1096},{},[1097],{"type":51,"value":1098},"    object2_data={'emoji': '😂', 'size': 100}\n",{"type":45,"tag":266,"props":1100,"children":1101},{"class":268,"line":848},[1102],{"type":45,"tag":266,"props":1103,"children":1104},{},[1105],{"type":51,"value":656},{"type":45,"tag":565,"props":1107,"children":1109},{"id":1108},"zoom",[1110],{"type":51,"value":1111},"Zoom",{"type":45,"tag":254,"props":1113,"children":1115},{"className":256,"code":1114,"language":258,"meta":259,"style":259},"from templates.zoom import create_zoom_animation, create_explosion_zoom\n\n# Zoom in dramatically\nframes = create_zoom_animation(\n    zoom_type='in',\n    scale_range=(0.1, 2.0),\n    add_motion_blur=True\n)\n\n# Zoom out\nframes = create_zoom_animation(zoom_type='out')\n\n# Explosion zoom\nframes = create_explosion_zoom(emoji='💥')\n",[1116],{"type":45,"tag":262,"props":1117,"children":1118},{"__ignoreMap":259},[1119,1127,1134,1142,1150,1158,1166,1174,1181,1188,1196,1204,1211,1219],{"type":45,"tag":266,"props":1120,"children":1121},{"class":268,"line":269},[1122],{"type":45,"tag":266,"props":1123,"children":1124},{},[1125],{"type":51,"value":1126},"from templates.zoom import create_zoom_animation, create_explosion_zoom\n",{"type":45,"tag":266,"props":1128,"children":1129},{"class":268,"line":278},[1130],{"type":45,"tag":266,"props":1131,"children":1132},{"emptyLinePlaceholder":282},[1133],{"type":51,"value":285},{"type":45,"tag":266,"props":1135,"children":1136},{"class":268,"line":288},[1137],{"type":45,"tag":266,"props":1138,"children":1139},{},[1140],{"type":51,"value":1141},"# Zoom in dramatically\n",{"type":45,"tag":266,"props":1143,"children":1144},{"class":268,"line":297},[1145],{"type":45,"tag":266,"props":1146,"children":1147},{},[1148],{"type":51,"value":1149},"frames = create_zoom_animation(\n",{"type":45,"tag":266,"props":1151,"children":1152},{"class":268,"line":306},[1153],{"type":45,"tag":266,"props":1154,"children":1155},{},[1156],{"type":51,"value":1157},"    zoom_type='in',\n",{"type":45,"tag":266,"props":1159,"children":1160},{"class":268,"line":315},[1161],{"type":45,"tag":266,"props":1162,"children":1163},{},[1164],{"type":51,"value":1165},"    scale_range=(0.1, 2.0),\n",{"type":45,"tag":266,"props":1167,"children":1168},{"class":268,"line":323},[1169],{"type":45,"tag":266,"props":1170,"children":1171},{},[1172],{"type":51,"value":1173},"    add_motion_blur=True\n",{"type":45,"tag":266,"props":1175,"children":1176},{"class":268,"line":332},[1177],{"type":45,"tag":266,"props":1178,"children":1179},{},[1180],{"type":51,"value":656},{"type":45,"tag":266,"props":1182,"children":1183},{"class":268,"line":341},[1184],{"type":45,"tag":266,"props":1185,"children":1186},{"emptyLinePlaceholder":282},[1187],{"type":51,"value":285},{"type":45,"tag":266,"props":1189,"children":1190},{"class":268,"line":349},[1191],{"type":45,"tag":266,"props":1192,"children":1193},{},[1194],{"type":51,"value":1195},"# Zoom out\n",{"type":45,"tag":266,"props":1197,"children":1198},{"class":268,"line":358},[1199],{"type":45,"tag":266,"props":1200,"children":1201},{},[1202],{"type":51,"value":1203},"frames = create_zoom_animation(zoom_type='out')\n",{"type":45,"tag":266,"props":1205,"children":1206},{"class":268,"line":839},[1207],{"type":45,"tag":266,"props":1208,"children":1209},{"emptyLinePlaceholder":282},[1210],{"type":51,"value":285},{"type":45,"tag":266,"props":1212,"children":1213},{"class":268,"line":848},[1214],{"type":45,"tag":266,"props":1215,"children":1216},{},[1217],{"type":51,"value":1218},"# Explosion zoom\n",{"type":45,"tag":266,"props":1220,"children":1221},{"class":268,"line":856},[1222],{"type":45,"tag":266,"props":1223,"children":1224},{},[1225],{"type":51,"value":1226},"frames = create_explosion_zoom(emoji='💥')\n",{"type":45,"tag":565,"props":1228,"children":1230},{"id":1229},"explode-shatter",[1231],{"type":51,"value":1232},"Explode \u002F Shatter",{"type":45,"tag":254,"props":1234,"children":1236},{"className":256,"code":1235,"language":258,"meta":259,"style":259},"from templates.explode import create_explode_animation, create_particle_burst\n\n# Burst explosion\nframes = create_explode_animation(\n    explode_type='burst',\n    num_pieces=25\n)\n\n# Shatter effect\nframes = create_explode_animation(explode_type='shatter')\n\n# Dissolve into particles\nframes = create_explode_animation(explode_type='dissolve')\n\n# Particle burst\nframes = create_particle_burst(particle_count=30)\n",[1237],{"type":45,"tag":262,"props":1238,"children":1239},{"__ignoreMap":259},[1240,1248,1255,1263,1271,1279,1287,1294,1301,1309,1317,1324,1332,1340,1347,1355],{"type":45,"tag":266,"props":1241,"children":1242},{"class":268,"line":269},[1243],{"type":45,"tag":266,"props":1244,"children":1245},{},[1246],{"type":51,"value":1247},"from templates.explode import create_explode_animation, create_particle_burst\n",{"type":45,"tag":266,"props":1249,"children":1250},{"class":268,"line":278},[1251],{"type":45,"tag":266,"props":1252,"children":1253},{"emptyLinePlaceholder":282},[1254],{"type":51,"value":285},{"type":45,"tag":266,"props":1256,"children":1257},{"class":268,"line":288},[1258],{"type":45,"tag":266,"props":1259,"children":1260},{},[1261],{"type":51,"value":1262},"# Burst explosion\n",{"type":45,"tag":266,"props":1264,"children":1265},{"class":268,"line":297},[1266],{"type":45,"tag":266,"props":1267,"children":1268},{},[1269],{"type":51,"value":1270},"frames = create_explode_animation(\n",{"type":45,"tag":266,"props":1272,"children":1273},{"class":268,"line":306},[1274],{"type":45,"tag":266,"props":1275,"children":1276},{},[1277],{"type":51,"value":1278},"    explode_type='burst',\n",{"type":45,"tag":266,"props":1280,"children":1281},{"class":268,"line":315},[1282],{"type":45,"tag":266,"props":1283,"children":1284},{},[1285],{"type":51,"value":1286},"    num_pieces=25\n",{"type":45,"tag":266,"props":1288,"children":1289},{"class":268,"line":323},[1290],{"type":45,"tag":266,"props":1291,"children":1292},{},[1293],{"type":51,"value":656},{"type":45,"tag":266,"props":1295,"children":1296},{"class":268,"line":332},[1297],{"type":45,"tag":266,"props":1298,"children":1299},{"emptyLinePlaceholder":282},[1300],{"type":51,"value":285},{"type":45,"tag":266,"props":1302,"children":1303},{"class":268,"line":341},[1304],{"type":45,"tag":266,"props":1305,"children":1306},{},[1307],{"type":51,"value":1308},"# Shatter effect\n",{"type":45,"tag":266,"props":1310,"children":1311},{"class":268,"line":349},[1312],{"type":45,"tag":266,"props":1313,"children":1314},{},[1315],{"type":51,"value":1316},"frames = create_explode_animation(explode_type='shatter')\n",{"type":45,"tag":266,"props":1318,"children":1319},{"class":268,"line":358},[1320],{"type":45,"tag":266,"props":1321,"children":1322},{"emptyLinePlaceholder":282},[1323],{"type":51,"value":285},{"type":45,"tag":266,"props":1325,"children":1326},{"class":268,"line":839},[1327],{"type":45,"tag":266,"props":1328,"children":1329},{},[1330],{"type":51,"value":1331},"# Dissolve into particles\n",{"type":45,"tag":266,"props":1333,"children":1334},{"class":268,"line":848},[1335],{"type":45,"tag":266,"props":1336,"children":1337},{},[1338],{"type":51,"value":1339},"frames = create_explode_animation(explode_type='dissolve')\n",{"type":45,"tag":266,"props":1341,"children":1342},{"class":268,"line":856},[1343],{"type":45,"tag":266,"props":1344,"children":1345},{"emptyLinePlaceholder":282},[1346],{"type":51,"value":285},{"type":45,"tag":266,"props":1348,"children":1349},{"class":268,"line":865},[1350],{"type":45,"tag":266,"props":1351,"children":1352},{},[1353],{"type":51,"value":1354},"# Particle burst\n",{"type":45,"tag":266,"props":1356,"children":1358},{"class":268,"line":1357},16,[1359],{"type":45,"tag":266,"props":1360,"children":1361},{},[1362],{"type":51,"value":1363},"frames = create_particle_burst(particle_count=30)\n",{"type":45,"tag":565,"props":1365,"children":1367},{"id":1366},"wiggle-jiggle",[1368],{"type":51,"value":1369},"Wiggle \u002F Jiggle",{"type":45,"tag":254,"props":1371,"children":1373},{"className":256,"code":1372,"language":258,"meta":259,"style":259},"from templates.wiggle import create_wiggle_animation, create_excited_wiggle\n\n# Jello wobble\nframes = create_wiggle_animation(\n    wiggle_type='jello',\n    intensity=1.0,\n    cycles=2\n)\n\n# Wave motion\nframes = create_wiggle_animation(wiggle_type='wave')\n\n# Excited wiggle for emoji GIFs\nframes = create_excited_wiggle(emoji='🎉')\n",[1374],{"type":45,"tag":262,"props":1375,"children":1376},{"__ignoreMap":259},[1377,1385,1392,1400,1408,1416,1424,1432,1439,1446,1454,1462,1469,1477],{"type":45,"tag":266,"props":1378,"children":1379},{"class":268,"line":269},[1380],{"type":45,"tag":266,"props":1381,"children":1382},{},[1383],{"type":51,"value":1384},"from templates.wiggle import create_wiggle_animation, create_excited_wiggle\n",{"type":45,"tag":266,"props":1386,"children":1387},{"class":268,"line":278},[1388],{"type":45,"tag":266,"props":1389,"children":1390},{"emptyLinePlaceholder":282},[1391],{"type":51,"value":285},{"type":45,"tag":266,"props":1393,"children":1394},{"class":268,"line":288},[1395],{"type":45,"tag":266,"props":1396,"children":1397},{},[1398],{"type":51,"value":1399},"# Jello wobble\n",{"type":45,"tag":266,"props":1401,"children":1402},{"class":268,"line":297},[1403],{"type":45,"tag":266,"props":1404,"children":1405},{},[1406],{"type":51,"value":1407},"frames = create_wiggle_animation(\n",{"type":45,"tag":266,"props":1409,"children":1410},{"class":268,"line":306},[1411],{"type":45,"tag":266,"props":1412,"children":1413},{},[1414],{"type":51,"value":1415},"    wiggle_type='jello',\n",{"type":45,"tag":266,"props":1417,"children":1418},{"class":268,"line":315},[1419],{"type":45,"tag":266,"props":1420,"children":1421},{},[1422],{"type":51,"value":1423},"    intensity=1.0,\n",{"type":45,"tag":266,"props":1425,"children":1426},{"class":268,"line":323},[1427],{"type":45,"tag":266,"props":1428,"children":1429},{},[1430],{"type":51,"value":1431},"    cycles=2\n",{"type":45,"tag":266,"props":1433,"children":1434},{"class":268,"line":332},[1435],{"type":45,"tag":266,"props":1436,"children":1437},{},[1438],{"type":51,"value":656},{"type":45,"tag":266,"props":1440,"children":1441},{"class":268,"line":341},[1442],{"type":45,"tag":266,"props":1443,"children":1444},{"emptyLinePlaceholder":282},[1445],{"type":51,"value":285},{"type":45,"tag":266,"props":1447,"children":1448},{"class":268,"line":349},[1449],{"type":45,"tag":266,"props":1450,"children":1451},{},[1452],{"type":51,"value":1453},"# Wave motion\n",{"type":45,"tag":266,"props":1455,"children":1456},{"class":268,"line":358},[1457],{"type":45,"tag":266,"props":1458,"children":1459},{},[1460],{"type":51,"value":1461},"frames = create_wiggle_animation(wiggle_type='wave')\n",{"type":45,"tag":266,"props":1463,"children":1464},{"class":268,"line":839},[1465],{"type":45,"tag":266,"props":1466,"children":1467},{"emptyLinePlaceholder":282},[1468],{"type":51,"value":285},{"type":45,"tag":266,"props":1470,"children":1471},{"class":268,"line":848},[1472],{"type":45,"tag":266,"props":1473,"children":1474},{},[1475],{"type":51,"value":1476},"# Excited wiggle for emoji GIFs\n",{"type":45,"tag":266,"props":1478,"children":1479},{"class":268,"line":856},[1480],{"type":45,"tag":266,"props":1481,"children":1482},{},[1483],{"type":51,"value":1484},"frames = create_excited_wiggle(emoji='🎉')\n",{"type":45,"tag":565,"props":1486,"children":1488},{"id":1487},"slide",[1489],{"type":51,"value":1490},"Slide",{"type":45,"tag":254,"props":1492,"children":1494},{"className":256,"code":1493,"language":258,"meta":259,"style":259},"from templates.slide import create_slide_animation, create_multi_slide\n\n# Slide in from left with overshoot\nframes = create_slide_animation(\n    direction='left',\n    slide_type='in',\n    overshoot=True\n)\n\n# Slide across\nframes = create_slide_animation(direction='left', slide_type='across')\n\n# Multiple objects sliding in sequence\nobjects = [\n    {'data': {'emoji': '🎯', 'size': 60}, 'direction': 'left', 'final_pos': (120, 240)},\n    {'data': {'emoji': '🎪', 'size': 60}, 'direction': 'right', 'final_pos': (240, 240)}\n]\nframes = create_multi_slide(objects, stagger_delay=5)\n",[1495],{"type":45,"tag":262,"props":1496,"children":1497},{"__ignoreMap":259},[1498,1506,1513,1521,1529,1537,1545,1553,1560,1567,1575,1583,1590,1598,1606,1614,1622,1631],{"type":45,"tag":266,"props":1499,"children":1500},{"class":268,"line":269},[1501],{"type":45,"tag":266,"props":1502,"children":1503},{},[1504],{"type":51,"value":1505},"from templates.slide import create_slide_animation, create_multi_slide\n",{"type":45,"tag":266,"props":1507,"children":1508},{"class":268,"line":278},[1509],{"type":45,"tag":266,"props":1510,"children":1511},{"emptyLinePlaceholder":282},[1512],{"type":51,"value":285},{"type":45,"tag":266,"props":1514,"children":1515},{"class":268,"line":288},[1516],{"type":45,"tag":266,"props":1517,"children":1518},{},[1519],{"type":51,"value":1520},"# Slide in from left with overshoot\n",{"type":45,"tag":266,"props":1522,"children":1523},{"class":268,"line":297},[1524],{"type":45,"tag":266,"props":1525,"children":1526},{},[1527],{"type":51,"value":1528},"frames = create_slide_animation(\n",{"type":45,"tag":266,"props":1530,"children":1531},{"class":268,"line":306},[1532],{"type":45,"tag":266,"props":1533,"children":1534},{},[1535],{"type":51,"value":1536},"    direction='left',\n",{"type":45,"tag":266,"props":1538,"children":1539},{"class":268,"line":315},[1540],{"type":45,"tag":266,"props":1541,"children":1542},{},[1543],{"type":51,"value":1544},"    slide_type='in',\n",{"type":45,"tag":266,"props":1546,"children":1547},{"class":268,"line":323},[1548],{"type":45,"tag":266,"props":1549,"children":1550},{},[1551],{"type":51,"value":1552},"    overshoot=True\n",{"type":45,"tag":266,"props":1554,"children":1555},{"class":268,"line":332},[1556],{"type":45,"tag":266,"props":1557,"children":1558},{},[1559],{"type":51,"value":656},{"type":45,"tag":266,"props":1561,"children":1562},{"class":268,"line":341},[1563],{"type":45,"tag":266,"props":1564,"children":1565},{"emptyLinePlaceholder":282},[1566],{"type":51,"value":285},{"type":45,"tag":266,"props":1568,"children":1569},{"class":268,"line":349},[1570],{"type":45,"tag":266,"props":1571,"children":1572},{},[1573],{"type":51,"value":1574},"# Slide across\n",{"type":45,"tag":266,"props":1576,"children":1577},{"class":268,"line":358},[1578],{"type":45,"tag":266,"props":1579,"children":1580},{},[1581],{"type":51,"value":1582},"frames = create_slide_animation(direction='left', slide_type='across')\n",{"type":45,"tag":266,"props":1584,"children":1585},{"class":268,"line":839},[1586],{"type":45,"tag":266,"props":1587,"children":1588},{"emptyLinePlaceholder":282},[1589],{"type":51,"value":285},{"type":45,"tag":266,"props":1591,"children":1592},{"class":268,"line":848},[1593],{"type":45,"tag":266,"props":1594,"children":1595},{},[1596],{"type":51,"value":1597},"# Multiple objects sliding in sequence\n",{"type":45,"tag":266,"props":1599,"children":1600},{"class":268,"line":856},[1601],{"type":45,"tag":266,"props":1602,"children":1603},{},[1604],{"type":51,"value":1605},"objects = [\n",{"type":45,"tag":266,"props":1607,"children":1608},{"class":268,"line":865},[1609],{"type":45,"tag":266,"props":1610,"children":1611},{},[1612],{"type":51,"value":1613},"    {'data': {'emoji': '🎯', 'size': 60}, 'direction': 'left', 'final_pos': (120, 240)},\n",{"type":45,"tag":266,"props":1615,"children":1616},{"class":268,"line":1357},[1617],{"type":45,"tag":266,"props":1618,"children":1619},{},[1620],{"type":51,"value":1621},"    {'data': {'emoji': '🎪', 'size': 60}, 'direction': 'right', 'final_pos': (240, 240)}\n",{"type":45,"tag":266,"props":1623,"children":1625},{"class":268,"line":1624},17,[1626],{"type":45,"tag":266,"props":1627,"children":1628},{},[1629],{"type":51,"value":1630},"]\n",{"type":45,"tag":266,"props":1632,"children":1634},{"class":268,"line":1633},18,[1635],{"type":45,"tag":266,"props":1636,"children":1637},{},[1638],{"type":51,"value":1639},"frames = create_multi_slide(objects, stagger_delay=5)\n",{"type":45,"tag":565,"props":1641,"children":1643},{"id":1642},"flip",[1644],{"type":51,"value":1645},"Flip",{"type":45,"tag":254,"props":1647,"children":1649},{"className":256,"code":1648,"language":258,"meta":259,"style":259},"from templates.flip import create_flip_animation, create_quick_flip\n\n# Horizontal flip between two emojis\nframes = create_flip_animation(\n    object1_data={'emoji': '😊', 'size': 120},\n    object2_data={'emoji': '😂', 'size': 120},\n    flip_axis='horizontal'\n)\n\n# Vertical flip\nframes = create_flip_animation(flip_axis='vertical')\n\n# Quick flip for emoji GIFs\nframes = create_quick_flip('👍', '👎')\n",[1650],{"type":45,"tag":262,"props":1651,"children":1652},{"__ignoreMap":259},[1653,1661,1668,1676,1684,1692,1700,1708,1715,1722,1730,1738,1745,1753],{"type":45,"tag":266,"props":1654,"children":1655},{"class":268,"line":269},[1656],{"type":45,"tag":266,"props":1657,"children":1658},{},[1659],{"type":51,"value":1660},"from templates.flip import create_flip_animation, create_quick_flip\n",{"type":45,"tag":266,"props":1662,"children":1663},{"class":268,"line":278},[1664],{"type":45,"tag":266,"props":1665,"children":1666},{"emptyLinePlaceholder":282},[1667],{"type":51,"value":285},{"type":45,"tag":266,"props":1669,"children":1670},{"class":268,"line":288},[1671],{"type":45,"tag":266,"props":1672,"children":1673},{},[1674],{"type":51,"value":1675},"# Horizontal flip between two emojis\n",{"type":45,"tag":266,"props":1677,"children":1678},{"class":268,"line":297},[1679],{"type":45,"tag":266,"props":1680,"children":1681},{},[1682],{"type":51,"value":1683},"frames = create_flip_animation(\n",{"type":45,"tag":266,"props":1685,"children":1686},{"class":268,"line":306},[1687],{"type":45,"tag":266,"props":1688,"children":1689},{},[1690],{"type":51,"value":1691},"    object1_data={'emoji': '😊', 'size': 120},\n",{"type":45,"tag":266,"props":1693,"children":1694},{"class":268,"line":315},[1695],{"type":45,"tag":266,"props":1696,"children":1697},{},[1698],{"type":51,"value":1699},"    object2_data={'emoji': '😂', 'size': 120},\n",{"type":45,"tag":266,"props":1701,"children":1702},{"class":268,"line":323},[1703],{"type":45,"tag":266,"props":1704,"children":1705},{},[1706],{"type":51,"value":1707},"    flip_axis='horizontal'\n",{"type":45,"tag":266,"props":1709,"children":1710},{"class":268,"line":332},[1711],{"type":45,"tag":266,"props":1712,"children":1713},{},[1714],{"type":51,"value":656},{"type":45,"tag":266,"props":1716,"children":1717},{"class":268,"line":341},[1718],{"type":45,"tag":266,"props":1719,"children":1720},{"emptyLinePlaceholder":282},[1721],{"type":51,"value":285},{"type":45,"tag":266,"props":1723,"children":1724},{"class":268,"line":349},[1725],{"type":45,"tag":266,"props":1726,"children":1727},{},[1728],{"type":51,"value":1729},"# Vertical flip\n",{"type":45,"tag":266,"props":1731,"children":1732},{"class":268,"line":358},[1733],{"type":45,"tag":266,"props":1734,"children":1735},{},[1736],{"type":51,"value":1737},"frames = create_flip_animation(flip_axis='vertical')\n",{"type":45,"tag":266,"props":1739,"children":1740},{"class":268,"line":839},[1741],{"type":45,"tag":266,"props":1742,"children":1743},{"emptyLinePlaceholder":282},[1744],{"type":51,"value":285},{"type":45,"tag":266,"props":1746,"children":1747},{"class":268,"line":848},[1748],{"type":45,"tag":266,"props":1749,"children":1750},{},[1751],{"type":51,"value":1752},"# Quick flip for emoji GIFs\n",{"type":45,"tag":266,"props":1754,"children":1755},{"class":268,"line":856},[1756],{"type":45,"tag":266,"props":1757,"children":1758},{},[1759],{"type":51,"value":1760},"frames = create_quick_flip('👍', '👎')\n",{"type":45,"tag":565,"props":1762,"children":1764},{"id":1763},"morph-transform",[1765],{"type":51,"value":1766},"Morph \u002F Transform",{"type":45,"tag":254,"props":1768,"children":1770},{"className":256,"code":1769,"language":258,"meta":259,"style":259},"from templates.morph import create_morph_animation, create_reaction_morph\n\n# Crossfade morph\nframes = create_morph_animation(\n    object1_data={'emoji': '😊', 'size': 100},\n    object2_data={'emoji': '😂', 'size': 100},\n    morph_type='crossfade'\n)\n\n# Scale morph (shrink while other grows)\nframes = create_morph_animation(morph_type='scale')\n\n# Spin morph (3D flip-like)\nframes = create_morph_animation(morph_type='spin_morph')\n",[1771],{"type":45,"tag":262,"props":1772,"children":1773},{"__ignoreMap":259},[1774,1782,1789,1797,1805,1812,1820,1828,1835,1842,1850,1858,1865,1873],{"type":45,"tag":266,"props":1775,"children":1776},{"class":268,"line":269},[1777],{"type":45,"tag":266,"props":1778,"children":1779},{},[1780],{"type":51,"value":1781},"from templates.morph import create_morph_animation, create_reaction_morph\n",{"type":45,"tag":266,"props":1783,"children":1784},{"class":268,"line":278},[1785],{"type":45,"tag":266,"props":1786,"children":1787},{"emptyLinePlaceholder":282},[1788],{"type":51,"value":285},{"type":45,"tag":266,"props":1790,"children":1791},{"class":268,"line":288},[1792],{"type":45,"tag":266,"props":1793,"children":1794},{},[1795],{"type":51,"value":1796},"# Crossfade morph\n",{"type":45,"tag":266,"props":1798,"children":1799},{"class":268,"line":297},[1800],{"type":45,"tag":266,"props":1801,"children":1802},{},[1803],{"type":51,"value":1804},"frames = create_morph_animation(\n",{"type":45,"tag":266,"props":1806,"children":1807},{"class":268,"line":306},[1808],{"type":45,"tag":266,"props":1809,"children":1810},{},[1811],{"type":51,"value":1090},{"type":45,"tag":266,"props":1813,"children":1814},{"class":268,"line":315},[1815],{"type":45,"tag":266,"props":1816,"children":1817},{},[1818],{"type":51,"value":1819},"    object2_data={'emoji': '😂', 'size': 100},\n",{"type":45,"tag":266,"props":1821,"children":1822},{"class":268,"line":323},[1823],{"type":45,"tag":266,"props":1824,"children":1825},{},[1826],{"type":51,"value":1827},"    morph_type='crossfade'\n",{"type":45,"tag":266,"props":1829,"children":1830},{"class":268,"line":332},[1831],{"type":45,"tag":266,"props":1832,"children":1833},{},[1834],{"type":51,"value":656},{"type":45,"tag":266,"props":1836,"children":1837},{"class":268,"line":341},[1838],{"type":45,"tag":266,"props":1839,"children":1840},{"emptyLinePlaceholder":282},[1841],{"type":51,"value":285},{"type":45,"tag":266,"props":1843,"children":1844},{"class":268,"line":349},[1845],{"type":45,"tag":266,"props":1846,"children":1847},{},[1848],{"type":51,"value":1849},"# Scale morph (shrink while other grows)\n",{"type":45,"tag":266,"props":1851,"children":1852},{"class":268,"line":358},[1853],{"type":45,"tag":266,"props":1854,"children":1855},{},[1856],{"type":51,"value":1857},"frames = create_morph_animation(morph_type='scale')\n",{"type":45,"tag":266,"props":1859,"children":1860},{"class":268,"line":839},[1861],{"type":45,"tag":266,"props":1862,"children":1863},{"emptyLinePlaceholder":282},[1864],{"type":51,"value":285},{"type":45,"tag":266,"props":1866,"children":1867},{"class":268,"line":848},[1868],{"type":45,"tag":266,"props":1869,"children":1870},{},[1871],{"type":51,"value":1872},"# Spin morph (3D flip-like)\n",{"type":45,"tag":266,"props":1874,"children":1875},{"class":268,"line":856},[1876],{"type":45,"tag":266,"props":1877,"children":1878},{},[1879],{"type":51,"value":1880},"frames = create_morph_animation(morph_type='spin_morph')\n",{"type":45,"tag":565,"props":1882,"children":1884},{"id":1883},"move-effect",[1885],{"type":51,"value":1886},"Move Effect",{"type":45,"tag":254,"props":1888,"children":1890},{"className":256,"code":1889,"language":258,"meta":259,"style":259},"from templates.move import create_move_animation\n\n# Linear movement\nframes = create_move_animation(\n    object_type='emoji',\n    object_data={'emoji': '🚀', 'size': 60},\n    start_pos=(50, 240),\n    end_pos=(430, 240),\n    motion_type='linear',\n    easing='ease_out'\n)\n\n# Arc movement (parabolic trajectory)\nframes = create_move_animation(\n    object_type='emoji',\n    object_data={'emoji': '⚽', 'size': 60},\n    start_pos=(50, 350),\n    end_pos=(430, 350),\n    motion_type='arc',\n    motion_params={'arc_height': 150}\n)\n\n# Circular movement\nframes = create_move_animation(\n    object_type='emoji',\n    object_data={'emoji': '🌍', 'size': 50},\n    motion_type='circle',\n    motion_params={\n        'center': (240, 240),\n        'radius': 120,\n        'angle_range': 360  # full circle\n    }\n)\n\n# Wave movement\nframes = create_move_animation(\n    motion_type='wave',\n    motion_params={\n        'wave_amplitude': 50,\n        'wave_frequency': 2\n    }\n)\n\n# Or use low-level easing functions\nfrom core.easing import interpolate, calculate_arc_motion\n\nfor i in range(num_frames):\n    t = i \u002F (num_frames - 1)\n    x = interpolate(start_x, end_x, t, easing='ease_out')\n    # Or: x, y = calculate_arc_motion(start, end, height, t)\n",[1891],{"type":45,"tag":262,"props":1892,"children":1893},{"__ignoreMap":259},[1894,1902,1909,1917,1925,1932,1940,1948,1956,1964,1972,1979,1986,1994,2001,2008,2016,2024,2032,2041,2050,2058,2066,2075,2083,2091,2100,2109,2118,2127,2136,2145,2154,2162,2170,2179,2187,2196,2204,2213,2222,2230,2238,2246,2255,2264,2272,2281,2290,2299],{"type":45,"tag":266,"props":1895,"children":1896},{"class":268,"line":269},[1897],{"type":45,"tag":266,"props":1898,"children":1899},{},[1900],{"type":51,"value":1901},"from templates.move import create_move_animation\n",{"type":45,"tag":266,"props":1903,"children":1904},{"class":268,"line":278},[1905],{"type":45,"tag":266,"props":1906,"children":1907},{"emptyLinePlaceholder":282},[1908],{"type":51,"value":285},{"type":45,"tag":266,"props":1910,"children":1911},{"class":268,"line":288},[1912],{"type":45,"tag":266,"props":1913,"children":1914},{},[1915],{"type":51,"value":1916},"# Linear movement\n",{"type":45,"tag":266,"props":1918,"children":1919},{"class":268,"line":297},[1920],{"type":45,"tag":266,"props":1921,"children":1922},{},[1923],{"type":51,"value":1924},"frames = create_move_animation(\n",{"type":45,"tag":266,"props":1926,"children":1927},{"class":268,"line":306},[1928],{"type":45,"tag":266,"props":1929,"children":1930},{},[1931],{"type":51,"value":616},{"type":45,"tag":266,"props":1933,"children":1934},{"class":268,"line":315},[1935],{"type":45,"tag":266,"props":1936,"children":1937},{},[1938],{"type":51,"value":1939},"    object_data={'emoji': '🚀', 'size': 60},\n",{"type":45,"tag":266,"props":1941,"children":1942},{"class":268,"line":323},[1943],{"type":45,"tag":266,"props":1944,"children":1945},{},[1946],{"type":51,"value":1947},"    start_pos=(50, 240),\n",{"type":45,"tag":266,"props":1949,"children":1950},{"class":268,"line":332},[1951],{"type":45,"tag":266,"props":1952,"children":1953},{},[1954],{"type":51,"value":1955},"    end_pos=(430, 240),\n",{"type":45,"tag":266,"props":1957,"children":1958},{"class":268,"line":341},[1959],{"type":45,"tag":266,"props":1960,"children":1961},{},[1962],{"type":51,"value":1963},"    motion_type='linear',\n",{"type":45,"tag":266,"props":1965,"children":1966},{"class":268,"line":349},[1967],{"type":45,"tag":266,"props":1968,"children":1969},{},[1970],{"type":51,"value":1971},"    easing='ease_out'\n",{"type":45,"tag":266,"props":1973,"children":1974},{"class":268,"line":358},[1975],{"type":45,"tag":266,"props":1976,"children":1977},{},[1978],{"type":51,"value":656},{"type":45,"tag":266,"props":1980,"children":1981},{"class":268,"line":839},[1982],{"type":45,"tag":266,"props":1983,"children":1984},{"emptyLinePlaceholder":282},[1985],{"type":51,"value":285},{"type":45,"tag":266,"props":1987,"children":1988},{"class":268,"line":848},[1989],{"type":45,"tag":266,"props":1990,"children":1991},{},[1992],{"type":51,"value":1993},"# Arc movement (parabolic trajectory)\n",{"type":45,"tag":266,"props":1995,"children":1996},{"class":268,"line":856},[1997],{"type":45,"tag":266,"props":1998,"children":1999},{},[2000],{"type":51,"value":1924},{"type":45,"tag":266,"props":2002,"children":2003},{"class":268,"line":865},[2004],{"type":45,"tag":266,"props":2005,"children":2006},{},[2007],{"type":51,"value":616},{"type":45,"tag":266,"props":2009,"children":2010},{"class":268,"line":1357},[2011],{"type":45,"tag":266,"props":2012,"children":2013},{},[2014],{"type":51,"value":2015},"    object_data={'emoji': '⚽', 'size': 60},\n",{"type":45,"tag":266,"props":2017,"children":2018},{"class":268,"line":1624},[2019],{"type":45,"tag":266,"props":2020,"children":2021},{},[2022],{"type":51,"value":2023},"    start_pos=(50, 350),\n",{"type":45,"tag":266,"props":2025,"children":2026},{"class":268,"line":1633},[2027],{"type":45,"tag":266,"props":2028,"children":2029},{},[2030],{"type":51,"value":2031},"    end_pos=(430, 350),\n",{"type":45,"tag":266,"props":2033,"children":2035},{"class":268,"line":2034},19,[2036],{"type":45,"tag":266,"props":2037,"children":2038},{},[2039],{"type":51,"value":2040},"    motion_type='arc',\n",{"type":45,"tag":266,"props":2042,"children":2044},{"class":268,"line":2043},20,[2045],{"type":45,"tag":266,"props":2046,"children":2047},{},[2048],{"type":51,"value":2049},"    motion_params={'arc_height': 150}\n",{"type":45,"tag":266,"props":2051,"children":2053},{"class":268,"line":2052},21,[2054],{"type":45,"tag":266,"props":2055,"children":2056},{},[2057],{"type":51,"value":656},{"type":45,"tag":266,"props":2059,"children":2061},{"class":268,"line":2060},22,[2062],{"type":45,"tag":266,"props":2063,"children":2064},{"emptyLinePlaceholder":282},[2065],{"type":51,"value":285},{"type":45,"tag":266,"props":2067,"children":2069},{"class":268,"line":2068},23,[2070],{"type":45,"tag":266,"props":2071,"children":2072},{},[2073],{"type":51,"value":2074},"# Circular movement\n",{"type":45,"tag":266,"props":2076,"children":2078},{"class":268,"line":2077},24,[2079],{"type":45,"tag":266,"props":2080,"children":2081},{},[2082],{"type":51,"value":1924},{"type":45,"tag":266,"props":2084,"children":2086},{"class":268,"line":2085},25,[2087],{"type":45,"tag":266,"props":2088,"children":2089},{},[2090],{"type":51,"value":616},{"type":45,"tag":266,"props":2092,"children":2094},{"class":268,"line":2093},26,[2095],{"type":45,"tag":266,"props":2096,"children":2097},{},[2098],{"type":51,"value":2099},"    object_data={'emoji': '🌍', 'size': 50},\n",{"type":45,"tag":266,"props":2101,"children":2103},{"class":268,"line":2102},27,[2104],{"type":45,"tag":266,"props":2105,"children":2106},{},[2107],{"type":51,"value":2108},"    motion_type='circle',\n",{"type":45,"tag":266,"props":2110,"children":2112},{"class":268,"line":2111},28,[2113],{"type":45,"tag":266,"props":2114,"children":2115},{},[2116],{"type":51,"value":2117},"    motion_params={\n",{"type":45,"tag":266,"props":2119,"children":2121},{"class":268,"line":2120},29,[2122],{"type":45,"tag":266,"props":2123,"children":2124},{},[2125],{"type":51,"value":2126},"        'center': (240, 240),\n",{"type":45,"tag":266,"props":2128,"children":2130},{"class":268,"line":2129},30,[2131],{"type":45,"tag":266,"props":2132,"children":2133},{},[2134],{"type":51,"value":2135},"        'radius': 120,\n",{"type":45,"tag":266,"props":2137,"children":2139},{"class":268,"line":2138},31,[2140],{"type":45,"tag":266,"props":2141,"children":2142},{},[2143],{"type":51,"value":2144},"        'angle_range': 360  # full circle\n",{"type":45,"tag":266,"props":2146,"children":2148},{"class":268,"line":2147},32,[2149],{"type":45,"tag":266,"props":2150,"children":2151},{},[2152],{"type":51,"value":2153},"    }\n",{"type":45,"tag":266,"props":2155,"children":2157},{"class":268,"line":2156},33,[2158],{"type":45,"tag":266,"props":2159,"children":2160},{},[2161],{"type":51,"value":656},{"type":45,"tag":266,"props":2163,"children":2165},{"class":268,"line":2164},34,[2166],{"type":45,"tag":266,"props":2167,"children":2168},{"emptyLinePlaceholder":282},[2169],{"type":51,"value":285},{"type":45,"tag":266,"props":2171,"children":2173},{"class":268,"line":2172},35,[2174],{"type":45,"tag":266,"props":2175,"children":2176},{},[2177],{"type":51,"value":2178},"# Wave movement\n",{"type":45,"tag":266,"props":2180,"children":2182},{"class":268,"line":2181},36,[2183],{"type":45,"tag":266,"props":2184,"children":2185},{},[2186],{"type":51,"value":1924},{"type":45,"tag":266,"props":2188,"children":2190},{"class":268,"line":2189},37,[2191],{"type":45,"tag":266,"props":2192,"children":2193},{},[2194],{"type":51,"value":2195},"    motion_type='wave',\n",{"type":45,"tag":266,"props":2197,"children":2199},{"class":268,"line":2198},38,[2200],{"type":45,"tag":266,"props":2201,"children":2202},{},[2203],{"type":51,"value":2117},{"type":45,"tag":266,"props":2205,"children":2207},{"class":268,"line":2206},39,[2208],{"type":45,"tag":266,"props":2209,"children":2210},{},[2211],{"type":51,"value":2212},"        'wave_amplitude': 50,\n",{"type":45,"tag":266,"props":2214,"children":2216},{"class":268,"line":2215},40,[2217],{"type":45,"tag":266,"props":2218,"children":2219},{},[2220],{"type":51,"value":2221},"        'wave_frequency': 2\n",{"type":45,"tag":266,"props":2223,"children":2225},{"class":268,"line":2224},41,[2226],{"type":45,"tag":266,"props":2227,"children":2228},{},[2229],{"type":51,"value":2153},{"type":45,"tag":266,"props":2231,"children":2233},{"class":268,"line":2232},42,[2234],{"type":45,"tag":266,"props":2235,"children":2236},{},[2237],{"type":51,"value":656},{"type":45,"tag":266,"props":2239,"children":2241},{"class":268,"line":2240},43,[2242],{"type":45,"tag":266,"props":2243,"children":2244},{"emptyLinePlaceholder":282},[2245],{"type":51,"value":285},{"type":45,"tag":266,"props":2247,"children":2249},{"class":268,"line":2248},44,[2250],{"type":45,"tag":266,"props":2251,"children":2252},{},[2253],{"type":51,"value":2254},"# Or use low-level easing functions\n",{"type":45,"tag":266,"props":2256,"children":2258},{"class":268,"line":2257},45,[2259],{"type":45,"tag":266,"props":2260,"children":2261},{},[2262],{"type":51,"value":2263},"from core.easing import interpolate, calculate_arc_motion\n",{"type":45,"tag":266,"props":2265,"children":2267},{"class":268,"line":2266},46,[2268],{"type":45,"tag":266,"props":2269,"children":2270},{"emptyLinePlaceholder":282},[2271],{"type":51,"value":285},{"type":45,"tag":266,"props":2273,"children":2275},{"class":268,"line":2274},47,[2276],{"type":45,"tag":266,"props":2277,"children":2278},{},[2279],{"type":51,"value":2280},"for i in range(num_frames):\n",{"type":45,"tag":266,"props":2282,"children":2284},{"class":268,"line":2283},48,[2285],{"type":45,"tag":266,"props":2286,"children":2287},{},[2288],{"type":51,"value":2289},"    t = i \u002F (num_frames - 1)\n",{"type":45,"tag":266,"props":2291,"children":2293},{"class":268,"line":2292},49,[2294],{"type":45,"tag":266,"props":2295,"children":2296},{},[2297],{"type":51,"value":2298},"    x = interpolate(start_x, end_x, t, easing='ease_out')\n",{"type":45,"tag":266,"props":2300,"children":2302},{"class":268,"line":2301},50,[2303],{"type":45,"tag":266,"props":2304,"children":2305},{},[2306],{"type":51,"value":2307},"    # Or: x, y = calculate_arc_motion(start, end, height, t)\n",{"type":45,"tag":565,"props":2309,"children":2311},{"id":2310},"kaleidoscope-effect",[2312],{"type":51,"value":2313},"Kaleidoscope Effect",{"type":45,"tag":254,"props":2315,"children":2317},{"className":256,"code":2316,"language":258,"meta":259,"style":259},"from templates.kaleidoscope import apply_kaleidoscope, create_kaleidoscope_animation\n\n# Apply to a single frame\nkaleido_frame = apply_kaleidoscope(frame, segments=8)\n\n# Or create animated kaleidoscope\nframes = create_kaleidoscope_animation(\n    base_frame=my_frame,  # or None for demo pattern\n    num_frames=30,\n    segments=8,\n    rotation_speed=1.0\n)\n\n# Simple mirror effects (faster)\nfrom templates.kaleidoscope import apply_simple_mirror\n\nmirrored = apply_simple_mirror(frame, mode='quad')  # 4-way mirror\n# modes: 'horizontal', 'vertical', 'quad', 'radial'\n",[2318],{"type":45,"tag":262,"props":2319,"children":2320},{"__ignoreMap":259},[2321,2329,2336,2344,2352,2359,2367,2375,2383,2390,2398,2406,2413,2420,2428,2436,2443,2451],{"type":45,"tag":266,"props":2322,"children":2323},{"class":268,"line":269},[2324],{"type":45,"tag":266,"props":2325,"children":2326},{},[2327],{"type":51,"value":2328},"from templates.kaleidoscope import apply_kaleidoscope, create_kaleidoscope_animation\n",{"type":45,"tag":266,"props":2330,"children":2331},{"class":268,"line":278},[2332],{"type":45,"tag":266,"props":2333,"children":2334},{"emptyLinePlaceholder":282},[2335],{"type":51,"value":285},{"type":45,"tag":266,"props":2337,"children":2338},{"class":268,"line":288},[2339],{"type":45,"tag":266,"props":2340,"children":2341},{},[2342],{"type":51,"value":2343},"# Apply to a single frame\n",{"type":45,"tag":266,"props":2345,"children":2346},{"class":268,"line":297},[2347],{"type":45,"tag":266,"props":2348,"children":2349},{},[2350],{"type":51,"value":2351},"kaleido_frame = apply_kaleidoscope(frame, segments=8)\n",{"type":45,"tag":266,"props":2353,"children":2354},{"class":268,"line":306},[2355],{"type":45,"tag":266,"props":2356,"children":2357},{"emptyLinePlaceholder":282},[2358],{"type":51,"value":285},{"type":45,"tag":266,"props":2360,"children":2361},{"class":268,"line":315},[2362],{"type":45,"tag":266,"props":2363,"children":2364},{},[2365],{"type":51,"value":2366},"# Or create animated kaleidoscope\n",{"type":45,"tag":266,"props":2368,"children":2369},{"class":268,"line":323},[2370],{"type":45,"tag":266,"props":2371,"children":2372},{},[2373],{"type":51,"value":2374},"frames = create_kaleidoscope_animation(\n",{"type":45,"tag":266,"props":2376,"children":2377},{"class":268,"line":332},[2378],{"type":45,"tag":266,"props":2379,"children":2380},{},[2381],{"type":51,"value":2382},"    base_frame=my_frame,  # or None for demo pattern\n",{"type":45,"tag":266,"props":2384,"children":2385},{"class":268,"line":341},[2386],{"type":45,"tag":266,"props":2387,"children":2388},{},[2389],{"type":51,"value":724},{"type":45,"tag":266,"props":2391,"children":2392},{"class":268,"line":349},[2393],{"type":45,"tag":266,"props":2394,"children":2395},{},[2396],{"type":51,"value":2397},"    segments=8,\n",{"type":45,"tag":266,"props":2399,"children":2400},{"class":268,"line":358},[2401],{"type":45,"tag":266,"props":2402,"children":2403},{},[2404],{"type":51,"value":2405},"    rotation_speed=1.0\n",{"type":45,"tag":266,"props":2407,"children":2408},{"class":268,"line":839},[2409],{"type":45,"tag":266,"props":2410,"children":2411},{},[2412],{"type":51,"value":656},{"type":45,"tag":266,"props":2414,"children":2415},{"class":268,"line":848},[2416],{"type":45,"tag":266,"props":2417,"children":2418},{"emptyLinePlaceholder":282},[2419],{"type":51,"value":285},{"type":45,"tag":266,"props":2421,"children":2422},{"class":268,"line":856},[2423],{"type":45,"tag":266,"props":2424,"children":2425},{},[2426],{"type":51,"value":2427},"# Simple mirror effects (faster)\n",{"type":45,"tag":266,"props":2429,"children":2430},{"class":268,"line":865},[2431],{"type":45,"tag":266,"props":2432,"children":2433},{},[2434],{"type":51,"value":2435},"from templates.kaleidoscope import apply_simple_mirror\n",{"type":45,"tag":266,"props":2437,"children":2438},{"class":268,"line":1357},[2439],{"type":45,"tag":266,"props":2440,"children":2441},{"emptyLinePlaceholder":282},[2442],{"type":51,"value":285},{"type":45,"tag":266,"props":2444,"children":2445},{"class":268,"line":1624},[2446],{"type":45,"tag":266,"props":2447,"children":2448},{},[2449],{"type":51,"value":2450},"mirrored = apply_simple_mirror(frame, mode='quad')  # 4-way mirror\n",{"type":45,"tag":266,"props":2452,"children":2453},{"class":268,"line":1633},[2454],{"type":45,"tag":266,"props":2455,"children":2456},{},[2457],{"type":51,"value":2458},"# modes: 'horizontal', 'vertical', 'quad', 'radial'\n",{"type":45,"tag":54,"props":2460,"children":2461},{},[2462],{"type":45,"tag":60,"props":2463,"children":2464},{},[2465],{"type":51,"value":2466},"To compose primitives freely, follow these patterns:",{"type":45,"tag":254,"props":2468,"children":2470},{"className":256,"code":2469,"language":258,"meta":259,"style":259},"# Example: Bounce + shake for impact\nfor i in range(num_frames):\n    frame = create_blank_frame(480, 480, bg_color)\n\n    # Bounce motion\n    t_bounce = i \u002F (num_frames - 1)\n    y = interpolate(start_y, ground_y, t_bounce, 'bounce_out')\n\n    # Add shake on impact (when y reaches ground)\n    if y >= ground_y - 5:\n        shake_x = math.sin(i * 2) * 10\n        x = center_x + shake_x\n    else:\n        x = center_x\n\n    draw_emoji(frame, '⚽', (x, y), size=60)\n    builder.add_frame(frame)\n",[2471],{"type":45,"tag":262,"props":2472,"children":2473},{"__ignoreMap":259},[2474,2482,2489,2497,2504,2512,2520,2528,2535,2543,2551,2559,2567,2575,2583,2590,2598],{"type":45,"tag":266,"props":2475,"children":2476},{"class":268,"line":269},[2477],{"type":45,"tag":266,"props":2478,"children":2479},{},[2480],{"type":51,"value":2481},"# Example: Bounce + shake for impact\n",{"type":45,"tag":266,"props":2483,"children":2484},{"class":268,"line":278},[2485],{"type":45,"tag":266,"props":2486,"children":2487},{},[2488],{"type":51,"value":2280},{"type":45,"tag":266,"props":2490,"children":2491},{"class":268,"line":288},[2492],{"type":45,"tag":266,"props":2493,"children":2494},{},[2495],{"type":51,"value":2496},"    frame = create_blank_frame(480, 480, bg_color)\n",{"type":45,"tag":266,"props":2498,"children":2499},{"class":268,"line":297},[2500],{"type":45,"tag":266,"props":2501,"children":2502},{"emptyLinePlaceholder":282},[2503],{"type":51,"value":285},{"type":45,"tag":266,"props":2505,"children":2506},{"class":268,"line":306},[2507],{"type":45,"tag":266,"props":2508,"children":2509},{},[2510],{"type":51,"value":2511},"    # Bounce motion\n",{"type":45,"tag":266,"props":2513,"children":2514},{"class":268,"line":315},[2515],{"type":45,"tag":266,"props":2516,"children":2517},{},[2518],{"type":51,"value":2519},"    t_bounce = i \u002F (num_frames - 1)\n",{"type":45,"tag":266,"props":2521,"children":2522},{"class":268,"line":323},[2523],{"type":45,"tag":266,"props":2524,"children":2525},{},[2526],{"type":51,"value":2527},"    y = interpolate(start_y, ground_y, t_bounce, 'bounce_out')\n",{"type":45,"tag":266,"props":2529,"children":2530},{"class":268,"line":332},[2531],{"type":45,"tag":266,"props":2532,"children":2533},{"emptyLinePlaceholder":282},[2534],{"type":51,"value":285},{"type":45,"tag":266,"props":2536,"children":2537},{"class":268,"line":341},[2538],{"type":45,"tag":266,"props":2539,"children":2540},{},[2541],{"type":51,"value":2542},"    # Add shake on impact (when y reaches ground)\n",{"type":45,"tag":266,"props":2544,"children":2545},{"class":268,"line":349},[2546],{"type":45,"tag":266,"props":2547,"children":2548},{},[2549],{"type":51,"value":2550},"    if y >= ground_y - 5:\n",{"type":45,"tag":266,"props":2552,"children":2553},{"class":268,"line":358},[2554],{"type":45,"tag":266,"props":2555,"children":2556},{},[2557],{"type":51,"value":2558},"        shake_x = math.sin(i * 2) * 10\n",{"type":45,"tag":266,"props":2560,"children":2561},{"class":268,"line":839},[2562],{"type":45,"tag":266,"props":2563,"children":2564},{},[2565],{"type":51,"value":2566},"        x = center_x + shake_x\n",{"type":45,"tag":266,"props":2568,"children":2569},{"class":268,"line":848},[2570],{"type":45,"tag":266,"props":2571,"children":2572},{},[2573],{"type":51,"value":2574},"    else:\n",{"type":45,"tag":266,"props":2576,"children":2577},{"class":268,"line":856},[2578],{"type":45,"tag":266,"props":2579,"children":2580},{},[2581],{"type":51,"value":2582},"        x = center_x\n",{"type":45,"tag":266,"props":2584,"children":2585},{"class":268,"line":865},[2586],{"type":45,"tag":266,"props":2587,"children":2588},{"emptyLinePlaceholder":282},[2589],{"type":51,"value":285},{"type":45,"tag":266,"props":2591,"children":2592},{"class":268,"line":1357},[2593],{"type":45,"tag":266,"props":2594,"children":2595},{},[2596],{"type":51,"value":2597},"    draw_emoji(frame, '⚽', (x, y), size=60)\n",{"type":45,"tag":266,"props":2599,"children":2600},{"class":268,"line":1624},[2601],{"type":45,"tag":266,"props":2602,"children":2603},{},[2604],{"type":51,"value":2605},"    builder.add_frame(frame)\n",{"type":45,"tag":66,"props":2607,"children":2609},{"id":2608},"helper-utilities",[2610],{"type":51,"value":231},{"type":45,"tag":54,"props":2612,"children":2613},{},[2614,2616],{"type":51,"value":2615},"These are optional helpers for common needs. ",{"type":45,"tag":60,"props":2617,"children":2618},{},[2619],{"type":51,"value":2620},"Use, modify, or replace these with custom implementations as needed.",{"type":45,"tag":565,"props":2622,"children":2624},{"id":2623},"gif-builder-assembly-optimization",[2625],{"type":51,"value":2626},"GIF Builder (Assembly & Optimization)",{"type":45,"tag":254,"props":2628,"children":2630},{"className":256,"code":2629,"language":258,"meta":259,"style":259},"from core.gif_builder import GIFBuilder\n\n# Create builder with your chosen settings\nbuilder = GIFBuilder(width=480, height=480, fps=20)\n\n# Add frames (however you created them)\nfor frame in my_frames:\n    builder.add_frame(frame)\n\n# Save with optimization\nbuilder.save('output.gif',\n             num_colors=128,\n             optimize_for_emoji=False)\n",[2631],{"type":45,"tag":262,"props":2632,"children":2633},{"__ignoreMap":259},[2634,2641,2648,2656,2664,2671,2679,2687,2694,2701,2709,2717,2725],{"type":45,"tag":266,"props":2635,"children":2636},{"class":268,"line":269},[2637],{"type":45,"tag":266,"props":2638,"children":2639},{},[2640],{"type":51,"value":275},{"type":45,"tag":266,"props":2642,"children":2643},{"class":268,"line":278},[2644],{"type":45,"tag":266,"props":2645,"children":2646},{"emptyLinePlaceholder":282},[2647],{"type":51,"value":285},{"type":45,"tag":266,"props":2649,"children":2650},{"class":268,"line":288},[2651],{"type":45,"tag":266,"props":2652,"children":2653},{},[2654],{"type":51,"value":2655},"# Create builder with your chosen settings\n",{"type":45,"tag":266,"props":2657,"children":2658},{"class":268,"line":297},[2659],{"type":45,"tag":266,"props":2660,"children":2661},{},[2662],{"type":51,"value":2663},"builder = GIFBuilder(width=480, height=480, fps=20)\n",{"type":45,"tag":266,"props":2665,"children":2666},{"class":268,"line":306},[2667],{"type":45,"tag":266,"props":2668,"children":2669},{"emptyLinePlaceholder":282},[2670],{"type":51,"value":285},{"type":45,"tag":266,"props":2672,"children":2673},{"class":268,"line":315},[2674],{"type":45,"tag":266,"props":2675,"children":2676},{},[2677],{"type":51,"value":2678},"# Add frames (however you created them)\n",{"type":45,"tag":266,"props":2680,"children":2681},{"class":268,"line":323},[2682],{"type":45,"tag":266,"props":2683,"children":2684},{},[2685],{"type":51,"value":2686},"for frame in my_frames:\n",{"type":45,"tag":266,"props":2688,"children":2689},{"class":268,"line":332},[2690],{"type":45,"tag":266,"props":2691,"children":2692},{},[2693],{"type":51,"value":2605},{"type":45,"tag":266,"props":2695,"children":2696},{"class":268,"line":341},[2697],{"type":45,"tag":266,"props":2698,"children":2699},{"emptyLinePlaceholder":282},[2700],{"type":51,"value":285},{"type":45,"tag":266,"props":2702,"children":2703},{"class":268,"line":349},[2704],{"type":45,"tag":266,"props":2705,"children":2706},{},[2707],{"type":51,"value":2708},"# Save with optimization\n",{"type":45,"tag":266,"props":2710,"children":2711},{"class":268,"line":358},[2712],{"type":45,"tag":266,"props":2713,"children":2714},{},[2715],{"type":51,"value":2716},"builder.save('output.gif',\n",{"type":45,"tag":266,"props":2718,"children":2719},{"class":268,"line":839},[2720],{"type":45,"tag":266,"props":2721,"children":2722},{},[2723],{"type":51,"value":2724},"             num_colors=128,\n",{"type":45,"tag":266,"props":2726,"children":2727},{"class":268,"line":848},[2728],{"type":45,"tag":266,"props":2729,"children":2730},{},[2731],{"type":51,"value":2732},"             optimize_for_emoji=False)\n",{"type":45,"tag":54,"props":2734,"children":2735},{},[2736],{"type":51,"value":2737},"Key features:",{"type":45,"tag":86,"props":2739,"children":2740},{},[2741,2746,2751,2756],{"type":45,"tag":90,"props":2742,"children":2743},{},[2744],{"type":51,"value":2745},"Automatic color quantization",{"type":45,"tag":90,"props":2747,"children":2748},{},[2749],{"type":51,"value":2750},"Duplicate frame removal",{"type":45,"tag":90,"props":2752,"children":2753},{},[2754],{"type":51,"value":2755},"Size warnings for Slack limits",{"type":45,"tag":90,"props":2757,"children":2758},{},[2759],{"type":51,"value":2760},"Emoji mode (aggressive optimization)",{"type":45,"tag":565,"props":2762,"children":2764},{"id":2763},"text-rendering",[2765],{"type":51,"value":2766},"Text Rendering",{"type":45,"tag":54,"props":2768,"children":2769},{},[2770],{"type":51,"value":2771},"For small GIFs like emojis, text readability is challenging. A common solution involves adding outlines:",{"type":45,"tag":254,"props":2773,"children":2775},{"className":256,"code":2774,"language":258,"meta":259,"style":259},"from core.typography import draw_text_with_outline, TYPOGRAPHY_SCALE\n\n# Text with outline (helps readability)\ndraw_text_with_outline(\n    frame, \"BONK!\",\n    position=(240, 100),\n    font_size=TYPOGRAPHY_SCALE['h1'],  # 60px\n    text_color=(255, 68, 68),\n    outline_color=(0, 0, 0),\n    outline_width=4,\n    centered=True\n)\n",[2776],{"type":45,"tag":262,"props":2777,"children":2778},{"__ignoreMap":259},[2779,2787,2794,2802,2810,2818,2826,2834,2842,2850,2858,2866],{"type":45,"tag":266,"props":2780,"children":2781},{"class":268,"line":269},[2782],{"type":45,"tag":266,"props":2783,"children":2784},{},[2785],{"type":51,"value":2786},"from core.typography import draw_text_with_outline, TYPOGRAPHY_SCALE\n",{"type":45,"tag":266,"props":2788,"children":2789},{"class":268,"line":278},[2790],{"type":45,"tag":266,"props":2791,"children":2792},{"emptyLinePlaceholder":282},[2793],{"type":51,"value":285},{"type":45,"tag":266,"props":2795,"children":2796},{"class":268,"line":288},[2797],{"type":45,"tag":266,"props":2798,"children":2799},{},[2800],{"type":51,"value":2801},"# Text with outline (helps readability)\n",{"type":45,"tag":266,"props":2803,"children":2804},{"class":268,"line":297},[2805],{"type":45,"tag":266,"props":2806,"children":2807},{},[2808],{"type":51,"value":2809},"draw_text_with_outline(\n",{"type":45,"tag":266,"props":2811,"children":2812},{"class":268,"line":306},[2813],{"type":45,"tag":266,"props":2814,"children":2815},{},[2816],{"type":51,"value":2817},"    frame, \"BONK!\",\n",{"type":45,"tag":266,"props":2819,"children":2820},{"class":268,"line":315},[2821],{"type":45,"tag":266,"props":2822,"children":2823},{},[2824],{"type":51,"value":2825},"    position=(240, 100),\n",{"type":45,"tag":266,"props":2827,"children":2828},{"class":268,"line":323},[2829],{"type":45,"tag":266,"props":2830,"children":2831},{},[2832],{"type":51,"value":2833},"    font_size=TYPOGRAPHY_SCALE['h1'],  # 60px\n",{"type":45,"tag":266,"props":2835,"children":2836},{"class":268,"line":332},[2837],{"type":45,"tag":266,"props":2838,"children":2839},{},[2840],{"type":51,"value":2841},"    text_color=(255, 68, 68),\n",{"type":45,"tag":266,"props":2843,"children":2844},{"class":268,"line":341},[2845],{"type":45,"tag":266,"props":2846,"children":2847},{},[2848],{"type":51,"value":2849},"    outline_color=(0, 0, 0),\n",{"type":45,"tag":266,"props":2851,"children":2852},{"class":268,"line":349},[2853],{"type":45,"tag":266,"props":2854,"children":2855},{},[2856],{"type":51,"value":2857},"    outline_width=4,\n",{"type":45,"tag":266,"props":2859,"children":2860},{"class":268,"line":358},[2861],{"type":45,"tag":266,"props":2862,"children":2863},{},[2864],{"type":51,"value":2865},"    centered=True\n",{"type":45,"tag":266,"props":2867,"children":2868},{"class":268,"line":839},[2869],{"type":45,"tag":266,"props":2870,"children":2871},{},[2872],{"type":51,"value":656},{"type":45,"tag":54,"props":2874,"children":2875},{},[2876,2878,2884],{"type":51,"value":2877},"To implement custom text rendering, use PIL's ",{"type":45,"tag":262,"props":2879,"children":2881},{"className":2880},[],[2882],{"type":51,"value":2883},"ImageDraw.text()",{"type":51,"value":2885}," which works fine for larger GIFs.",{"type":45,"tag":565,"props":2887,"children":2889},{"id":2888},"color-management",[2890],{"type":51,"value":2891},"Color Management",{"type":45,"tag":54,"props":2893,"children":2894},{},[2895],{"type":51,"value":2896},"Professional-looking GIFs often use cohesive color palettes:",{"type":45,"tag":254,"props":2898,"children":2900},{"className":256,"code":2899,"language":258,"meta":259,"style":259},"from core.color_palettes import get_palette\n\n# Get a pre-made palette\npalette = get_palette('vibrant')  # or 'pastel', 'dark', 'neon', 'professional'\n\nbg_color = palette['background']\ntext_color = palette['primary']\naccent_color = palette['accent']\n",[2901],{"type":45,"tag":262,"props":2902,"children":2903},{"__ignoreMap":259},[2904,2912,2919,2927,2935,2942,2950,2958],{"type":45,"tag":266,"props":2905,"children":2906},{"class":268,"line":269},[2907],{"type":45,"tag":266,"props":2908,"children":2909},{},[2910],{"type":51,"value":2911},"from core.color_palettes import get_palette\n",{"type":45,"tag":266,"props":2913,"children":2914},{"class":268,"line":278},[2915],{"type":45,"tag":266,"props":2916,"children":2917},{"emptyLinePlaceholder":282},[2918],{"type":51,"value":285},{"type":45,"tag":266,"props":2920,"children":2921},{"class":268,"line":288},[2922],{"type":45,"tag":266,"props":2923,"children":2924},{},[2925],{"type":51,"value":2926},"# Get a pre-made palette\n",{"type":45,"tag":266,"props":2928,"children":2929},{"class":268,"line":297},[2930],{"type":45,"tag":266,"props":2931,"children":2932},{},[2933],{"type":51,"value":2934},"palette = get_palette('vibrant')  # or 'pastel', 'dark', 'neon', 'professional'\n",{"type":45,"tag":266,"props":2936,"children":2937},{"class":268,"line":306},[2938],{"type":45,"tag":266,"props":2939,"children":2940},{"emptyLinePlaceholder":282},[2941],{"type":51,"value":285},{"type":45,"tag":266,"props":2943,"children":2944},{"class":268,"line":315},[2945],{"type":45,"tag":266,"props":2946,"children":2947},{},[2948],{"type":51,"value":2949},"bg_color = palette['background']\n",{"type":45,"tag":266,"props":2951,"children":2952},{"class":268,"line":323},[2953],{"type":45,"tag":266,"props":2954,"children":2955},{},[2956],{"type":51,"value":2957},"text_color = palette['primary']\n",{"type":45,"tag":266,"props":2959,"children":2960},{"class":268,"line":332},[2961],{"type":45,"tag":266,"props":2962,"children":2963},{},[2964],{"type":51,"value":2965},"accent_color = palette['accent']\n",{"type":45,"tag":54,"props":2967,"children":2968},{},[2969],{"type":51,"value":2970},"To work with colors directly, use RGB tuples - whatever works for the use case.",{"type":45,"tag":565,"props":2972,"children":2974},{"id":2973},"visual-effects",[2975],{"type":51,"value":2976},"Visual Effects",{"type":45,"tag":54,"props":2978,"children":2979},{},[2980],{"type":51,"value":2981},"Optional effects for impact moments:",{"type":45,"tag":254,"props":2983,"children":2985},{"className":256,"code":2984,"language":258,"meta":259,"style":259},"from core.visual_effects import ParticleSystem, create_impact_flash, create_shockwave_rings\n\n# Particle system\nparticles = ParticleSystem()\nparticles.emit_sparkles(x=240, y=200, count=15)\nparticles.emit_confetti(x=240, y=200, count=20)\n\n# Update and render each frame\nparticles.update()\nparticles.render(frame)\n\n# Flash effect\nframe = create_impact_flash(frame, position=(240, 200), radius=100)\n\n# Shockwave rings\nframe = create_shockwave_rings(frame, position=(240, 200), radii=[30, 60, 90])\n",[2986],{"type":45,"tag":262,"props":2987,"children":2988},{"__ignoreMap":259},[2989,2997,3004,3012,3020,3028,3036,3043,3051,3059,3067,3074,3082,3090,3097,3105],{"type":45,"tag":266,"props":2990,"children":2991},{"class":268,"line":269},[2992],{"type":45,"tag":266,"props":2993,"children":2994},{},[2995],{"type":51,"value":2996},"from core.visual_effects import ParticleSystem, create_impact_flash, create_shockwave_rings\n",{"type":45,"tag":266,"props":2998,"children":2999},{"class":268,"line":278},[3000],{"type":45,"tag":266,"props":3001,"children":3002},{"emptyLinePlaceholder":282},[3003],{"type":51,"value":285},{"type":45,"tag":266,"props":3005,"children":3006},{"class":268,"line":288},[3007],{"type":45,"tag":266,"props":3008,"children":3009},{},[3010],{"type":51,"value":3011},"# Particle system\n",{"type":45,"tag":266,"props":3013,"children":3014},{"class":268,"line":297},[3015],{"type":45,"tag":266,"props":3016,"children":3017},{},[3018],{"type":51,"value":3019},"particles = ParticleSystem()\n",{"type":45,"tag":266,"props":3021,"children":3022},{"class":268,"line":306},[3023],{"type":45,"tag":266,"props":3024,"children":3025},{},[3026],{"type":51,"value":3027},"particles.emit_sparkles(x=240, y=200, count=15)\n",{"type":45,"tag":266,"props":3029,"children":3030},{"class":268,"line":315},[3031],{"type":45,"tag":266,"props":3032,"children":3033},{},[3034],{"type":51,"value":3035},"particles.emit_confetti(x=240, y=200, count=20)\n",{"type":45,"tag":266,"props":3037,"children":3038},{"class":268,"line":323},[3039],{"type":45,"tag":266,"props":3040,"children":3041},{"emptyLinePlaceholder":282},[3042],{"type":51,"value":285},{"type":45,"tag":266,"props":3044,"children":3045},{"class":268,"line":332},[3046],{"type":45,"tag":266,"props":3047,"children":3048},{},[3049],{"type":51,"value":3050},"# Update and render each frame\n",{"type":45,"tag":266,"props":3052,"children":3053},{"class":268,"line":341},[3054],{"type":45,"tag":266,"props":3055,"children":3056},{},[3057],{"type":51,"value":3058},"particles.update()\n",{"type":45,"tag":266,"props":3060,"children":3061},{"class":268,"line":349},[3062],{"type":45,"tag":266,"props":3063,"children":3064},{},[3065],{"type":51,"value":3066},"particles.render(frame)\n",{"type":45,"tag":266,"props":3068,"children":3069},{"class":268,"line":358},[3070],{"type":45,"tag":266,"props":3071,"children":3072},{"emptyLinePlaceholder":282},[3073],{"type":51,"value":285},{"type":45,"tag":266,"props":3075,"children":3076},{"class":268,"line":839},[3077],{"type":45,"tag":266,"props":3078,"children":3079},{},[3080],{"type":51,"value":3081},"# Flash effect\n",{"type":45,"tag":266,"props":3083,"children":3084},{"class":268,"line":848},[3085],{"type":45,"tag":266,"props":3086,"children":3087},{},[3088],{"type":51,"value":3089},"frame = create_impact_flash(frame, position=(240, 200), radius=100)\n",{"type":45,"tag":266,"props":3091,"children":3092},{"class":268,"line":856},[3093],{"type":45,"tag":266,"props":3094,"children":3095},{"emptyLinePlaceholder":282},[3096],{"type":51,"value":285},{"type":45,"tag":266,"props":3098,"children":3099},{"class":268,"line":865},[3100],{"type":45,"tag":266,"props":3101,"children":3102},{},[3103],{"type":51,"value":3104},"# Shockwave rings\n",{"type":45,"tag":266,"props":3106,"children":3107},{"class":268,"line":1357},[3108],{"type":45,"tag":266,"props":3109,"children":3110},{},[3111],{"type":51,"value":3112},"frame = create_shockwave_rings(frame, position=(240, 200), radii=[30, 60, 90])\n",{"type":45,"tag":565,"props":3114,"children":3116},{"id":3115},"easing-functions",[3117],{"type":51,"value":3118},"Easing Functions",{"type":45,"tag":54,"props":3120,"children":3121},{},[3122],{"type":51,"value":3123},"Smooth motion uses easing instead of linear interpolation:",{"type":45,"tag":254,"props":3125,"children":3127},{"className":256,"code":3126,"language":258,"meta":259,"style":259},"from core.easing import interpolate\n\n# Object falling (accelerates)\ny = interpolate(start=0, end=400, t=progress, easing='ease_in')\n\n# Object landing (decelerates)\ny = interpolate(start=0, end=400, t=progress, easing='ease_out')\n\n# Bouncing\ny = interpolate(start=0, end=400, t=progress, easing='bounce_out')\n\n# Overshoot (elastic)\nscale = interpolate(start=0.5, end=1.0, t=progress, easing='elastic_out')\n",[3128],{"type":45,"tag":262,"props":3129,"children":3130},{"__ignoreMap":259},[3131,3139,3146,3154,3162,3169,3177,3185,3192,3200,3208,3215,3223],{"type":45,"tag":266,"props":3132,"children":3133},{"class":268,"line":269},[3134],{"type":45,"tag":266,"props":3135,"children":3136},{},[3137],{"type":51,"value":3138},"from core.easing import interpolate\n",{"type":45,"tag":266,"props":3140,"children":3141},{"class":268,"line":278},[3142],{"type":45,"tag":266,"props":3143,"children":3144},{"emptyLinePlaceholder":282},[3145],{"type":51,"value":285},{"type":45,"tag":266,"props":3147,"children":3148},{"class":268,"line":288},[3149],{"type":45,"tag":266,"props":3150,"children":3151},{},[3152],{"type":51,"value":3153},"# Object falling (accelerates)\n",{"type":45,"tag":266,"props":3155,"children":3156},{"class":268,"line":297},[3157],{"type":45,"tag":266,"props":3158,"children":3159},{},[3160],{"type":51,"value":3161},"y = interpolate(start=0, end=400, t=progress, easing='ease_in')\n",{"type":45,"tag":266,"props":3163,"children":3164},{"class":268,"line":306},[3165],{"type":45,"tag":266,"props":3166,"children":3167},{"emptyLinePlaceholder":282},[3168],{"type":51,"value":285},{"type":45,"tag":266,"props":3170,"children":3171},{"class":268,"line":315},[3172],{"type":45,"tag":266,"props":3173,"children":3174},{},[3175],{"type":51,"value":3176},"# Object landing (decelerates)\n",{"type":45,"tag":266,"props":3178,"children":3179},{"class":268,"line":323},[3180],{"type":45,"tag":266,"props":3181,"children":3182},{},[3183],{"type":51,"value":3184},"y = interpolate(start=0, end=400, t=progress, easing='ease_out')\n",{"type":45,"tag":266,"props":3186,"children":3187},{"class":268,"line":332},[3188],{"type":45,"tag":266,"props":3189,"children":3190},{"emptyLinePlaceholder":282},[3191],{"type":51,"value":285},{"type":45,"tag":266,"props":3193,"children":3194},{"class":268,"line":341},[3195],{"type":45,"tag":266,"props":3196,"children":3197},{},[3198],{"type":51,"value":3199},"# Bouncing\n",{"type":45,"tag":266,"props":3201,"children":3202},{"class":268,"line":349},[3203],{"type":45,"tag":266,"props":3204,"children":3205},{},[3206],{"type":51,"value":3207},"y = interpolate(start=0, end=400, t=progress, easing='bounce_out')\n",{"type":45,"tag":266,"props":3209,"children":3210},{"class":268,"line":358},[3211],{"type":45,"tag":266,"props":3212,"children":3213},{"emptyLinePlaceholder":282},[3214],{"type":51,"value":285},{"type":45,"tag":266,"props":3216,"children":3217},{"class":268,"line":839},[3218],{"type":45,"tag":266,"props":3219,"children":3220},{},[3221],{"type":51,"value":3222},"# Overshoot (elastic)\n",{"type":45,"tag":266,"props":3224,"children":3225},{"class":268,"line":848},[3226],{"type":45,"tag":266,"props":3227,"children":3228},{},[3229],{"type":51,"value":3230},"scale = interpolate(start=0.5, end=1.0, t=progress, easing='elastic_out')\n",{"type":45,"tag":54,"props":3232,"children":3233},{},[3234,3236,3242,3244,3250,3251,3257,3258,3264,3265,3271,3272,3278,3279,3285,3287,3293],{"type":51,"value":3235},"Available easings: ",{"type":45,"tag":262,"props":3237,"children":3239},{"className":3238},[],[3240],{"type":51,"value":3241},"linear",{"type":51,"value":3243},", ",{"type":45,"tag":262,"props":3245,"children":3247},{"className":3246},[],[3248],{"type":51,"value":3249},"ease_in",{"type":51,"value":3243},{"type":45,"tag":262,"props":3252,"children":3254},{"className":3253},[],[3255],{"type":51,"value":3256},"ease_out",{"type":51,"value":3243},{"type":45,"tag":262,"props":3259,"children":3261},{"className":3260},[],[3262],{"type":51,"value":3263},"ease_in_out",{"type":51,"value":3243},{"type":45,"tag":262,"props":3266,"children":3268},{"className":3267},[],[3269],{"type":51,"value":3270},"bounce_out",{"type":51,"value":3243},{"type":45,"tag":262,"props":3273,"children":3275},{"className":3274},[],[3276],{"type":51,"value":3277},"elastic_out",{"type":51,"value":3243},{"type":45,"tag":262,"props":3280,"children":3282},{"className":3281},[],[3283],{"type":51,"value":3284},"back_out",{"type":51,"value":3286}," (overshoot), and more in ",{"type":45,"tag":262,"props":3288,"children":3290},{"className":3289},[],[3291],{"type":51,"value":3292},"core\u002Feasing.py",{"type":51,"value":3294},".",{"type":45,"tag":565,"props":3296,"children":3298},{"id":3297},"frame-composition",[3299],{"type":51,"value":3300},"Frame Composition",{"type":45,"tag":54,"props":3302,"children":3303},{},[3304],{"type":51,"value":3305},"Basic drawing utilities if you need them:",{"type":45,"tag":254,"props":3307,"children":3309},{"className":256,"code":3308,"language":258,"meta":259,"style":259},"from core.frame_composer import (\n    create_gradient_background,  # Gradient backgrounds\n    draw_emoji_enhanced,         # Emoji with optional shadow\n    draw_circle_with_shadow,     # Shapes with depth\n    draw_star                    # 5-pointed stars\n)\n\n# Gradient background\nframe = create_gradient_background(480, 480, top_color, bottom_color)\n\n# Emoji with shadow\ndraw_emoji_enhanced(frame, '🎉', position=(200, 200), size=80, shadow=True)\n",[3310],{"type":45,"tag":262,"props":3311,"children":3312},{"__ignoreMap":259},[3313,3321,3329,3337,3345,3353,3360,3367,3375,3383,3390,3398],{"type":45,"tag":266,"props":3314,"children":3315},{"class":268,"line":269},[3316],{"type":45,"tag":266,"props":3317,"children":3318},{},[3319],{"type":51,"value":3320},"from core.frame_composer import (\n",{"type":45,"tag":266,"props":3322,"children":3323},{"class":268,"line":278},[3324],{"type":45,"tag":266,"props":3325,"children":3326},{},[3327],{"type":51,"value":3328},"    create_gradient_background,  # Gradient backgrounds\n",{"type":45,"tag":266,"props":3330,"children":3331},{"class":268,"line":288},[3332],{"type":45,"tag":266,"props":3333,"children":3334},{},[3335],{"type":51,"value":3336},"    draw_emoji_enhanced,         # Emoji with optional shadow\n",{"type":45,"tag":266,"props":3338,"children":3339},{"class":268,"line":297},[3340],{"type":45,"tag":266,"props":3341,"children":3342},{},[3343],{"type":51,"value":3344},"    draw_circle_with_shadow,     # Shapes with depth\n",{"type":45,"tag":266,"props":3346,"children":3347},{"class":268,"line":306},[3348],{"type":45,"tag":266,"props":3349,"children":3350},{},[3351],{"type":51,"value":3352},"    draw_star                    # 5-pointed stars\n",{"type":45,"tag":266,"props":3354,"children":3355},{"class":268,"line":315},[3356],{"type":45,"tag":266,"props":3357,"children":3358},{},[3359],{"type":51,"value":656},{"type":45,"tag":266,"props":3361,"children":3362},{"class":268,"line":323},[3363],{"type":45,"tag":266,"props":3364,"children":3365},{"emptyLinePlaceholder":282},[3366],{"type":51,"value":285},{"type":45,"tag":266,"props":3368,"children":3369},{"class":268,"line":332},[3370],{"type":45,"tag":266,"props":3371,"children":3372},{},[3373],{"type":51,"value":3374},"# Gradient background\n",{"type":45,"tag":266,"props":3376,"children":3377},{"class":268,"line":341},[3378],{"type":45,"tag":266,"props":3379,"children":3380},{},[3381],{"type":51,"value":3382},"frame = create_gradient_background(480, 480, top_color, bottom_color)\n",{"type":45,"tag":266,"props":3384,"children":3385},{"class":268,"line":349},[3386],{"type":45,"tag":266,"props":3387,"children":3388},{"emptyLinePlaceholder":282},[3389],{"type":51,"value":285},{"type":45,"tag":266,"props":3391,"children":3392},{"class":268,"line":358},[3393],{"type":45,"tag":266,"props":3394,"children":3395},{},[3396],{"type":51,"value":3397},"# Emoji with shadow\n",{"type":45,"tag":266,"props":3399,"children":3400},{"class":268,"line":839},[3401],{"type":45,"tag":266,"props":3402,"children":3403},{},[3404],{"type":51,"value":3405},"draw_emoji_enhanced(frame, '🎉', position=(200, 200), size=80, shadow=True)\n",{"type":45,"tag":66,"props":3407,"children":3409},{"id":3408},"optimization-strategies",[3410],{"type":51,"value":3411},"Optimization Strategies",{"type":45,"tag":54,"props":3413,"children":3414},{},[3415],{"type":51,"value":3416},"When your GIF is too large:",{"type":45,"tag":54,"props":3418,"children":3419},{},[3420],{"type":45,"tag":60,"props":3421,"children":3422},{},[3423],{"type":51,"value":3424},"For Message GIFs (>2MB):",{"type":45,"tag":201,"props":3426,"children":3427},{},[3428,3433,3438,3443],{"type":45,"tag":90,"props":3429,"children":3430},{},[3431],{"type":51,"value":3432},"Reduce frames (lower FPS or shorter duration)",{"type":45,"tag":90,"props":3434,"children":3435},{},[3436],{"type":51,"value":3437},"Reduce colors (128 → 64 colors)",{"type":45,"tag":90,"props":3439,"children":3440},{},[3441],{"type":51,"value":3442},"Reduce dimensions (480x480 → 320x320)",{"type":45,"tag":90,"props":3444,"children":3445},{},[3446],{"type":51,"value":3447},"Enable duplicate frame removal",{"type":45,"tag":54,"props":3449,"children":3450},{},[3451],{"type":45,"tag":60,"props":3452,"children":3453},{},[3454],{"type":51,"value":3455},"For Emoji GIFs (>64KB) - be aggressive:",{"type":45,"tag":201,"props":3457,"children":3458},{},[3459,3464,3469,3474,3479],{"type":45,"tag":90,"props":3460,"children":3461},{},[3462],{"type":51,"value":3463},"Limit to 10-12 frames total",{"type":45,"tag":90,"props":3465,"children":3466},{},[3467],{"type":51,"value":3468},"Use 32-40 colors maximum",{"type":45,"tag":90,"props":3470,"children":3471},{},[3472],{"type":51,"value":3473},"Avoid gradients (solid colors compress better)",{"type":45,"tag":90,"props":3475,"children":3476},{},[3477],{"type":51,"value":3478},"Simplify design (fewer elements)",{"type":45,"tag":90,"props":3480,"children":3481},{},[3482,3484,3490],{"type":51,"value":3483},"Use ",{"type":45,"tag":262,"props":3485,"children":3487},{"className":3486},[],[3488],{"type":51,"value":3489},"optimize_for_emoji=True",{"type":51,"value":3491}," in save method",{"type":45,"tag":66,"props":3493,"children":3495},{"id":3494},"example-composition-patterns",[3496],{"type":51,"value":3497},"Example Composition Patterns",{"type":45,"tag":565,"props":3499,"children":3501},{"id":3500},"simple-reaction-pulsing",[3502],{"type":51,"value":3503},"Simple Reaction (Pulsing)",{"type":45,"tag":254,"props":3505,"children":3507},{"className":256,"code":3506,"language":258,"meta":259,"style":259},"builder = GIFBuilder(128, 128, 10)\n\nfor i in range(12):\n    frame = Image.new('RGB', (128, 128), (240, 248, 255))\n\n    # Pulsing scale\n    scale = 1.0 + math.sin(i * 0.5) * 0.15\n    size = int(60 * scale)\n\n    draw_emoji_enhanced(frame, '😱', position=(64-size\u002F\u002F2, 64-size\u002F\u002F2),\n                       size=size, shadow=False)\n    builder.add_frame(frame)\n\nbuilder.save('reaction.gif', num_colors=40, optimize_for_emoji=True)\n\n# Validate\nfrom core.validators import check_slack_size\ncheck_slack_size('reaction.gif', is_emoji=True)\n",[3508],{"type":45,"tag":262,"props":3509,"children":3510},{"__ignoreMap":259},[3511,3519,3526,3534,3542,3549,3557,3565,3573,3580,3588,3596,3603,3610,3618,3625,3633,3640],{"type":45,"tag":266,"props":3512,"children":3513},{"class":268,"line":269},[3514],{"type":45,"tag":266,"props":3515,"children":3516},{},[3517],{"type":51,"value":3518},"builder = GIFBuilder(128, 128, 10)\n",{"type":45,"tag":266,"props":3520,"children":3521},{"class":268,"line":278},[3522],{"type":45,"tag":266,"props":3523,"children":3524},{"emptyLinePlaceholder":282},[3525],{"type":51,"value":285},{"type":45,"tag":266,"props":3527,"children":3528},{"class":268,"line":288},[3529],{"type":45,"tag":266,"props":3530,"children":3531},{},[3532],{"type":51,"value":3533},"for i in range(12):\n",{"type":45,"tag":266,"props":3535,"children":3536},{"class":268,"line":297},[3537],{"type":45,"tag":266,"props":3538,"children":3539},{},[3540],{"type":51,"value":3541},"    frame = Image.new('RGB', (128, 128), (240, 248, 255))\n",{"type":45,"tag":266,"props":3543,"children":3544},{"class":268,"line":306},[3545],{"type":45,"tag":266,"props":3546,"children":3547},{"emptyLinePlaceholder":282},[3548],{"type":51,"value":285},{"type":45,"tag":266,"props":3550,"children":3551},{"class":268,"line":315},[3552],{"type":45,"tag":266,"props":3553,"children":3554},{},[3555],{"type":51,"value":3556},"    # Pulsing scale\n",{"type":45,"tag":266,"props":3558,"children":3559},{"class":268,"line":323},[3560],{"type":45,"tag":266,"props":3561,"children":3562},{},[3563],{"type":51,"value":3564},"    scale = 1.0 + math.sin(i * 0.5) * 0.15\n",{"type":45,"tag":266,"props":3566,"children":3567},{"class":268,"line":332},[3568],{"type":45,"tag":266,"props":3569,"children":3570},{},[3571],{"type":51,"value":3572},"    size = int(60 * scale)\n",{"type":45,"tag":266,"props":3574,"children":3575},{"class":268,"line":341},[3576],{"type":45,"tag":266,"props":3577,"children":3578},{"emptyLinePlaceholder":282},[3579],{"type":51,"value":285},{"type":45,"tag":266,"props":3581,"children":3582},{"class":268,"line":349},[3583],{"type":45,"tag":266,"props":3584,"children":3585},{},[3586],{"type":51,"value":3587},"    draw_emoji_enhanced(frame, '😱', position=(64-size\u002F\u002F2, 64-size\u002F\u002F2),\n",{"type":45,"tag":266,"props":3589,"children":3590},{"class":268,"line":358},[3591],{"type":45,"tag":266,"props":3592,"children":3593},{},[3594],{"type":51,"value":3595},"                       size=size, shadow=False)\n",{"type":45,"tag":266,"props":3597,"children":3598},{"class":268,"line":839},[3599],{"type":45,"tag":266,"props":3600,"children":3601},{},[3602],{"type":51,"value":2605},{"type":45,"tag":266,"props":3604,"children":3605},{"class":268,"line":848},[3606],{"type":45,"tag":266,"props":3607,"children":3608},{"emptyLinePlaceholder":282},[3609],{"type":51,"value":285},{"type":45,"tag":266,"props":3611,"children":3612},{"class":268,"line":856},[3613],{"type":45,"tag":266,"props":3614,"children":3615},{},[3616],{"type":51,"value":3617},"builder.save('reaction.gif', num_colors=40, optimize_for_emoji=True)\n",{"type":45,"tag":266,"props":3619,"children":3620},{"class":268,"line":865},[3621],{"type":45,"tag":266,"props":3622,"children":3623},{"emptyLinePlaceholder":282},[3624],{"type":51,"value":285},{"type":45,"tag":266,"props":3626,"children":3627},{"class":268,"line":1357},[3628],{"type":45,"tag":266,"props":3629,"children":3630},{},[3631],{"type":51,"value":3632},"# Validate\n",{"type":45,"tag":266,"props":3634,"children":3635},{"class":268,"line":1624},[3636],{"type":45,"tag":266,"props":3637,"children":3638},{},[3639],{"type":51,"value":389},{"type":45,"tag":266,"props":3641,"children":3642},{"class":268,"line":1633},[3643],{"type":45,"tag":266,"props":3644,"children":3645},{},[3646],{"type":51,"value":3647},"check_slack_size('reaction.gif', is_emoji=True)\n",{"type":45,"tag":565,"props":3649,"children":3651},{"id":3650},"action-with-impact-bounce-flash",[3652],{"type":51,"value":3653},"Action with Impact (Bounce + Flash)",{"type":45,"tag":254,"props":3655,"children":3657},{"className":256,"code":3656,"language":258,"meta":259,"style":259},"builder = GIFBuilder(480, 480, 20)\n\n# Phase 1: Object falls\nfor i in range(15):\n    frame = create_gradient_background(480, 480, (240, 248, 255), (200, 230, 255))\n    t = i \u002F 14\n    y = interpolate(0, 350, t, 'ease_in')\n    draw_emoji_enhanced(frame, '⚽', position=(220, int(y)), size=80)\n    builder.add_frame(frame)\n\n# Phase 2: Impact + flash\nfor i in range(8):\n    frame = create_gradient_background(480, 480, (240, 248, 255), (200, 230, 255))\n\n    # Flash on first frames\n    if i \u003C 3:\n        frame = create_impact_flash(frame, (240, 350), radius=120, intensity=0.6)\n\n    draw_emoji_enhanced(frame, '⚽', position=(220, 350), size=80)\n\n    # Text appears\n    if i > 2:\n        draw_text_with_outline(frame, \"GOAL!\", position=(240, 150),\n                              font_size=60, text_color=(255, 68, 68),\n                              outline_color=(0, 0, 0), outline_width=4, centered=True)\n\n    builder.add_frame(frame)\n\nbuilder.save('goal.gif', num_colors=128)\n",[3658],{"type":45,"tag":262,"props":3659,"children":3660},{"__ignoreMap":259},[3661,3669,3676,3684,3692,3700,3708,3716,3724,3731,3738,3746,3754,3761,3768,3776,3784,3792,3799,3807,3814,3822,3830,3838,3846,3854,3861,3868,3875],{"type":45,"tag":266,"props":3662,"children":3663},{"class":268,"line":269},[3664],{"type":45,"tag":266,"props":3665,"children":3666},{},[3667],{"type":51,"value":3668},"builder = GIFBuilder(480, 480, 20)\n",{"type":45,"tag":266,"props":3670,"children":3671},{"class":268,"line":278},[3672],{"type":45,"tag":266,"props":3673,"children":3674},{"emptyLinePlaceholder":282},[3675],{"type":51,"value":285},{"type":45,"tag":266,"props":3677,"children":3678},{"class":268,"line":288},[3679],{"type":45,"tag":266,"props":3680,"children":3681},{},[3682],{"type":51,"value":3683},"# Phase 1: Object falls\n",{"type":45,"tag":266,"props":3685,"children":3686},{"class":268,"line":297},[3687],{"type":45,"tag":266,"props":3688,"children":3689},{},[3690],{"type":51,"value":3691},"for i in range(15):\n",{"type":45,"tag":266,"props":3693,"children":3694},{"class":268,"line":306},[3695],{"type":45,"tag":266,"props":3696,"children":3697},{},[3698],{"type":51,"value":3699},"    frame = create_gradient_background(480, 480, (240, 248, 255), (200, 230, 255))\n",{"type":45,"tag":266,"props":3701,"children":3702},{"class":268,"line":315},[3703],{"type":45,"tag":266,"props":3704,"children":3705},{},[3706],{"type":51,"value":3707},"    t = i \u002F 14\n",{"type":45,"tag":266,"props":3709,"children":3710},{"class":268,"line":323},[3711],{"type":45,"tag":266,"props":3712,"children":3713},{},[3714],{"type":51,"value":3715},"    y = interpolate(0, 350, t, 'ease_in')\n",{"type":45,"tag":266,"props":3717,"children":3718},{"class":268,"line":332},[3719],{"type":45,"tag":266,"props":3720,"children":3721},{},[3722],{"type":51,"value":3723},"    draw_emoji_enhanced(frame, '⚽', position=(220, int(y)), size=80)\n",{"type":45,"tag":266,"props":3725,"children":3726},{"class":268,"line":341},[3727],{"type":45,"tag":266,"props":3728,"children":3729},{},[3730],{"type":51,"value":2605},{"type":45,"tag":266,"props":3732,"children":3733},{"class":268,"line":349},[3734],{"type":45,"tag":266,"props":3735,"children":3736},{"emptyLinePlaceholder":282},[3737],{"type":51,"value":285},{"type":45,"tag":266,"props":3739,"children":3740},{"class":268,"line":358},[3741],{"type":45,"tag":266,"props":3742,"children":3743},{},[3744],{"type":51,"value":3745},"# Phase 2: Impact + flash\n",{"type":45,"tag":266,"props":3747,"children":3748},{"class":268,"line":839},[3749],{"type":45,"tag":266,"props":3750,"children":3751},{},[3752],{"type":51,"value":3753},"for i in range(8):\n",{"type":45,"tag":266,"props":3755,"children":3756},{"class":268,"line":848},[3757],{"type":45,"tag":266,"props":3758,"children":3759},{},[3760],{"type":51,"value":3699},{"type":45,"tag":266,"props":3762,"children":3763},{"class":268,"line":856},[3764],{"type":45,"tag":266,"props":3765,"children":3766},{"emptyLinePlaceholder":282},[3767],{"type":51,"value":285},{"type":45,"tag":266,"props":3769,"children":3770},{"class":268,"line":865},[3771],{"type":45,"tag":266,"props":3772,"children":3773},{},[3774],{"type":51,"value":3775},"    # Flash on first frames\n",{"type":45,"tag":266,"props":3777,"children":3778},{"class":268,"line":1357},[3779],{"type":45,"tag":266,"props":3780,"children":3781},{},[3782],{"type":51,"value":3783},"    if i \u003C 3:\n",{"type":45,"tag":266,"props":3785,"children":3786},{"class":268,"line":1624},[3787],{"type":45,"tag":266,"props":3788,"children":3789},{},[3790],{"type":51,"value":3791},"        frame = create_impact_flash(frame, (240, 350), radius=120, intensity=0.6)\n",{"type":45,"tag":266,"props":3793,"children":3794},{"class":268,"line":1633},[3795],{"type":45,"tag":266,"props":3796,"children":3797},{"emptyLinePlaceholder":282},[3798],{"type":51,"value":285},{"type":45,"tag":266,"props":3800,"children":3801},{"class":268,"line":2034},[3802],{"type":45,"tag":266,"props":3803,"children":3804},{},[3805],{"type":51,"value":3806},"    draw_emoji_enhanced(frame, '⚽', position=(220, 350), size=80)\n",{"type":45,"tag":266,"props":3808,"children":3809},{"class":268,"line":2043},[3810],{"type":45,"tag":266,"props":3811,"children":3812},{"emptyLinePlaceholder":282},[3813],{"type":51,"value":285},{"type":45,"tag":266,"props":3815,"children":3816},{"class":268,"line":2052},[3817],{"type":45,"tag":266,"props":3818,"children":3819},{},[3820],{"type":51,"value":3821},"    # Text appears\n",{"type":45,"tag":266,"props":3823,"children":3824},{"class":268,"line":2060},[3825],{"type":45,"tag":266,"props":3826,"children":3827},{},[3828],{"type":51,"value":3829},"    if i > 2:\n",{"type":45,"tag":266,"props":3831,"children":3832},{"class":268,"line":2068},[3833],{"type":45,"tag":266,"props":3834,"children":3835},{},[3836],{"type":51,"value":3837},"        draw_text_with_outline(frame, \"GOAL!\", position=(240, 150),\n",{"type":45,"tag":266,"props":3839,"children":3840},{"class":268,"line":2077},[3841],{"type":45,"tag":266,"props":3842,"children":3843},{},[3844],{"type":51,"value":3845},"                              font_size=60, text_color=(255, 68, 68),\n",{"type":45,"tag":266,"props":3847,"children":3848},{"class":268,"line":2085},[3849],{"type":45,"tag":266,"props":3850,"children":3851},{},[3852],{"type":51,"value":3853},"                              outline_color=(0, 0, 0), outline_width=4, centered=True)\n",{"type":45,"tag":266,"props":3855,"children":3856},{"class":268,"line":2093},[3857],{"type":45,"tag":266,"props":3858,"children":3859},{"emptyLinePlaceholder":282},[3860],{"type":51,"value":285},{"type":45,"tag":266,"props":3862,"children":3863},{"class":268,"line":2102},[3864],{"type":45,"tag":266,"props":3865,"children":3866},{},[3867],{"type":51,"value":2605},{"type":45,"tag":266,"props":3869,"children":3870},{"class":268,"line":2111},[3871],{"type":45,"tag":266,"props":3872,"children":3873},{"emptyLinePlaceholder":282},[3874],{"type":51,"value":285},{"type":45,"tag":266,"props":3876,"children":3877},{"class":268,"line":2120},[3878],{"type":45,"tag":266,"props":3879,"children":3880},{},[3881],{"type":51,"value":3882},"builder.save('goal.gif', num_colors=128)\n",{"type":45,"tag":565,"props":3884,"children":3886},{"id":3885},"combining-primitives-move-shake",[3887],{"type":51,"value":3888},"Combining Primitives (Move + Shake)",{"type":45,"tag":254,"props":3890,"children":3892},{"className":256,"code":3891,"language":258,"meta":259,"style":259},"from templates.shake import create_shake_animation\n\n# Create shake animation\nshake_frames = create_shake_animation(\n    object_type='emoji',\n    object_data={'emoji': '😰', 'size': 70},\n    num_frames=20,\n    shake_intensity=12\n)\n\n# Create moving element that triggers the shake\nbuilder = GIFBuilder(480, 480, 20)\nfor i in range(40):\n    t = i \u002F 39\n\n    if i \u003C 20:\n        # Before trigger - use blank frame with moving object\n        frame = create_blank_frame(480, 480, (255, 255, 255))\n        x = interpolate(50, 300, t * 2, 'linear')\n        draw_emoji_enhanced(frame, '🚗', position=(int(x), 300), size=60)\n        draw_emoji_enhanced(frame, '😰', position=(350, 200), size=70)\n    else:\n        # After trigger - use shake frame\n        frame = shake_frames[i - 20]\n        # Add the car in final position\n        draw_emoji_enhanced(frame, '🚗', position=(300, 300), size=60)\n\n    builder.add_frame(frame)\n\nbuilder.save('scare.gif')\n",[3893],{"type":45,"tag":262,"props":3894,"children":3895},{"__ignoreMap":259},[3896,3903,3910,3918,3926,3933,3941,3948,3956,3963,3970,3978,3985,3993,4001,4008,4016,4024,4032,4040,4048,4056,4063,4071,4079,4087,4095,4102,4109,4116],{"type":45,"tag":266,"props":3897,"children":3898},{"class":268,"line":269},[3899],{"type":45,"tag":266,"props":3900,"children":3901},{},[3902],{"type":51,"value":585},{"type":45,"tag":266,"props":3904,"children":3905},{"class":268,"line":278},[3906],{"type":45,"tag":266,"props":3907,"children":3908},{"emptyLinePlaceholder":282},[3909],{"type":51,"value":285},{"type":45,"tag":266,"props":3911,"children":3912},{"class":268,"line":288},[3913],{"type":45,"tag":266,"props":3914,"children":3915},{},[3916],{"type":51,"value":3917},"# Create shake animation\n",{"type":45,"tag":266,"props":3919,"children":3920},{"class":268,"line":297},[3921],{"type":45,"tag":266,"props":3922,"children":3923},{},[3924],{"type":51,"value":3925},"shake_frames = create_shake_animation(\n",{"type":45,"tag":266,"props":3927,"children":3928},{"class":268,"line":306},[3929],{"type":45,"tag":266,"props":3930,"children":3931},{},[3932],{"type":51,"value":616},{"type":45,"tag":266,"props":3934,"children":3935},{"class":268,"line":315},[3936],{"type":45,"tag":266,"props":3937,"children":3938},{},[3939],{"type":51,"value":3940},"    object_data={'emoji': '😰', 'size': 70},\n",{"type":45,"tag":266,"props":3942,"children":3943},{"class":268,"line":323},[3944],{"type":45,"tag":266,"props":3945,"children":3946},{},[3947],{"type":51,"value":632},{"type":45,"tag":266,"props":3949,"children":3950},{"class":268,"line":332},[3951],{"type":45,"tag":266,"props":3952,"children":3953},{},[3954],{"type":51,"value":3955},"    shake_intensity=12\n",{"type":45,"tag":266,"props":3957,"children":3958},{"class":268,"line":341},[3959],{"type":45,"tag":266,"props":3960,"children":3961},{},[3962],{"type":51,"value":656},{"type":45,"tag":266,"props":3964,"children":3965},{"class":268,"line":349},[3966],{"type":45,"tag":266,"props":3967,"children":3968},{"emptyLinePlaceholder":282},[3969],{"type":51,"value":285},{"type":45,"tag":266,"props":3971,"children":3972},{"class":268,"line":358},[3973],{"type":45,"tag":266,"props":3974,"children":3975},{},[3976],{"type":51,"value":3977},"# Create moving element that triggers the shake\n",{"type":45,"tag":266,"props":3979,"children":3980},{"class":268,"line":839},[3981],{"type":45,"tag":266,"props":3982,"children":3983},{},[3984],{"type":51,"value":3668},{"type":45,"tag":266,"props":3986,"children":3987},{"class":268,"line":848},[3988],{"type":45,"tag":266,"props":3989,"children":3990},{},[3991],{"type":51,"value":3992},"for i in range(40):\n",{"type":45,"tag":266,"props":3994,"children":3995},{"class":268,"line":856},[3996],{"type":45,"tag":266,"props":3997,"children":3998},{},[3999],{"type":51,"value":4000},"    t = i \u002F 39\n",{"type":45,"tag":266,"props":4002,"children":4003},{"class":268,"line":865},[4004],{"type":45,"tag":266,"props":4005,"children":4006},{"emptyLinePlaceholder":282},[4007],{"type":51,"value":285},{"type":45,"tag":266,"props":4009,"children":4010},{"class":268,"line":1357},[4011],{"type":45,"tag":266,"props":4012,"children":4013},{},[4014],{"type":51,"value":4015},"    if i \u003C 20:\n",{"type":45,"tag":266,"props":4017,"children":4018},{"class":268,"line":1624},[4019],{"type":45,"tag":266,"props":4020,"children":4021},{},[4022],{"type":51,"value":4023},"        # Before trigger - use blank frame with moving object\n",{"type":45,"tag":266,"props":4025,"children":4026},{"class":268,"line":1633},[4027],{"type":45,"tag":266,"props":4028,"children":4029},{},[4030],{"type":51,"value":4031},"        frame = create_blank_frame(480, 480, (255, 255, 255))\n",{"type":45,"tag":266,"props":4033,"children":4034},{"class":268,"line":2034},[4035],{"type":45,"tag":266,"props":4036,"children":4037},{},[4038],{"type":51,"value":4039},"        x = interpolate(50, 300, t * 2, 'linear')\n",{"type":45,"tag":266,"props":4041,"children":4042},{"class":268,"line":2043},[4043],{"type":45,"tag":266,"props":4044,"children":4045},{},[4046],{"type":51,"value":4047},"        draw_emoji_enhanced(frame, '🚗', position=(int(x), 300), size=60)\n",{"type":45,"tag":266,"props":4049,"children":4050},{"class":268,"line":2052},[4051],{"type":45,"tag":266,"props":4052,"children":4053},{},[4054],{"type":51,"value":4055},"        draw_emoji_enhanced(frame, '😰', position=(350, 200), size=70)\n",{"type":45,"tag":266,"props":4057,"children":4058},{"class":268,"line":2060},[4059],{"type":45,"tag":266,"props":4060,"children":4061},{},[4062],{"type":51,"value":2574},{"type":45,"tag":266,"props":4064,"children":4065},{"class":268,"line":2068},[4066],{"type":45,"tag":266,"props":4067,"children":4068},{},[4069],{"type":51,"value":4070},"        # After trigger - use shake frame\n",{"type":45,"tag":266,"props":4072,"children":4073},{"class":268,"line":2077},[4074],{"type":45,"tag":266,"props":4075,"children":4076},{},[4077],{"type":51,"value":4078},"        frame = shake_frames[i - 20]\n",{"type":45,"tag":266,"props":4080,"children":4081},{"class":268,"line":2085},[4082],{"type":45,"tag":266,"props":4083,"children":4084},{},[4085],{"type":51,"value":4086},"        # Add the car in final position\n",{"type":45,"tag":266,"props":4088,"children":4089},{"class":268,"line":2093},[4090],{"type":45,"tag":266,"props":4091,"children":4092},{},[4093],{"type":51,"value":4094},"        draw_emoji_enhanced(frame, '🚗', position=(300, 300), size=60)\n",{"type":45,"tag":266,"props":4096,"children":4097},{"class":268,"line":2102},[4098],{"type":45,"tag":266,"props":4099,"children":4100},{"emptyLinePlaceholder":282},[4101],{"type":51,"value":285},{"type":45,"tag":266,"props":4103,"children":4104},{"class":268,"line":2111},[4105],{"type":45,"tag":266,"props":4106,"children":4107},{},[4108],{"type":51,"value":2605},{"type":45,"tag":266,"props":4110,"children":4111},{"class":268,"line":2120},[4112],{"type":45,"tag":266,"props":4113,"children":4114},{"emptyLinePlaceholder":282},[4115],{"type":51,"value":285},{"type":45,"tag":266,"props":4117,"children":4118},{"class":268,"line":2129},[4119],{"type":45,"tag":266,"props":4120,"children":4121},{},[4122],{"type":51,"value":4123},"builder.save('scare.gif')\n",{"type":45,"tag":66,"props":4125,"children":4127},{"id":4126},"philosophy",[4128],{"type":51,"value":4129},"Philosophy",{"type":45,"tag":54,"props":4131,"children":4132},{},[4133],{"type":51,"value":4134},"This toolkit provides building blocks, not rigid recipes. To work with a GIF request:",{"type":45,"tag":201,"props":4136,"children":4137},{},[4138,4148,4158,4168,4178],{"type":45,"tag":90,"props":4139,"children":4140},{},[4141,4146],{"type":45,"tag":60,"props":4142,"children":4143},{},[4144],{"type":51,"value":4145},"Understand the creative vision",{"type":51,"value":4147}," - What should happen? What's the mood?",{"type":45,"tag":90,"props":4149,"children":4150},{},[4151,4156],{"type":45,"tag":60,"props":4152,"children":4153},{},[4154],{"type":51,"value":4155},"Design the animation",{"type":51,"value":4157}," - Break it into phases (anticipation, action, reaction)",{"type":45,"tag":90,"props":4159,"children":4160},{},[4161,4166],{"type":45,"tag":60,"props":4162,"children":4163},{},[4164],{"type":51,"value":4165},"Apply primitives as needed",{"type":51,"value":4167}," - Shake, bounce, move, effects - mix freely",{"type":45,"tag":90,"props":4169,"children":4170},{},[4171,4176],{"type":45,"tag":60,"props":4172,"children":4173},{},[4174],{"type":51,"value":4175},"Validate constraints",{"type":51,"value":4177}," - Check file size, especially for emoji GIFs",{"type":45,"tag":90,"props":4179,"children":4180},{},[4181,4186],{"type":45,"tag":60,"props":4182,"children":4183},{},[4184],{"type":51,"value":4185},"Iterate if needed",{"type":51,"value":4187}," - Reduce frames\u002Fcolors if over size limits",{"type":45,"tag":54,"props":4189,"children":4190},{},[4191],{"type":45,"tag":60,"props":4192,"children":4193},{},[4194],{"type":51,"value":4195},"The goal is creative freedom within Slack's technical constraints.",{"type":45,"tag":66,"props":4197,"children":4199},{"id":4198},"dependencies",[4200],{"type":51,"value":4201},"Dependencies",{"type":45,"tag":54,"props":4203,"children":4204},{},[4205],{"type":51,"value":4206},"To use this toolkit, install these dependencies only if they aren't already present:",{"type":45,"tag":254,"props":4208,"children":4212},{"className":4209,"code":4210,"language":4211,"meta":259,"style":259},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pip install pillow imageio numpy\n","bash",[4213],{"type":45,"tag":262,"props":4214,"children":4215},{"__ignoreMap":259},[4216],{"type":45,"tag":266,"props":4217,"children":4218},{"class":268,"line":269},[4219,4225,4231,4236,4241],{"type":45,"tag":266,"props":4220,"children":4222},{"style":4221},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[4223],{"type":51,"value":4224},"pip",{"type":45,"tag":266,"props":4226,"children":4228},{"style":4227},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[4229],{"type":51,"value":4230}," install",{"type":45,"tag":266,"props":4232,"children":4233},{"style":4227},[4234],{"type":51,"value":4235}," pillow",{"type":45,"tag":266,"props":4237,"children":4238},{"style":4227},[4239],{"type":51,"value":4240}," imageio",{"type":45,"tag":266,"props":4242,"children":4243},{"style":4227},[4244],{"type":51,"value":4245}," numpy\n",{"type":45,"tag":4247,"props":4248,"children":4249},"style",{},[4250],{"type":51,"value":4251},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":4253,"total":865},[4254,4271,4293,4307,4322,4340,4356],{"slug":4255,"name":4255,"fn":4256,"description":4257,"org":4258,"tags":4259,"stars":26,"repoUrl":27,"updatedAt":4270},"algorithmic-art","generate algorithmic art with p5.js","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4260,4261,4264,4267],{"name":18,"slug":19,"type":16},{"name":4262,"slug":4263,"type":16},"Design","design",{"name":4265,"slug":4266,"type":16},"Generative Art","generative-art",{"name":4268,"slug":4269,"type":16},"Graphics","graphics","2026-07-16T06:02:02.834983",{"slug":4272,"name":4272,"fn":4273,"description":4274,"org":4275,"tags":4276,"stars":26,"repoUrl":27,"updatedAt":4292},"artifacts-builder","build complex React HTML artifacts","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4277,4280,4283,4286,4289],{"name":4278,"slug":4279,"type":16},"Frontend","frontend",{"name":4281,"slug":4282,"type":16},"HTML","html",{"name":4284,"slug":4285,"type":16},"React","react",{"name":4287,"slug":4288,"type":16},"shadcn\u002Fui","shadcn-ui",{"name":4290,"slug":4291,"type":16},"Tailwind CSS","tailwind-css","2026-07-13T06:17:37.887194",{"slug":4294,"name":4294,"fn":4295,"description":4296,"org":4297,"tags":4298,"stars":26,"repoUrl":27,"updatedAt":4306},"brand-guidelines","apply brand guidelines to documents","Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4299,4302,4303],{"name":4300,"slug":4301,"type":16},"Branding","branding",{"name":4262,"slug":4263,"type":16},{"name":4304,"slug":4305,"type":16},"Typography","typography","2026-07-13T06:17:36.624966",{"slug":4308,"name":4308,"fn":4309,"description":4310,"org":4311,"tags":4312,"stars":26,"repoUrl":27,"updatedAt":4321},"canvas-design","create visual art and design documents","Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4313,4314,4315,4318],{"name":18,"slug":19,"type":16},{"name":4262,"slug":4263,"type":16},{"name":4316,"slug":4317,"type":16},"Images","images",{"name":4319,"slug":4320,"type":16},"PDF","pdf","2026-07-16T06:01:59.313156",{"slug":4323,"name":4323,"fn":4324,"description":4325,"org":4326,"tags":4327,"stars":26,"repoUrl":27,"updatedAt":4339},"docx","create and edit Word documents","Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4328,4331,4333,4336],{"name":4329,"slug":4330,"type":16},"Documents","documents",{"name":4332,"slug":4323,"type":16},"DOCX",{"name":4334,"slug":4335,"type":16},"Office","office",{"name":4337,"slug":4338,"type":16},"Word","word","2026-07-13T06:17:51.582447",{"slug":4341,"name":4341,"fn":4342,"description":4343,"org":4344,"tags":4345,"stars":26,"repoUrl":27,"updatedAt":4355},"internal-comms","draft internal company communications","A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4346,4349,4352],{"name":4347,"slug":4348,"type":16},"Communications","communications",{"name":4350,"slug":4351,"type":16},"Operations","operations",{"name":4353,"slug":4354,"type":16},"Writing","writing","2026-07-13T06:17:28.861835",{"slug":4357,"name":4357,"fn":4358,"description":4359,"org":4360,"tags":4361,"stars":26,"repoUrl":27,"updatedAt":4371},"mcp-builder","build MCP servers for external integrations","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node\u002FTypeScript (MCP SDK).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4362,4365,4368],{"name":4363,"slug":4364,"type":16},"Agents","agents",{"name":4366,"slug":4367,"type":16},"API Development","api-development",{"name":4369,"slug":4370,"type":16},"MCP","mcp","2026-07-13T06:17:18.339572",{"items":4373,"total":2189},[4374,4398,4410,4425,4440,4460,4474,4492,4503,4519,4532,4542],{"slug":4375,"name":4375,"fn":4376,"description":4377,"org":4378,"tags":4379,"stars":4395,"repoUrl":4396,"updatedAt":4397},"android-native-dev","develop Android native applications","Android native application development and UI design guide. Covers Material Design 3, Kotlin\u002FCompose development, project configuration, accessibility, and build troubleshooting. Read this before Android native application development.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4380,4383,4386,4389,4392],{"name":4381,"slug":4382,"type":16},"Accessibility","accessibility",{"name":4384,"slug":4385,"type":16},"Android","android",{"name":4387,"slug":4388,"type":16},"Kotlin","kotlin",{"name":4390,"slug":4391,"type":16},"Mobile","mobile",{"name":4393,"slug":4394,"type":16},"UI Components","ui-components",13030,"https:\u002F\u002Fgithub.com\u002FMiniMax-AI\u002Fskills","2026-07-13T06:16:54.247834",{"slug":4399,"name":4399,"fn":4400,"description":4401,"org":4402,"tags":4403,"stars":4395,"repoUrl":4396,"updatedAt":4409},"buddy-sings","generate singing performances for AI companions","Use when user wants their Claude Code pet (\u002Fbuddy) to sing a song. Triggers on any request that combines the concept of their Claude Code buddy, pet, or companion with singing or music. Supports multilingual triggers — match equivalent phrases in any language.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4404,4405,4408],{"name":4363,"slug":4364,"type":16},{"name":4406,"slug":4407,"type":16},"Audio","audio",{"name":18,"slug":19,"type":16},"2026-07-13T06:16:35.130644",{"slug":4411,"name":4411,"fn":4412,"description":4413,"org":4414,"tags":4415,"stars":4395,"repoUrl":4396,"updatedAt":4424},"color-font-skill","select color palettes and font pairings","Choose presentation-ready color palettes and font pairings for PPT\u002Fdesign tasks. Use when users ask for visual theme choices, brand-safe palettes, or font recommendations. Triggers include: 配色, 色板, 字体, color palette, font, PPT配色, 字体搭配.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4416,4417,4420,4423],{"name":4262,"slug":4263,"type":16},{"name":4418,"slug":4419,"type":16},"Presentations","presentations",{"name":4421,"slug":4422,"type":16},"Themes","themes",{"name":4304,"slug":4305,"type":16},"2026-07-13T06:17:02.785587",{"slug":4426,"name":4426,"fn":4427,"description":4428,"org":4429,"tags":4430,"stars":4395,"repoUrl":4396,"updatedAt":4439},"design-style-skill","select visual design systems for presentations","Select a consistent visual design system for PPT slides using radius\u002Fspacing style recipes. Use when users ask for overall style direction or component styling consistency. Includes Sharp\u002FSoft\u002FRounded\u002FPill recipes, component mappings, typography\u002Fspacing rules, and mixing guidance. Triggers: 风格, style, radius, spacing, 圆角, 间距, PPT风格, 视觉风格, design style, component style.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4431,4432,4435,4438],{"name":4262,"slug":4263,"type":16},{"name":4433,"slug":4434,"type":16},"Design System","design-system",{"name":4436,"slug":4437,"type":16},"PowerPoint","powerpoint",{"name":4418,"slug":4419,"type":16},"2026-07-13T06:17:10.398389",{"slug":4441,"name":4441,"fn":4442,"description":4443,"org":4444,"tags":4445,"stars":4395,"repoUrl":4396,"updatedAt":4459},"flutter-dev","build cross-platform apps with Flutter","Flutter cross-platform development guide covering widget patterns, Riverpod\u002FBloc state management, GoRouter navigation, performance optimization, and platform-specific implementations. Includes const optimization, responsive layouts, testing strategies, and DevTools profiling.\nUse when: building Flutter apps, implementing state management (Riverpod\u002FBloc), setting up GoRouter navigation, creating custom widgets, optimizing performance, writing widget tests, cross-platform development.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4446,4449,4452,4453,4456],{"name":4447,"slug":4448,"type":16},"Dart","dart",{"name":4450,"slug":4451,"type":16},"Flutter","flutter",{"name":4390,"slug":4391,"type":16},{"name":4454,"slug":4455,"type":16},"Performance","performance",{"name":4457,"slug":4458,"type":16},"State Management","state-management","2026-07-13T06:16:36.626679",{"slug":4461,"name":4461,"fn":4462,"description":4463,"org":4464,"tags":4465,"stars":4395,"repoUrl":4396,"updatedAt":4473},"frontend-dev","build visually striking frontend web pages","Full-stack frontend development combining premium UI design, cinematic animations,\nAI-generated media assets, persuasive copywriting, and visual art. Builds complete,\nvisually striking web pages with real media, advanced motion, and compelling copy.\nUse when: building landing pages, marketing sites, product pages, dashboards,\ngenerating media assets (image\u002Fvideo\u002Faudio\u002Fmusic), writing conversion copy,\ncreating generative art, or implementing cinematic scroll animations.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4466,4467,4468,4469,4470],{"name":21,"slug":22,"type":16},{"name":18,"slug":19,"type":16},{"name":4262,"slug":4263,"type":16},{"name":4278,"slug":4279,"type":16},{"name":4471,"slug":4472,"type":16},"Web Development","web-development","2026-07-13T06:16:39.108827",{"slug":4475,"name":4475,"fn":4476,"description":4477,"org":4478,"tags":4479,"stars":4395,"repoUrl":4396,"updatedAt":4491},"fullstack-dev","build full-stack web applications","Full-stack backend architecture and frontend-backend integration guide.\nTRIGGER when: building a full-stack app, creating REST API with frontend, scaffolding backend service,\nbuilding todo app, building CRUD app, building real-time app, building chat app,\nExpress + React, Next.js API, Node.js backend, Python backend, Go backend,\ndesigning service layers, implementing error handling, managing config\u002Fauth,\nsetting up API clients, implementing auth flows, handling file uploads,\nadding real-time features (SSE\u002FWebSocket), hardening for production.\nDO NOT TRIGGER when: pure frontend UI work, pure CSS\u002Fstyling, database schema only.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4480,4483,4484,4487,4490],{"name":4481,"slug":4482,"type":16},"Backend","backend",{"name":4278,"slug":4279,"type":16},{"name":4485,"slug":4486,"type":16},"Full-stack","full-stack",{"name":4488,"slug":4489,"type":16},"REST API","rest-api",{"name":4471,"slug":4472,"type":16},"2026-07-13T06:16:43.219005",{"slug":4493,"name":4493,"fn":4494,"description":4495,"org":4496,"tags":4497,"stars":4395,"repoUrl":4396,"updatedAt":4502},"gif-sticker-maker","create animated GIF stickers from photos","Convert photos (people, pets, objects, logos) into 4 animated GIF stickers with captions.\nUse when: user wants to create cartoon stickers, GIF expressions, emoji packs, animated avatars,\nor convert photos to Funko Pop \u002F Pop Mart blind box style animations.\nTriggers: sticker, GIF, cartoon, emoji, expression pack, avatar animation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4498,4499,4500,4501],{"name":21,"slug":22,"type":16},{"name":18,"slug":19,"type":16},{"name":4316,"slug":4317,"type":16},{"name":14,"slug":15,"type":16},"2026-07-13T06:16:51.74461",{"slug":4504,"name":4504,"fn":4505,"description":4506,"org":4507,"tags":4508,"stars":4395,"repoUrl":4396,"updatedAt":4518},"ios-application-dev","develop iOS applications with SwiftUI and UIKit","iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific topics, see the reference files.\nUse when: developing iOS apps, implementing UI, reviewing iOS code, working with UIKit\u002FSnapKit\u002FSwiftUI layouts, building iPhone interfaces, Swift mobile development, Apple HIG compliance, iOS accessibility implementation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4509,4510,4513,4514,4517],{"name":4381,"slug":4382,"type":16},{"name":4511,"slug":4512,"type":16},"iOS","ios",{"name":4390,"slug":4391,"type":16},{"name":4515,"slug":4516,"type":16},"SwiftUI","swiftui",{"name":4393,"slug":4394,"type":16},"2026-07-13T06:16:55.686092",{"slug":4520,"name":4520,"fn":4521,"description":4522,"org":4523,"tags":4524,"stars":4395,"repoUrl":4396,"updatedAt":4531},"minimax-docx","create and edit DOCX documents","Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET). Three pipelines: (A) create new documents from scratch, (B) fill\u002Fedit content in existing documents, (C) apply template formatting with XSD validation gate-check. MUST use this skill whenever the user wants to produce, modify, or format a Word document — including when they say \"write a report\", \"draft a proposal\", \"make a contract\", \"fill in this form\", \"reformat to match this template\", or any task whose final output is a .docx file. Even if the user doesn't mention \"docx\" explicitly, if the task implies a printable\u002Fformal document, use this skill.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4525,4526,4527,4528],{"name":4329,"slug":4330,"type":16},{"name":4332,"slug":4323,"type":16},{"name":4334,"slug":4335,"type":16},{"name":4529,"slug":4530,"type":16},"Templates","templates","2026-07-13T06:16:40.461868",{"slug":4533,"name":4533,"fn":4534,"description":4535,"org":4536,"tags":4537,"stars":4395,"repoUrl":4396,"updatedAt":4541},"minimax-music-gen","generate music and audio tracks","Use when user wants to generate music, songs, or audio tracks. Triggers on any request involving music creation, song writing, lyrics generation, audio production, or covers. Also triggers when user provides lyrics and wants them turned into a song, or describes a mood\u002Fscene and wants background music. Supports multilingual triggers — match equivalent phrases in any language. Do NOT use for music playback of existing files, music theory questions, or music recommendation without generation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4538,4539,4540],{"name":4406,"slug":4407,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},"2026-07-13T06:16:50.381758",{"slug":4543,"name":4543,"fn":4544,"description":4545,"org":4546,"tags":4547,"stars":4395,"repoUrl":4396,"updatedAt":4551},"minimax-music-playlist","generate personalized music playlists","Generate personalized music playlists by analyzing the user's music taste and generation feedback history. Triggers on any request involving playlist generation, music taste profiling, or personalized music recommendations. Supports multilingual triggers — match equivalent phrases in any language.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4548,4549,4550],{"name":4406,"slug":4407,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},"2026-07-13T06:16:57.002997"]