{"id":"chiefwildin/AnimNation","name":"AnimNation","scope":"chiefwildin","platform":"roblox","description":"An animation library that enables quick one-shot style animations for most instances and properties.","version":"1.14.0","latest":"1.14.0","versions":["1.14.0","1.11.0","1.11.2","1.12.0","1.13.0","1.13.1"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":false,"dependencies":{},"integrity":"318d6ae0acefc368168afc3e90040e9dac10f7bf367abb47e21165035a8fbfbb","likes":4,"downloads":8,"install":"forest install chiefwildin/AnimNation","url":"https://forest.dev/p/roblox/chiefwildin/AnimNation","files":"https://api.forest.dev/ai/package/roblox/chiefwildin/AnimNation/files","readme":"<div align=\"center\">\r\n<img src=\"https://user-images.githubusercontent.com/67706277/205463774-5c513218-9ca9-4b36-8d1d-1c1ac75f4c5a.png\" />\r\n\r\nA streamlined Roblox animation utility that simplifies the use of springs,\r\ntweens, and splines on object properties. See <a href=\"/AnimNation/api/\">the API section</a> for usage and\r\ntechnical details.\r\n</div>\r\n\r\n<br/>\r\n\r\n## Tweens\r\nTweens support all properties that are supported by TweenService, as well as tweening Models by `CFrame` and tweening `NumberSequence`/`ColorSequence` values (given that the target sequence has the same number of keypoints).\r\n\r\n```lua\r\n.tween(object: Instance, tweenInfo: TweenInfo | {}, properties: {[string]: any}): AnimChain\r\n.tweenFromAlpha(object: Instance, tweenInfo: TweenInfo | {}, properties: {[string]: any}, alpha: number): AnimChain\r\n.getTweenFromInstance(object: Instance): Tween?\r\n```\r\n\r\n<br/>\r\n\r\n---\r\n\r\n## Springs\r\nSprings support the following types: `number`, `Vector2`, `Vector3`, `UDim`, `UDim2`, `CFrame`, and `Color3`. These are natively supported by the provided `Spring` class as well.\r\n\r\n```lua\r\n.impulse(object: Instance, springInfo: SpringInfo, properties: {[string]: any}): AnimChain\r\n.target(object: Instance, springInfo: SpringInfo, properties: {[string]: any})\r\n.bind(springs: {Spring}, label: string, callback: (positions: {Springable}, velocities: {Springable}) -> ())\r\n.unbind(spring: Spring, label: string)\r\n.createSpring(springInfo: SpringInfo, name: string?): Spring\r\n.getSpring(name: string): Spring?\r\n```\r\n\r\n<br/>\r\n\r\n---\r\n\r\n## Splines\r\nSplines are used in animation for interpolating between a series of points in a smoothed curving fashion.\r\n\r\n```lua\r\n.getSpline(name: string): Spline?\r\n.createSpline(controlPoints: {CFrame}, name: string?): Spline\r\n.slerpTweenFromAlpha(object: Instance, tweenInfo: TweenInfo | {}, spline: Spline | {CFrame}, alignment: (\"Track\" | \"Nodes\")?, alpha: number?, waitToKill: boolean?): AnimChain\r\n```\r\n","readmeTruncated":false}