GitShow/Rich-Harris/smooth-keyframes
Rich-Harris

smooth-keyframes

Smoothly interpolate keyframes

by Rich-Harris
Star on GitHubForkWebsitenpm

TypeScript

14 stars0 forks1 contributorQuiet · 7y agoSince 2017MIT

Meet the team

See all 1 on GitHub →
Rich-Harris
Rich-Harris33 contributions

Languages

View on GitHub →
TypeScript85.6%
JavaScript14.4%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
Rich-Harris
MonotonicityMergedPR

Adapts the algorithm from http://articles.adsabs.harvard.edu//full/1990A%26A...239..443S/0000444.000.html, via https://github.com/d3/d3-shape/blob/master/src/curve/monotone.js, to get better results when interpolating between a series of points going in the same direction. Closes #5

Rich-Harris · 7y ago
Rich-Harris
'rotate' control points for more natural fitClosedIssue

Given keyframes you get a curve that runs through : !screen shot 2017-12-06 at 4 15 03 pm It seems natural that if you also had a keyframe , the resulting curve would be unchanged. But instead this happens: !screen shot 2017-12-06 at 4 15 25 pm The control points for the knot in the middle point towards the end knots, resulting in an undesirable curve. I'm not sure what the 'correct' solution to that looks like.

Rich-Harris · 7y ago
Rich-Harris
Implement binary searchClosedIssue

Using a for loop to find the points to lerp between is the wrong sort of lazy

Rich-Harris · 8y ago
Structured data for AI agents

Repository: Rich-Harris/smooth-keyframes. Description: Smoothly interpolate keyframes Stars: 14, Forks: 0. Primary language: TypeScript. Languages: TypeScript (85.6%), JavaScript (14.4%). License: MIT. Homepage: https://smooth-keyframes-demo.surge.sh/ Open PRs: 0, open issues: 0. Last activity: 7y ago. Community health: 42%. Top contributors: Rich-Harris.

·@ofershap

Replace github.com with gitshow.dev