コンテンツにスキップ

Anime.js技法

日付: 2026-09-11

ライブラリ: Anime.js v4.0.0(公式トップ表示確認済み)

公式: https://animejs.com/

Anime.js v4の公式ドキュメントに基づく技法カタログ61件。トゥイーンのコアAPIからタイムライン、スタッガー、SVG・テキスト演出、スクロール連動、ドラッグ、レイアウトアニメまでを網羅し、各項目に公式個別ページのURLと料金判定を付した。Anime.jsはMITライセンスで全機能無料。

1. Installation(CDN / npm / モジュール選定)

Section titled “1. Installation(CDN / npm / モジュール選定)”

2. Module imports(必要な部分だけ import)

Section titled “2. Module imports(必要な部分だけ import)”

5. Targets: DOM Elements / Array of targets

Section titled “5. Targets: DOM Elements / Array of targets”

13. Composition(replace / none / blend)

Section titled “13. Composition(replace / none / blend)”

29. Callbacks: onBegin / onComplete / onLoop

Section titled “29. Callbacks: onBegin / onComplete / onLoop”

30. Callbacks: onUpdate / onRender / onBeforeUpdate

Section titled “30. Callbacks: onUpdate / onRender / onBeforeUpdate”

31. Animation methods(play / pause / seek / stretch 等)

Section titled “31. Animation methods(play / pause / seek / stretch 等)”
  • 一言: シーケンス同期の中核。アニメ・タイマー・コールバック・ラベルを時系列で束ねる。
  • URL: https://animejs.com/documentation/timeline
  • 料金判定: 無料(Anime.js MIT・OSS)

35. Timeline sync timelines / call functions

Section titled “35. Timeline sync timelines / call functions”
  • 一言: ターゲット無しの時間ベースタイマー。コールバック駆動のループや待機に。
  • URL: https://animejs.com/documentation/timer
  • 料金判定: 無料(Anime.js MIT・OSS)

39. Stagger: timeline-positions staggering

Section titled “39. Stagger: timeline-positions staggering”

42. SVG createDrawable(ライン描画)

Section titled “42. SVG createDrawable(ライン描画)”

49. Easings: cubicBezier / steps / irregular / linear

Section titled “49. Easings: cubicBezier / steps / irregular / linear”

51. onScroll sync modes(eased / smooth / playback-progress)

Section titled “51. onScroll sync modes(eased / smooth / playback-progress)”

53. Draggable(createDraggable)+ snap

Section titled “53. Draggable(createDraggable)+ snap”

54. Draggable release spring(mass / stiffness / damping)+ animateInView

Section titled “54. Draggable release spring(mass / stiffness / damping)+ animateInView”

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)

59. Utilities: lerp / damp / snap / sync / keepTime

Section titled “59. Utilities: lerp / damp / snap / sync / keepTime”

60. Engine: fps / speed / pauseOnDocumentHidden

Section titled “60. Engine: fps / speed / pauseOnDocumentHidden”

全項目とも Anime.js 公式ドキュメント(https://animejs.com/documentation/)の個別ページに基づく。各項目の URL 行が参照先。バージョン表記(v4.0.0)は公式トップページによる。

  • 一部ユーティリティ細目(random/clamp/mapRange 等)は公式に実在するが、lerp/damp/snap/sync/keepTime に代表集約。
  • Three.js adapter 配下の子ページは利用頻度を考慮し 1件 に集約。
  • Layout の enter/leave/swap・staggered は Layout 本体に集約(使い方が同一系統のため)。