A precision-engineered JavaScript engine for high-fidelity web motion.
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.
Utilizes custom requestAnimationFrame polyfills to ensure smooth 60fps execution even on older browsers or legacy systems.
Features a custom Cubic Bezier engine for organic acceleration and deceleration, making UI feel natural and responsive.
Native support for animation-triggering strings like e:mouseup or e:click, linking interaction directly to motion.
Equipped with a recursive Deep Copy utility to protect your original object data during complex transformations.
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.
// 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)();
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