本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)7.2k · #13479

unicorn-studio

できること

このスキルは、Unicorn Studioエディターで作ったアニメーションの場面を、Webページに追加するようAIを支援します。シェーダーのコードを書かずに、豊かな動きが欲しいデザイナーやサイト制作者向けです。

使う場面

  • ✓Unicorn Studioでアニメーションを作り、Framer、Webflow、その他のサイトに載せたいとき。
  • ✓コンテナにサイズがないためにUnicorn Studioの場面が表示されないとき。
  • ✓アニメーションの背景の上に、文字やボタンを配置したいとき。

スキルのリンク

https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/unicorn-studio/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/unicorn-studio/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私が作ったUnicorn Studioのアニメーションをホームページに追加し、スマートフォンでも収まるようにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、Unicorn Studioのスクリプトを読み込み、プロジェクトIDでページの領域を指定する方法を示します。速度、品質、遅延読み込みの設定も説明します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Unicorn Studio — No-code WebGL Scenes (Embed/SDK) Skill

When to use

  • Designers want custom WebGL visuals without hand-coding shaders/three.js
  • You need “designed” effects layered with text/images/video, with built-in interactivity
  • Site builders: Framer, Webflow, Wix, Figma Sites, etc.

What it is

  • A scene editor (layers + effects + events) that exports:
    • Embed via Unicorn Studio SDK (small JS library)
    • Or JSON/code export for faster/self-hosted loading (plan-dependent)

Key embed patterns

  • Load SDK (can be in <head> or footer depending on above-the-fold):
    • UMD from jsDelivr (versioned)
    • Call UnicornStudio.init() once DOM is ready
  • Add attributes to a container element:
    • data-us-project="PROJECT_ID"
    • Optional performance/behavior params:
      • data-us-scale (render scale)
      • data-us-dpi (resolution multiplier)
      • data-us-fps (cap FPS)
      • data-us-lazyload="true"
      • data-us-production="true"
    • Optional JSON source:
      • data-us-project-src="https://.../scene.json.txt"

Events (authoring-side)

  • Appear (entrance), Scroll (progress/velocity), Hover, Mousemove
  • Use events for “feels interactive” without writing JS.

Common pitfalls

  • Container has no defined dimensions → scene won’t display
    • Ensure the element with data-us-project has width/height.
  • Too many scenes on one page → WebGL context limits + memory
    • Prefer <10 scenes/page; WebGL context max ~16.
  • Performance on low-end devices
    • Use data-us-scale/data-us-dpi/data-us-fps; reduce dynamic layers/effects.
  • Site builder preview limitations
    • Many builders won’t render in edit mode; must preview/publish to see it.

Quick recipes

1) Basic embed container

<div style="width: 100%; height: 420px" data-us-project="YOUR_PROJECT_ID"></div>

2) Performance-first embed

<div
  style="width: 100%; height: 420px"
  data-us-project="YOUR_PROJECT_ID"
  data-us-lazyload="true"
  data-us-production="true"
  data-us-scale="0.75"
  data-us-dpi="1.25"
  data-us-fps="45"
></div>

What to ask the user

  • Target platform: Webflow / Framer / coded site?
  • Is the scene above-the-fold? (affects script placement and lazyload)
  • Mobile support requirement + acceptable quality/FPS
  • Number of scenes on the page and whether JSON export is available
よくある質問

このスキルを使うにはコードを書く必要がありますか?

少しだけです。アニメーション自体は視覚的に作られ、スキルは短い埋め込みコードを扱います。

アニメーションが空白に見えるのはなぜですか?

多くの場合、それを入れている箱に幅や高さがないからです。スキルはそれに大きさを与える方法を説明しています。

一つのページに多くのアニメーションを置けますか?

場面が多すぎるとページが遅くなることがあるので、数を少なく保つことを勧めています。

詳細

作者による元の説明

Use when embedding and customizing Unicorn Studio interactive animations on the web (embed, responsive sizing, performance, layering with UI, fallbacks).

repo: MengTo/Skills

人気

GitHubのスター
7.2k
ランキング
#13479
ライセンス
MIT
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル