New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

glaxnimate

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glaxnimate

Player and live editor for animations

latest
npmnpm
Version
0.6.56
Version published
Maintainers
1
Created
Source

Glaxnimate Web

Web library to embed and edit Glaxnimate animation on web pages.

Usage

Loading the library

You can load from CDN. Both jsdelivr and unpkg are supported:

<script src="https://cdn.jsdelivr.net/npm/glaxnimate/glaxnimate.min.js"></script>

or

<script src="https://unpkg.com/glaxnimate@latest/glaxnimate.js"></script>

Usage

<script>
// Create the player  
let player = new Glaxnimate.Player({
    canvas: document.getElementById("canvas")
});

// Load an animation explicitly
// You can also just pass these to the constructor if data is available
player.load({
    // `data` can be a string, Uint8Array, or ArrayBuffer
    data: "your data", 
    // You have to specify `format` or `filename` so the correct importer can be used
    format: "glaxnimate"
});

// Fetch a remote animation
player.fetch("example.rawr");

// ... 

// Control playback
player.pause();
player.play();

// Edit the animation live
let fill = player.composition.shapes[0].shapes[0].shapes[0];
fill.color.value = {red: 255, green: 0, blue: 255, alpha: 255};
</script>

Supported Formats

  • Glaxnimate .rawr
  • Lottie .lot, .json
  • SVG .svg
  • AEP .aep, .aepx

Experimental formats:

  • Andorid Vector Drawables .avd
  • Rive .riv
  • Repo
  • Issues
  • npm
  • CDN unpkg jsdelivr

License

GPLv3+

Keywords

animation

FAQs

Package last updated on 13 Mar 2026

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