actions / actions/checkout

ew22

Open
#2,136 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
8.9k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

import type { TransitionTiming } from "@remotion/transitions";

import { measureSpring, spring, SpringConfig } from "remotion";

 

const springTimingWithPause = ({

pauseDuration,

}: {

pauseDuration: number;

}): TransitionTiming => {

const firstHalf: Partial = {};

const secondPush: Partial = {

damping: 200,

};

 

return {

getDurationInFrames: ({ fps }) => {
  return (
    measureSpring({ fps, config: firstHalf }) +
    measureSpring({ fps, config: secondPush }) +
    pauseDuration
  );
},
getProgress({ fps, frame }) {
  const first = spring({ fps, frame, config: firstHalf });
  const second = spring({
    fps,
    frame,
    config: secondPush,
    delay: pauseDuration + measureSpring({ fps, config: firstHalf }),
  });

 

  return first / 2 + second / 2;
},

};

};

Originally posted by @pejman-college in 25a956c

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue contains only a TypeScript snippet importing from @remotion/transitions and remotion, with no requested change, file path, test, or acceptance criteria. First clarify how this snippet relates to actions/checkout and what behavior is expected; completion cannot be determined from the current issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
10/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.