jQuery Plugin Architecture and Extended API Reference
Repeating code violates the DRY principle. jQuery provides multiple extension points: object methods, global functions, custom selectors, and easing effects.
Object Methods
Add a new method to every jQuery object:
jQuery.fn.myMethod = function() {
return this.each(function() {
// 'this' refers to a DOM element
doSomethingWith(this);
...
Posted on Mon, 14 Sep 2026 16:34:54 +0000 by jayR
Custom Animated Navigation Bar for WeChat Mini Programs
Implementing Dynamic Navigation in WeChat Mini Programs
This implementation creates a fluid navigation bar with animated bubble transitions. The solution adapts web-based animation concepts to WeChat Mini Program constraints by replacing GSAP enimations with the native animation API.
Core Implementation
The navigation system uses layered elemen ...
Posted on Sat, 12 Sep 2026 16:29:42 +0000 by scotmcc
Creating Floating Heart Animations with Canvas and Bezier Curves
Implementing a floating heart animation for a "like" feature requires moving a heart image along a Bezier curve trajectory while gradually fading it out. The core challenge lies in calculating a series of points along the Bezier curve.
Calculating Bezier Curve Points
The mathematical formula for an n-order Bezier curve allows us to co ...
Posted on Sun, 06 Sep 2026 16:55:44 +0000 by AmiraSan
Creating a Reusable Collapsible Panel Component in Vue 3
Transition Handler Component
Define a transition wrapper to animate expand and collapse actions.
<template>
<transition
@before-enter="prepEnter"
@enter="startEnter"
@after-enter="finishEnter"
@before-leave="prepLeave"
@leave="startLeave"
@after-leave="fin ...
Posted on Sun, 23 Aug 2026 16:38:30 +0000 by jstngk
ActionScript 3 TweenMax and TweenLite Animation Techniques
TweenLite.to(targetSprite, 1.5, {x:100});
targetSprite is the animated object, 1.5 is duration in seconds, and {x:100} defines the final horizontal position after easing completes. This creates a linear movement from the sprite’s current x to 100 over 1.5 seconds.
TweenLite.from(targetSprite, 1.5, {x:100});
This reverses the direction: the sp ...
Posted on Wed, 19 Aug 2026 16:42:09 +0000 by fr600
Building Lottery Wheel Animations in CocosCreator
Animation ApproachesSpinning wheel mechanics can be driven by different animation models. A basic approach utilizes cc.tween with easing functions, which is straightforward but lacks dynamic pacing control. A more advanced method employs time interpolation combined with cc.tween.by, allowing for precise acceleration and deceleration phases whil ...
Posted on Fri, 14 Aug 2026 16:44:46 +0000 by malec
AS3 TransitionManager Built-in Transition Effects
Reference: https://www.cnblogs.com/wonderKK/archive/2012/08/22/2650475.html
TransitionManager
Contains the following 10 transition types:
1. Blinds
--------Uses gradually disappearing or appearing rectangles to display a movie clip object.
(Parameters: numStrips - number of strips in the blinds effect, recommended range 1-50; dimension - inte ...
Posted on Sat, 08 Aug 2026 16:43:01 +0000 by Virtuali
Displaying Animated GIFs as Objects in Qt Main Window Using QGraphicsView
Overview
This approach enables embedding multiple animated GIFs as individual objects within a single window. Each GIF becomes a separate entity that can potentially suport its own functionality.
Core Componnets
The implementation requires three main classes:
QGraphicsView: Provides the viewport widget for displaying graphics
QGraphicsScene: M ...
Posted on Wed, 05 Aug 2026 16:16:43 +0000 by simflex
Mastering Scene Hierarchy and Interactive Elements in LibGDX
In 2D game development, managing visual components and user interactions efficiently requires a structured rendering pipeline. LibGDX provides the com.badlogic.gdx.scenes.scene2d package, which introduces two foundational concepts: the Stage and Actors. A Stage acts as a centralized manager that handles event dispatching, coordinate transformat ...
Posted on Sun, 26 Jul 2026 16:39:31 +0000 by tony-kidsdirect
Understanding CSS Animation Properties: Transition, Animation, and Transform
CSS provides three main properties for creating motion effects on web pages: transition, animation, and transform. Each serves a distinct purpose: transition requires a trigger (e.g., :hover) to start, animation runs immediately or on demand, and transform is not itself an animation but a fundamental building block for animations.
Transition
...
Posted on Mon, 20 Jul 2026 17:32:26 +0000 by fierdor