Scene.js Effects

npm version

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

About Scene.js  /  API  /  Features  /  Examples

⚙ ️Installation


$ npm install @scenejs/effects


<script src="//"></script>
<script src="//"></script>

🛠️ How to use

import { shake, flip, fadeIn, wipeIn } from "@egjs/effects";


✨ Effects

  • 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)

@keyframes keyframes {
    0%, 7.69% {
      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);
import { keyframer } from "@scenejs/effects";

keyframer("keyframes", {
    duration: 1,
    iterationCount: "infinite",
    selector: ".rect",

👏 Contributing

If you have any questions or requests or want to contribute to scenejs or other packages, please write the issue or give me a Pull Request freely.

🐞 Bug Report

If you find a bug, please report to us opening a new Issues on GitHub.

📝 License

MIT License

Copyright (c) 2019 Daybrush