Anime.js技法
Anime.js技法
Section titled “Anime.js技法”日付: 2026-09-11
ライブラリ: Anime.js v4.0.0(公式トップ表示確認済み)
Anime.js v4の公式ドキュメントに基づく技法カタログ61件。トゥイーンのコアAPIからタイムライン、スタッガー、SVG・テキスト演出、スクロール連動、ドラッグ、レイアウトアニメまでを網羅し、各項目に公式個別ページのURLと料金判定を付した。Anime.jsはMITライセンスで全機能無料。
1. Installation(CDN / npm / モジュール選定)
Section titled “1. Installation(CDN / npm / モジュール選定)”- 一言: npm・ESM・UMD など導入経路を公式が整理。ESM/CDN の軽い取り込みが現実的。
- URL: https://animejs.com/documentation/getting-started/installation
- 料金判定: 無料(Anime.js MIT・OSS)
2. Module imports(必要な部分だけ import)
Section titled “2. Module imports(必要な部分だけ import)”- 一言: 軽量モジュラー API。使う機能だけ import してバンドルを小さく保てる(公式トップでも強調)。
- URL: https://animejs.com/documentation/getting-started/module-imports
- 料金判定: 無料(Anime.js MIT・OSS)
3. animate() コア API
Section titled “3. animate() コア API”- 一言: 単一 API で CSS・transform・SVG・オブジェクト等をアニメーション。
- URL: https://animejs.com/documentation/animation
- 料金判定: 無料(Anime.js MIT・OSS)
4. Targets: CSS Selector
Section titled “4. Targets: CSS Selector”- 一言: CSS セレクタ文字列で複数要素を一括ターゲット。
- URL: https://animejs.com/documentation/animation/targets/css-selector
- 料金判定: 無料(Anime.js MIT・OSS)
5. Targets: DOM Elements / Array of targets
Section titled “5. Targets: DOM Elements / Array of targets”- 一言: DOM ノードや配列を直接渡し、動的に集めた要素を動かせる。
- URL: https://animejs.com/documentation/animation/targets/dom-elements
- 料金判定: 無料(Anime.js MIT・OSS)
6. Targets: JavaScript Objects
Section titled “6. Targets: JavaScript Objects”- 一言: プレーン JS オブジェクトの数値プロパティをトゥイーンし、メーター表示等に流用。
- URL: https://animejs.com/documentation/animation/targets/javascript-objects
- 料金判定: 無料(Anime.js MIT・OSS)
7. CSS Properties アニメーション
Section titled “7. CSS Properties アニメーション”- 一言: opacity・width・color など通常の CSS プロパティをトゥイーン。
- URL: https://animejs.com/documentation/animation/animatable-properties/css-properties
- 料金判定: 無料(Anime.js MIT・OSS)
8. Individual CSS Transforms
Section titled “8. Individual CSS Transforms”- 一言:
x/y/rotate/scale等を個別プロパティとして滑らかに合成(Enhanced transforms)。 - URL: https://animejs.com/documentation/animation/animatable-properties/css-transforms
- 料金判定: 無料(Anime.js MIT・OSS)
9. CSS Variables アニメーション
Section titled “9. CSS Variables アニメーション”- 一言: CSS カスタムプロパティを直接トゥイーンし、テーマ色やメーター幅を一括制御。
- URL: https://animejs.com/documentation/animation/animatable-properties/css-variables
- 料金判定: 無料(Anime.js MIT・OSS)
10. SVG Attributes アニメーション
Section titled “10. SVG Attributes アニメーション”- 一言: SVG 属性(
d以外の数値属性含む)を JS 側でトゥイーン。 - URL: https://animejs.com/documentation/animation/animatable-properties/svg-attributes
- 料金判定: 無料(Anime.js MIT・OSS)
11. HTML Attributes アニメーション
Section titled “11. HTML Attributes アニメーション”- 一言: HTML 属性値をトゥイーン(進捗表示や aria 連動の土台)。
- URL: https://animejs.com/documentation/animation/animatable-properties/html-attributes
- 料金判定: 無料(Anime.js MIT・OSS)
12. Tween from / to
Section titled “12. Tween from / to”- 一言: 開始値
fromと到達値toを明示し、再現性のある入退場を組む。 - URL: https://animejs.com/documentation/animation/tween-parameters/from
- 料金判定: 無料(Anime.js MIT・OSS)
13. Composition(replace / none / blend)
Section titled “13. Composition(replace / none / blend)”- 一言: 同一ターゲット・同一プロパティの同時再生時の合成。
'blend'で加法的に重ねられる。 - URL: https://animejs.com/documentation/animation/tween-parameters/composition
- 料金判定: 無料(Anime.js MIT・OSS)
14. Modifier(値加工)
Section titled “14. Modifier(値加工)”- 一言: トゥイーン出力を関数で加工(丸め・クランプ・独自写像)。
- URL: https://animejs.com/documentation/animation/tween-parameters/modifier
- 料金判定: 無料(Anime.js MIT・OSS)
15. Function-based values
Section titled “15. Function-based values”- 一言: マルチターゲット時に関数で要素ごとに異なる値を返す。
- URL: https://animejs.com/documentation/animation/tween-value-types/function-based
- 料金判定: 無料(Anime.js MIT・OSS)
16. Relative values
Section titled “16. Relative values”- 一言: 現在値からの相対指定(
+=系)で押し込み・積み上げアニメ。 - URL: https://animejs.com/documentation/animation/tween-value-types/relative-value
- 料金判定: 無料(Anime.js MIT・OSS)
17. Color values / color function
Section titled “17. Color values / color function”- 一言: 色をトゥイーン。WAAPI 側の color function 値も公式が分離ドキュメント化。
- URL: https://animejs.com/documentation/animation/tween-value-types/color-value
- 料金判定: 無料(Anime.js MIT・OSS)
18. Unit conversion values
Section titled “18. Unit conversion values”- 一言: 単位変換を意識した値指定(公式が独立ページで扱う)。
- URL: https://animejs.com/documentation/animation/tween-value-types/unit-conversion-value
- 料金判定: 無料(Anime.js MIT・OSS)
19. Keyframes: Tween values
Section titled “19. Keyframes: Tween values”- 一言: 値配列キーフレームで多段変化。
- URL: https://animejs.com/documentation/animation/keyframes/tween-values-keyframes
- 料金判定: 無料(Anime.js MIT・OSS)
20. Keyframes: Tween parameters
Section titled “20. Keyframes: Tween parameters”- 一言: キーフレームごとに duration/ease 等パラメータを変えられる。
- URL: https://animejs.com/documentation/animation/keyframes/tween-parameters-keyframes
- 料金判定: 無料(Anime.js MIT・OSS)
21. Duration-based keyframes
Section titled “21. Duration-based keyframes”- 一言: 時間ベースでキーフレーム区間を定義。
- URL: https://animejs.com/documentation/animation/keyframes/duration-based-keyframes
- 料金判定: 無料(Anime.js MIT・OSS)
22. Percentage-based keyframes
Section titled “22. Percentage-based keyframes”- 一言:
%位置のキーフレーム。先頭キーフレームが from 値になる旨が公式記載。 - URL: https://animejs.com/documentation/animation/keyframes/percentage-based-keyframes
- 料金判定: 無料(Anime.js MIT・OSS)
23. Playback: loop
Section titled “23. Playback: loop”- 一言: 繰り返し回数/無限ループを定義。
- URL: https://animejs.com/documentation/animation/animation-playback-settings/loop
- 料金判定: 無料(Anime.js MIT・OSS)
24. Playback: alternate
Section titled “24. Playback: alternate”- 一言: ループ時に方向を交互反転。往復の呼吸感。
- URL: https://animejs.com/documentation/animation/animation-playback-settings/alternate
- 料金判定: 無料(Anime.js MIT・OSS)
25. Playback: autoplay / delay
Section titled “25. Playback: autoplay / delay”- 一言: 自動再生の有無と開始遅延。
autoplay: onScroll(...)とも公式が接続。 - URL: https://animejs.com/documentation/animation/animation-playback-settings/autoplay
- 料金判定: 無料(Anime.js MIT・OSS)
26. Playback: frameRate
Section titled “26. Playback: frameRate”- 一言: アニメのフレームレート設定。モニタ/ブラウザ上限にキャップされる旨が公式記載。
- URL: https://animejs.com/documentation/animation/animation-playback-settings/framerate
- 料金判定: 無料(Anime.js MIT・OSS)
27. Playback: playbackRate / playbackEase
Section titled “27. Playback: playbackRate / playbackEase”- 一言: 再生速度と再生イージングでタイムライン全体の「乗り」を変える。
- URL: https://animejs.com/documentation/animation/animation-playback-settings/playbackrate
- 料金判定: 無料(Anime.js MIT・OSS)
28. Playback: reversed / persist
Section titled “28. Playback: reversed / persist”- 一言: 逆再生と WAAPI persist(終了状態保持)。
- URL: https://animejs.com/documentation/animation/animation-playback-settings/persist
- 料金判定: 無料(Anime.js MIT・OSS)
29. Callbacks: onBegin / onComplete / onLoop
Section titled “29. Callbacks: onBegin / onComplete / onLoop”- 一言: 開始・完了・ループ毎のフック。メーター更新や効果音トリガに使える。
- URL: https://animejs.com/documentation/animation/animation-callbacks/oncomplete
- 料金判定: 無料(Anime.js MIT・OSS)
30. Callbacks: onUpdate / onRender / onBeforeUpdate
Section titled “30. Callbacks: onUpdate / onRender / onBeforeUpdate”- 一言: フレーム単位の更新・描画前フック。数値表示の同期に。
- URL: https://animejs.com/documentation/animation/animation-callbacks/onupdate
- 料金判定: 無料(Anime.js MIT・OSS)
31. Animation methods(play / pause / seek / stretch 等)
Section titled “31. Animation methods(play / pause / seek / stretch 等)”- 一言: 実行時に再生制御・シーク・時間伸縮。インタラクション必須の操作面。
- URL: https://animejs.com/documentation/animation/animation-methods
- 料金判定: 無料(Anime.js MIT・OSS)
32. Timeline(createTimeline)
Section titled “32. Timeline(createTimeline)”- 一言: シーケンス同期の中核。アニメ・タイマー・コールバック・ラベルを時系列で束ねる。
- URL: https://animejs.com/documentation/timeline
- 料金判定: 無料(Anime.js MIT・OSS)
33. Timeline time-position
Section titled “33. Timeline time-position”- 一言:
add等の位置引数で子の挿入時刻を精密指定(相対・ラベル等)。 - URL: https://animejs.com/documentation/timeline/time-position
- 料金判定: 無料(Anime.js MIT・OSS)
34. Timeline sync WAAPI animations
Section titled “34. Timeline sync WAAPI animations”- 一言: Timeline に WAAPI アニメを同期させる公式経路。
- URL: https://animejs.com/documentation/timeline/sync-waapi-animations
- 料金判定: 無料(Anime.js MIT・OSS)
35. Timeline sync timelines / call functions
Section titled “35. Timeline sync timelines / call functions”- 一言: タイムライン同士の同期と任意関数呼び出しで演出とロジックを接続。
- URL: https://animejs.com/documentation/timeline/call-functions
- 料金判定: 無料(Anime.js MIT・OSS)
36. Timer(createTimer)
Section titled “36. Timer(createTimer)”- 一言: ターゲット無しの時間ベースタイマー。コールバック駆動のループや待機に。
- URL: https://animejs.com/documentation/timer
- 料金判定: 無料(Anime.js MIT・OSS)
37. Stagger: time staggering
Section titled “37. Stagger: time staggering”- 一言: 要素間に時間オフセットを付けて波状に動かす。
- URL: https://animejs.com/documentation/utilities/stagger/time-staggering
- 料金判定: 無料(Anime.js MIT・OSS)
38. Stagger: values staggering
Section titled “38. Stagger: values staggering”- 一言: 時間だけでなく到達値自体をスタッガー。
- URL: https://animejs.com/documentation/utilities/stagger/values-staggering
- 料金判定: 無料(Anime.js MIT・OSS)
39. Stagger: timeline-positions staggering
Section titled “39. Stagger: timeline-positions staggering”- 一言: タイムライン
add位置に stagger 関数を渡し、多ターゲット配置をずらす。 - URL: https://animejs.com/documentation/utilities/stagger/timeline-positions-staggering
- 料金判定: 無料(Anime.js MIT・OSS)
40. Stagger grid + axis
Section titled “40. Stagger grid + axis”- 一言: グリッド形状と軸を指定した空間的スタッガー(公式デモの定番)。
- URL: https://animejs.com/documentation/utilities/stagger/stagger-parameters/stagger-grid
- 料金判定: 無料(Anime.js MIT・OSS)
41. Stagger jitter(NEW)
Section titled “41. Stagger jitter(NEW)”- 一言: スタッガーにジッターを加えて有機的なばらつき(v4 ドキュメントで NEW)。
- URL: https://animejs.com/documentation/utilities/stagger/stagger-parameters/stagger-jitter
- 料金判定: 無料(Anime.js MIT・OSS)
42. SVG createDrawable(ライン描画)
Section titled “42. SVG createDrawable(ライン描画)”- 一言: SVG に
drawプロパティを足す Proxy。線の可視範囲をトゥイーン。 - URL: https://animejs.com/documentation/svg/createdrawable
- 料金判定: 無料(Anime.js MIT・OSS)
43. SVG morphTo
Section titled “43. SVG morphTo”- 一言: path/polygon の形状モーフ。精度パラメータでポイント数を調整可能。
- URL: https://animejs.com/documentation/svg/morphto
- 料金判定: 無料(Anime.js MIT・OSS)
44. SVG createMotionPath
Section titled “44. SVG createMotionPath”- 一言: SVG パス座標・傾きに沿う Tween パラメータオブジェクトを生成。
- URL: https://animejs.com/documentation/svg/createmotionpath
- 料金判定: 無料(Anime.js MIT・OSS)
45. Text splitText
Section titled “45. Text splitText”- 一言: 行・単語・文字に分割してスタッガー可能に。accessible 設定あり。
- URL: https://animejs.com/documentation/text/splittext
- 料金判定: 無料(Anime.js MIT・OSS)
46. Text scrambleText(NEW)
Section titled “46. Text scrambleText(NEW)”- 一言:
innerHTML向けスクランブル/解読演出。reveal/settle 等パラメータが豊富。 - URL: https://animejs.com/documentation/text/scrambletext
- 料金判定: 無料(Anime.js MIT・OSS)
47. Easings: built-in eases
Section titled “47. Easings: built-in eases”- 一言:
outQuad/outExpo/outElastic(...)等の組み込みイージング。 - URL: https://animejs.com/documentation/easings/built-in-eases
- 料金判定: 無料(Anime.js MIT・OSS)
48. Easings: spring()
Section titled “48. Easings: spring()”- 一言: 物理ベースのスプリング。duration は settling で上書きされる/明示 duration も可。
- URL: https://animejs.com/documentation/easings/spring
- 料金判定: 無料(Anime.js MIT・OSS)
49. Easings: cubicBezier / steps / irregular / linear
Section titled “49. Easings: cubicBezier / steps / irregular / linear”- 一言: カスタム曲線・階段・不規則・線形。steps は離散ジャンプ、irregular は乱点線形補間。
- URL: https://animejs.com/documentation/easings/cubic-bezier-easing
- 料金判定: 無料(Anime.js MIT・OSS)
50. onScroll(Scroll Observer)
Section titled “50. onScroll(Scroll Observer)”- 一言: スクロールでトリガ/同期。
autoplay: onScroll(...)が公式パターン。 - URL: https://animejs.com/documentation/events/onscroll
- 料金判定: 無料(Anime.js MIT・OSS)
51. onScroll sync modes(eased / smooth / playback-progress)
Section titled “51. onScroll sync modes(eased / smooth / playback-progress)”- 一言:
syncで eased・smooth・playback-progress 等の同期モードを選択。 - URL: https://animejs.com/documentation/events/onscroll/scrollobserver-synchronisation-modes
- 料金判定: 無料(Anime.js MIT・OSS)
52. onScroll thresholds
Section titled “52. onScroll thresholds”- 一言: 数値・ショートハンド・相対位置・min/max で発火閾値を精密指定。
- URL: https://animejs.com/documentation/events/onscroll/scrollobserver-thresholds
- 料金判定: 無料(Anime.js MIT・OSS)
53. Draggable(createDraggable)+ snap
Section titled “53. Draggable(createDraggable)+ snap”- 一言: ドラッグ・スナップ・フリック。軸パラメータに
snap/modifier/mapTo。 - URL: https://animejs.com/documentation/draggable
- 料金判定: 無料(Anime.js MIT・OSS)
54. Draggable release spring(mass / stiffness / damping)+ animateInView
Section titled “54. Draggable release spring(mass / stiffness / damping)+ animateInView”- 一言: リリース時の質量・剛性・減衰と
animateInView()で視野内へ戻す。 - URL: https://animejs.com/documentation/draggable/draggable-settings/releasestiffness
- 料金判定: 無料(Anime.js MIT・OSS)
55. Layout(createLayout / FLIP的 record→animate)
Section titled “55. Layout(createLayout / FLIP的 record→animate)”- 一言:
record()→DOM変更→animate()またはupdate(cb)。enter/leave/swap・staggered layout あり。 - URL: https://animejs.com/documentation/layout
- 料金判定: 無料(Anime.js MIT・OSS)
56. Scope+mediaQueries
Section titled “56. Scope+mediaQueries”- 一言:
createScopeで root/defaults/mediaQueries。向き・画面幅でタイムライン分岐。 - URL: https://animejs.com/documentation/scope/scope-parameters/mediaqueries
- 料金判定: 無料(Anime.js MIT・OSS)
57. Animatable(createAnimatable)
Section titled “57. Animatable(createAnimatable)”- 一言: プロパティ getter/setter を持つ持続的アニメタブル。インタラクション追従に。
- URL: https://animejs.com/documentation/animatable
- 料金判定: 無料(Anime.js MIT・OSS)
58. WAAPI module(waapi.animate)
Section titled “58. WAAPI module(waapi.animate)”- 一言: Web Animations API 駆動版。HW加速向きだが機能は JS animate より少ない(公式記載)。
- URL: https://animejs.com/documentation/web-animation-api
- 料金判定: 無料(Anime.js MIT・OSS)
59. Utilities: lerp / damp / snap / sync / keepTime
Section titled “59. Utilities: lerp / damp / snap / sync / keepTime”- 一言: 補間・フレームレート非依存ダンピング・スナップ・同期・タイムキーパー。手動ループの芯。
- URL: https://animejs.com/documentation/utilities/damp
- 料金判定: 無料(Anime.js MIT・OSS)
60. Engine: fps / speed / pauseOnDocumentHidden
Section titled “60. Engine: fps / speed / pauseOnDocumentHidden”- 一言: エンジン全体の fps・速度・タブ非表示時ポーズ。優先度
priorityで実行順も制御可。 - URL: https://animejs.com/documentation/engine/engine-parameters/fps
- 料金判定: 無料(Anime.js MIT・OSS)
61. Three.js adapter(参考・重量)
Section titled “61. Three.js adapter(参考・重量)”- 一言: Three.js オブジェクト/transform/material・instanced を Anime で駆動する公式アダプタ。
- URL: https://animejs.com/documentation/adapters/threejs-adapter
- 料金判定: 無料(Anime.js MIT・OSS)
全項目とも Anime.js 公式ドキュメント(https://animejs.com/documentation/)の個別ページに基づく。各項目の URL 行が参照先。バージョン表記(v4.0.0)は公式トップページによる。
収録範囲の注記
Section titled “収録範囲の注記”- 一部ユーティリティ細目(
random/clamp/mapRange等)は公式に実在するが、lerp/damp/snap/sync/keepTime に代表集約。 - Three.js adapter 配下の子ページは利用頻度を考慮し 1件 に集約。
- Layout の enter/leave/swap・staggered は Layout 本体に集約(使い方が同一系統のため)。
- https://github.com/juliangarnier/anime/blob/HEAD/LICENSE.md → MIT License(Copyright 2025 Julian Garnier)
- https://github.com/juliangarnier/anime → License: MIT;README「Anime.js is 100% free」
- https://www.npmjs.com/package/animejs → MIT License・「100% free」
- https://animejs.com/ → 有料プラン必須の記述なし(npm i animejs で導入)