Skip to content

1.0.0 Release (2019-06-19)

Latest
Compare
Choose a tag to compare
@daybrush daybrush released this 18 Jun 16:52
· 6 commits to master since this release

🎬✨ Effect collection library where you can add effects with Scene.js

⚙ ️Installation

$ npm install @scenejs/effects

✨ Effects

CodePen Collection

  • kineticFrame: Create a frame that moves the origin in the opposite direction as it moves through the transform. (CodePen)

                        

  • typing: Make a typing effect that is typed one character at a time like a typewriter. (CodePen)

  • keyframer: Make the CSS Keyframes Playable Animator(SceneItem). (CodePen)

<style>
@keyframes keyframes {
    0%, 7.69% {
      border-width:35px;
      transform: translate(-50%, -50%) scale(0);
    }
    84.61% {
      border-width: 0px;
      transform: translate(-50%, -50%) scale(1);
    }
    100% {
      border-width: 0px;
      transform: translate(-50%, -50%) scale(1);
    }
}
</style>
import { keyframer } from "@scenejs/effects";

keyframer("keyframes", {
    duration: 1,
    iterationCount: "infinite",
    selector: ".rect",
}).play();