Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fatina

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fatina

Small & Light tweening library for web / games

  • 3.0.0-beta.3
  • beta
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Logo

Fatina

Small & Light tweening library for Games / Web

  • Website: Here
  • API: Here
  • Samples: Here

NPM Version NPM Downloads Build Status Coverage Status Codacy Badge License

Description

A comprehensive and easy to use animation library for Typescript / Javascript

  • Easy to use (API strongly inspired by Dotween)
  • Lightweight with no dependencies ( < 20KB )
  • Unit tested + code coverage
  • Open source and MIT License (use it as you please)

Getting Started

Install

If you want to use the CDN version:

<script src="https://cdn.jsdelivr.net/npm/fatina@latest/build/fatina.min.js"></script>

Or if you use NPM

> npm install fatina

And load it with

// standard node.js require
var Fatina = require('fatina');
// OR
// standard import with typescript (typed version)
import Fatina from 'fatina';

Usage

Fatina.tween(obj)
    .to(destination, duration)
    .start();

// example
Fatina.tween(sprite)
    .to({ x: 12, y:25 }, 0.5)
    .start();

Keywords

FAQs

Package last updated on 06 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc