Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: agentstation/vhs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.10.0-as.3
Choose a base ref
...
head repository: agentstation/vhs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.10.0-as.4
Choose a head ref
  • 4 commits
  • 5 files changed
  • 3 contributors

Commits on Aug 6, 2025

  1. fix: exclude SVG files from LFS to enable README display

    SVG files are text-based and don't need LFS. GitHub can't display
    LFS-tracked images in README files. By excluding SVGs from LFS,
    they can be displayed properly using raw.githubusercontent.com URLs.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    jackspirou and claude committed Aug 6, 2025
    Configuration menu
    Copy the full SHA
    9516182 View commit details
    Browse the repository at this point in the history
  2. fix: resolve SVG keyframe collisions with dynamic precision

    Fixes jerky/incorrect animations in large SVG files by implementing
    dynamic percentage precision based on keyframe count.
    
    Problem:
    - Large animations (4000+ keyframes) had multiple keyframes with same
      percentage values due to 1 decimal precision limit
    - Browser couldn't determine which transform to apply, causing jerky rendering
    
    Solution:
    - Implemented formatPercentage() with dynamic precision:
      - < 100 keyframes: 1 decimal
      - < 1,000 keyframes: 2 decimals
      - < 10,000 keyframes: 3 decimals
      - < 100,000 keyframes: 4 decimals
      - >= 100,000 keyframes: 5 decimals
    - Ensures unique percentages for all keyframes
    - Optimizes file size by using minimal required precision
    
    Results:
    - Smooth animations for recordings of any size
    - Optimal file sizes (small demos stay small)
    - No configuration needed - automatically adapts
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    jackspirou and claude committed Aug 6, 2025
    Configuration menu
    Copy the full SHA
    a07c18e View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2025

  1. fix: address linter suggestion - use strings.TrimSuffix

    Replace if statement with strings.TrimSuffix as suggested by staticcheck (S1017)
    jackspirou committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    ff58281 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3 from agentstation/fix/svg-keyframe-precision

    Fix SVG keyframe collisions with dynamic precision
    jackspirou authored Aug 7, 2025
    Configuration menu
    Copy the full SHA
    8584720 View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址