immamdouhaboammar/motion-graphics-skills

liquid-glass-25d

Implement physical clear liquid glass shaders and 2.5D layered depth in motion graphics.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/immamdouhaboammar/motion-graphics-skills --skill liquid-glass-25d

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

Liquid Glass and 2.5D Layered Depth

Eliminates the flat look in AI generated motion graphics by applying physical glass refraction shaders and true multi-plane depth compositing.

The Clear Liquid Glass Shader Formula

Standard CSS blur produces a dull, frosted appearance that obscures underlying content. Clear liquid glass uses real optical refraction:

css
.liquid-glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: url(#glass-disp) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

Accompanying SVG displacement filter:

html
<svg class="glass-filters" style="display: none;">
  <defs>
    <filter id="glass-disp" x="-20%" y="-20%" width="140%" height="140%">
      <feTurbulence type="fractalNoise" baseFrequency="0.02" numOctaves="2" result="noise" />
      <feDisplacementMap in="SourceGraphic" in2="noise" scale="12" xChannelSelector="R" yChannelSelector="G" />
    </filter>
  </defs>
</svg>
Cardinal Rule: Never place opacity, filter, or clip-path properties directly on the card parent container, as this flattens the stacking context and disables the backdrop displacement.

Talking Head 3D Depth Setup

When integrating motion graphics with a human speaker in frame:

  1. Clean Subject Separation: Cut out the speaker with a high-contrast matte or alpha mask.
  2. Three Discrete Depth Planes:
  • Far Plane (Background): Positioned behind the speaker, scaled down 20%, blurred by 4px to simulate depth of field.
  • Mid Plane (Speaker Anchor): Positioned alongside the speaker, perfectly sharp at 100% scale.
  • Near Plane (Foreground): Positioned close to the lens, scaled up 15%, blurred by 8px on edges.
  1. Face Protection: Keep all graphics outside the speaker face bounding box and maintain at least 15% distance from the eyes.

Further Reading

同じリポジトリから

関連する Skills

すべての Skills
immamdouhaboammar
コミュニティ

animated-chart

Make a looping animated chart for LinkedIn or a newsletter in code with Claude Code. Bars that become a line, a number that counts up, a before and after. Every value stays exactly as given. Use when someone says "animate my chart", "animated graph", "make my results move", "stat animation" or wants a data graphic that loops.

1時間の導入数
1
GitHub Stars
45
更新日
11月1日
immamdouhaboammar
コミュニティ

apple-launch-film

Rebuild an Apple-style Mac launch film entirely in code with Claude Code. A thin menu bar, the black notch growing into widgets one scene at a time, full-screen gradient wallpapers and one short caption per scene. No screen recording, no After Effects. Use when someone says "Apple-style launch", "Mac launch video", "notch animation", "make it look like an Apple keynote", "macOS UI launch film" or wants a product launch that looks like native Mac interface.

1時間の導入数
1
GitHub Stars
45
更新日
11月1日
immamdouhaboammar
コミュニティ

assetseeker

Search free commercial-use creative assets across multiple online sources - photos, illustrations, icons, video footage, music, sound effects, and fonts. Use when the user needs to find assets for videos, PPTs, articles, or any content creation. Trigger on phrases like "find me a photo of", "search for icons", "I need background music", "find video footage", "search fonts", "找一张图片", "搜素材", "帮我找图标/视频/音乐/字体". Covers Pexels, Unsplash, Pixabay, Iconify, Freesound, Google Fonts and more - with API-ba

1時間の導入数
1
GitHub Stars
45
更新日
11月1日
immamdouhaboammar
コミュニティ

audio-mastering-mixer

Mix and master voiceover, sound effects, and music stems to professional broadcast loudness standards. Use when adding SFX cues, balancing audio stems, mastering to minus 14 LUFS, ducking music under voice, or eliminating harsh whooshes.

1時間の導入数
1
GitHub Stars
45
更新日
11月1日