Version 1.0.0

SelectJs Animation Module

A precision-engineered JavaScript engine for high-fidelity web motion.

Overview

The SelectJs Animation Module is a high-performance core designed to bridge the gap between static CSS and complex JavaScript logic. It allows developers to animate CSS properties, numerical values, and colors using a mathematically optimized system that prioritizes frame consistency and memory efficiency.

Frame Precision

Utilizes custom requestAnimationFrame polyfills to ensure smooth 60fps execution even on older browsers or legacy systems.

Mathematical Easing

Features a custom Cubic Bezier engine for organic acceleration and deceleration, making UI feel natural and responsive.

Event Interactivity

Native support for animation-triggering strings like e:mouseup or e:click, linking interaction directly to motion.

State Integrity

Equipped with a recursive Deep Copy utility to protect your original object data during complex transformations.

Technical Architecture

Unlike standard libraries, SelectJs handles internal property tracking (animFram, storeValue) with an automated cleanup cycle, ensuring that long-running web applications remain leak-free and performant.

Sample Implementation

// Example animation configuration
let config = {
    duration: 500,
    ease: "cubic-bezier(0.42, 0, 0.58, 1)",
    props: { opacity: 1, left: "100px" },
    callback: function() { console.log("Motion Complete!"); }
};

animate(element, config)();

Support the Development

SelectJs is an open-source project dedicated to making the web more interactive. Your support allows us to continue optimizing the mathematical engines and expanding browser compatibility.

Support on GitHub / Patreon