Skip to content

Tyrone27/RampedSlowMotionExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

RampedSlowMotionExample

This simple example demonstrates a ramped SlowMotion effect in Swift 3.0

Traditional slow motion looks like this

The "|_|" in the middle shows the timeRange in slowMotion . As can be seen , transition from normal to slow is abrupt.

To smoothen the slow motion effect this timeRange can be EASED in and out of the normal speed so that it looks like this

This parabolic effect causes the ramp.

Within the AssetConfig class , the downWithRamp(...) method allows for this to happen.

ISSUES :

There is however an arbitrary blank ramped segment within the video when exported. You will understand when you run the project for yourself.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages