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: motiondivision/motion
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v13.1.1
Choose a base ref
...
head repository: motiondivision/motion
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v13.2.0
Choose a head ref
  • 14 commits
  • 44 files changed
  • 2 contributors

Commits on Aug 26, 2026

  1. Reduce filesize of spring and inertia generators

    - Dedupe the underdamped spring position/velocity math into a single
      memoized sampler shared by resolveSpring, resolveVelocity and the
      next() hot path
    - Hoist repeated dampingRatio * undampedAngularFreq product and replace
      Math.pow(x, 2) with multiplication in findSpring
    - Use the analytical derivative of the inertia friction curve for the
      boundary spring velocity instead of finite-difference sampling
    - Calculate delta once per frame in applyFriction
    - Unify calcGeneratorDuration and pregenerateKeyframes into one
      parametrized sampling loop
    
    Co-authored-by: Cursor <[email protected]>
    mattgperry and cursoragent committed Aug 26, 2026
    Configuration menu
    Copy the full SHA
    75ecd89 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2026

  1. Add uniformEffect for GPU bindings

    Bind MotionValues to uniform setters while batching GPU writes before the render step.
    
    Co-authored-by: Cursor <[email protected]>
    mattgperry and cursoragent committed Aug 29, 2026
    Configuration menu
    Copy the full SHA
    a9c3e17 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2026

  1. Add library-specific uniform effect entrypoints

    Keep GPU integrations out of the main bundle while supporting both vgpu setter bags and Three.js uniform objects.
    
    Co-authored-by: Cursor <[email protected]>
    mattgperry and cursoragent committed Aug 30, 2026
    Configuration menu
    Copy the full SHA
    5439722 View commit details
    Browse the repository at this point in the history
  2. Add effect-aware animate adapters

    Let vgpu and Three.js subjects animate through their registered MotionValues, with Three.js dispatching between uniform and object effects.
    
    Co-authored-by: Cursor <[email protected]>
    mattgperry and cursoragent committed Aug 30, 2026
    Configuration menu
    Copy the full SHA
    15aead8 View commit details
    Browse the repository at this point in the history
  3. Create adapter MotionValues lazily

    Allow Three.js targets to animate directly and let vgpu uniforms animate from explicit keyframes without requiring prior effect registration.
    
    Co-authored-by: Cursor <[email protected]>
    mattgperry and cursoragent committed Aug 30, 2026
    Configuration menu
    Copy the full SHA
    7b0ac88 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2026

  1. Add GPU adapter preview examples

    Provide runnable Three.js and vgpu demos for validating the new animate and effect APIs in Motion's shared render loop.
    
    Co-authored-by: Cursor <[email protected]>
    mattgperry and cursoragent committed Sep 1, 2026
    Configuration menu
    Copy the full SHA
    84c2599 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55c8f8e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #3799 from motiondivision/generator-filesize-optim…

    …isations
    
    Reduce filesize of spring and inertia generators
    mattgperry authored Sep 1, 2026
    Configuration menu
    Copy the full SHA
    a2d3227 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #3800 from motiondivision/add-uniform-effect

    Add uniformEffect for GPU bindings
    mattgperry authored Sep 1, 2026
    Configuration menu
    Copy the full SHA
    d60a956 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2026

  1. Add TSL uniform node support to Three.js animate

    Resolve node material slots like colorNode/opacityNode to their TSL
    uniform nodes when animating materials and meshes, and support
    animating uniform nodes directly. Non-uniform nodes are compiled into
    the shader so fall through to plain properties.
    
    Co-authored-by: Cursor <[email protected]>
    mattgperry and cursoragent committed Sep 2, 2026
    Configuration menu
    Copy the full SHA
    b800e58 View commit details
    Browse the repository at this point in the history
  2. Add WebGPURenderer TSL demo

    Live example of animate() driving node material uniforms and a spring
    GPU fan-out where one progress uniform node drives per-vertex and
    per-fragment work in-shader.
    
    Co-authored-by: Cursor <[email protected]>
    mattgperry and cursoragent committed Sep 2, 2026
    Configuration menu
    Copy the full SHA
    ce2719d View commit details
    Browse the repository at this point in the history
  3. Latest

    mattgperry committed Sep 2, 2026
    Configuration menu
    Copy the full SHA
    d743b79 View commit details
    Browse the repository at this point in the history
  4. Latest

    mattgperry committed Sep 2, 2026
    Configuration menu
    Copy the full SHA
    f73cbd7 View commit details
    Browse the repository at this point in the history
  5. v13.2.0

    mattgperry committed Sep 2, 2026
    Configuration menu
    Copy the full SHA
    0f1c119 View commit details
    Browse the repository at this point in the history
Loading