效能
通過幀率: 平均 59.7 fps,p5 59.5 · 長任務: 0 個,共 0 毫秒,最長 0 毫秒 · 原始碼 gzip 2.8 KB · 執行時 3.8 KB
Flying booksMIT招牌效果Original · clean-room
品質報告
等級和分數來自建置或測試時跑過的自動檢查。沒跑過的項目會標成「未檢測」,不會填假資料。
幀率: 平均 59.7 fps,p5 59.5 · 長任務: 0 個,共 0 毫秒,最長 0 毫秒 · 原始碼 gzip 2.8 KB · 執行時 3.8 KB
問題 1 · 讀屏: 通過
已回應減弱動效
無溢出
幀率和長任務是在無介面的 Chromium 裡用軟體 WebGL 測的,只適合在本站元件之間比較,不代表實機表現。

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<div class="fb"><div class="stage" id="fb-stage"></div><div class="copy"><h2>A shelf, unsettled</h2><p>books in slow flight</p></div></div>
:root{--bg:#0b0b0d;--ink:#f3f1ec}
:root[data-theme=light]{--bg:#e8e4dc;--ink:#17181a}
html,body{height:100%;margin:0;background:var(--bg);overflow:hidden;color:var(--ink)}
.fb{height:100%;perspective:1100px;position:relative}
.fb .stage{position:absolute;inset:0;transform-style:preserve-3d}
.fb .book{position:absolute;left:50%;top:50%;width:86px;height:122px;margin:-61px 0 0 -43px;transform-style:preserve-3d;transform-origin:50% 50%}
.fb .face{position:absolute;inset:0;border-radius:2px 5px 5px 2px;display:grid;align-content:start;padding:12px 10px;box-sizing:border-box;backface-visibility:hidden;box-shadow:0 18px 30px -16px rgba(0,0,0,.55)}
.fb .face b{font:italic 400 15px/1.05 Georgia,serif}
.fb .face s{font:500 8px system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;opacity:.6;margin-top:8px}
.fb .spine{position:absolute;left:0;top:0;bottom:0;width:7px;border-radius:2px 0 0 2px;background:rgba(0,0,0,.28)}
.fb .copy{position:absolute;left:28px;bottom:26px;right:28px;pointer-events:none}
.fb h2{margin:0 0 6px;font:italic 400 clamp(28px,5.2vw,46px)/1 Georgia,serif}
.fb p{margin:0;font:500 11px/1.4 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;opacity:.5}
// fx-runtime.js (sets window.FX: theme, reduced motion, render loop)
/* Incidental AI Design Academy fx runtime (MIT). Theme from #dark/#light, reduced motion, visibility pause.
Small 2D canvases (≤640×640 device px, by backing size or on-screen box, when the context is created) are CPU-backed via willReadFrequently: sprite-heavy
components redraw many small canvases per frame, and GPU-backed readback/compositing of tiny canvases is the slow path. */
(function(){[window.HTMLCanvasElement,window.OffscreenCanvas].forEach(function(C){if(!C)return;var g=C.prototype.getContext;C.prototype.getContext=function(t,o){var a=this.width*this.height;if(this.isConnected&&this.getBoundingClientRect){var r=this.getBoundingClientRect(),p=window.devicePixelRatio||1;a=Math.max(a,r.width*r.height*p*p)}if(t==='2d'&&a<=409600){var x={};if(o)for(var k in o)x[k]=o[k];if(x.willReadFrequently===undefined)x.willReadFrequently=true;return g.call(this,t,x)}return g.apply(this,arguments)}})})();
(function(){var d=document.documentElement,q=function(){var h=location.hash.slice(1);if(h==='dark'||h==='light')d.dataset.theme=h;else if(!d.dataset.theme)d.dataset.theme=d.getAttribute('data-default')||'dark'};q();addEventListener('hashchange',function(){q();dispatchEvent(new Event('fx-theme'))});
var m=matchMedia('(prefers-reduced-motion: reduce)');window.FX={rm:m.matches,dark:function(){return d.dataset.theme==='dark'},loop:function(f){var on=true,t0=performance.now(),id=0;function step(t){f((t-t0)/1000);if(on&&!FX.rm)id=requestAnimationFrame(step)}if(FX.rm){f(2.2);addEventListener('fx-theme',function(){f(2.2)});return}id=requestAnimationFrame(step);document.addEventListener('visibilitychange',function(){if(document.hidden){on=false;cancelAnimationFrame(id)}else if(!on){on=true;id=requestAnimationFrame(step)}})}};
m.addEventListener&&m.addEventListener('change',function(){location.reload()})})();
// effect
(function(){
var titles=['North','Relay','Tidal','Orbit','Ember','Hush','Flare','Field','Grain','Studio'];
var cols=[['#17181a','#f3f1ec'],['#8e1450','#f8ecec'],['#16332c','#e7f1ea'],['#1c1a3a','#ece8ff'],['#2a1e10','#f7ecd2'],['#111114','#eceae4'],['#5a1630','#fbe8ee'],['#142432','#dde6f0'],['#26241e','#f1eee0'],['#161616','#f4f2ee']];
var stage=document.getElementById('fb-stage'),books=[];
for(var i=0;i<10;i++){var el=document.createElement('div');el.className='book';var face=document.createElement('div');face.className='face';face.style.background=cols[i][0];face.style.color=cols[i][1];face.innerHTML='<b>'+titles[i]+'</b><s>vol. 0'+(i+1)+'</s><i class="spine"></i>';el.appendChild(face);stage.appendChild(el);books.push({el:el,seed:i*1.618,s:.7+(i%3)*.18})}
FX.loop(function(t){
var W=innerWidth,H=innerHeight;
for(var i=0;i<books.length;i++){var b=books[i],u=(t*.045+b.seed)%1,z=(u-.5)*900,x=Math.sin(b.seed*2.1+t*.31)*Math.min(W,.9*W)*.38,y=Math.cos(b.seed*1.7+t*.23)*H*.22+(u-.5)*40,ry=Math.sin(t*.4+b.seed)*26,rx=Math.cos(t*.33+b.seed*1.3)*18,rz=Math.sin(t*.21+b.seed)*10;
if(FX.rm){u=(.2+b.seed*.07)%1;z=(u-.5)*700;x=Math.sin(b.seed*2.1)*Math.min(W,.9*W)*.32;y=Math.cos(b.seed*1.7)*H*.18;ry=b.seed*12;rx=8;rz=-4}
var sc=b.s*(.85+(z+450)/1400);b.el.style.transform='translate3d('+x.toFixed(1)+'px,'+y.toFixed(1)+'px,'+z.toFixed(1)+'px) rotateY('+ry.toFixed(1)+'deg) rotateX('+rx.toFixed(1)+'deg) rotateZ('+rz.toFixed(1)+'deg) scale('+sc.toFixed(3)+')';b.el.style.zIndex=String(1000+(z|0));b.el.style.opacity=String(Math.max(.35,Math.min(1,.45+(z+500)/1100)))}
});
})();控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
封面在緩慢的透視裡漂過,每一本都是排印物件,空間像編輯過的畫冊,而不是一團亂。
出版社落地頁、書庫,或以故事為主的作品集。
改書的數量、飛行速度、傾角範圍和封面顏色。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「飛行的書」元件。封面在緩慢的透視裡漂過,每一本都是排印物件,空間像編輯過的畫冊,而不是一團亂。 適用場景:出版社落地頁、書庫,或以故事為主的作品集。 開放這些可調項:改書的數量、飛行速度、傾角範圍和封面顏色。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。