feat(login): orbit names up to 80% of King size
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
var x = x0 * Math.cos(o.tilt) - y0 * Math.sin(o.tilt);
|
||||
var y = x0 * Math.sin(o.tilt) + y0 * Math.cos(o.tilt);
|
||||
var depth = (Math.sin(a) + 1) / 2; // 0 = 뒤(위), 1 = 앞(아래)
|
||||
o.el.style.transform = "translate(" + (cx + x).toFixed(1) + "px," + (cy + y).toFixed(1) + "px) translate(-50%,-50%) scale(" + (0.78 + depth * 0.3).toFixed(3) + ")";
|
||||
o.el.style.transform = "translate(" + (cx + x).toFixed(1) + "px," + (cy + y).toFixed(1) + "px) translate(-50%,-50%) scale(" + (0.75 + depth * 0.25).toFixed(3) + ")";
|
||||
o.el.style.opacity = (0.4 + depth * 0.5).toFixed(2);
|
||||
o.el.style.zIndex = depth > 0.5 ? 3 : 1;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user