# vec2-easing **Repository Path**: mirrors_dominictarr/vec2-easing ## Basic Information - **Project Name**: vec2-easing - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vec2-easing quadratic easing for vec2. # lead = ease(follow, delay) when `lead` is updated, move follow towards it smoothly over `delay` miliseconds. ## example ``` var ease = require('vec2-easing') var Vec2 = require('vec2') var follow = new Vec2() //track changes in follow. follow.change(function () { conosle.log(follow.toJSON()) }) var lead = ease(follow, 1000) //update lead - follow will track it with smoothing. lead.set(1000, 1000) ``` ## License MIT