module Opal::Animation

Overview

Comprehensive animation and tweening engine for smooth UI transitions, color fading, coordinate motion, and micro-interactions.

Defined in:

opal/animation/animator.cr
opal/style/animation.cr

Class Method Summary

Class Method Detail

def self.bounce_out(t : Float64) : Float64 #

[View source]
def self.ease(type : Symbol, t : Float64) : Float64 #

[View source]
def self.ease_in_cubic(t : Float64) : Float64 #

[View source]
def self.ease_in_out_cubic(t : Float64) : Float64 #

[View source]
def self.ease_in_out_quad(t : Float64) : Float64 #

[View source]
def self.ease_in_quad(t : Float64) : Float64 #

[View source]
def self.ease_out_cubic(t : Float64) : Float64 #

[View source]
def self.ease_out_quad(t : Float64) : Float64 #

[View source]
def self.elastic_out(t : Float64) : Float64 #

[View source]
def self.linear(t : Float64) : Float64 #

Easing module functions for backwards compatibility


[View source]