Use when embedding and customizing Unicorn Studio interactive animations on the web (embed, responsive sizing, performance, layering with UI, fallbacks).
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-unicorn-studio-31e8f0a38c0e ,按照其中的说明把「unicorn-studio」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
<head> or footer depending on above-the-fold):
UnicornStudio.init() once DOM is readydata-us-project="PROJECT_ID"data-us-scale (render scale)data-us-dpi (resolution multiplier)data-us-fps (cap FPS)data-us-lazyload="true"data-us-production="true"data-us-project-src="https://.../scene.json.txt"data-us-project has width/height.data-us-scale/data-us-dpi/data-us-fps; reduce dynamic layers/effects.<div style="width: 100%; height: 420px" data-us-project="YOUR_PROJECT_ID"></div>
<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>