Add HyperFrames skills
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011h6NB8JQtfPc6eRCefEzBB
This commit is contained in:
964 files changed
+142321
No files matched your search
@@ -0,0 +1,25 @@
|
||||
## Other
|
||||
|
||||
### Gravity Drop
|
||||
|
||||
Old scene falls down with slight rotation. New scene was behind it. Needs z-index.
|
||||
|
||||
```js
|
||||
tl.set(new, { opacity: 1, zIndex: 1 }, T);
|
||||
tl.set(old, { zIndex: 10 }, T);
|
||||
tl.to(old, { y: 1200, rotation: 4, duration: 0.5, ease: "power3.in" }, T);
|
||||
tl.set(old, { opacity: 0, zIndex: "auto" }, T + 0.5);
|
||||
tl.set(new, { zIndex: "auto" }, T + 0.5);
|
||||
```
|
||||
|
||||
### Morph Circle
|
||||
|
||||
A circle scales up from center to fill frame (becoming the new scene's background color). New scene content fades in on top.
|
||||
|
||||
```js
|
||||
tl.set("#morph-circle", { background: newBgColor, opacity: 1, scale: 0 }, T);
|
||||
tl.to("#morph-circle", { scale: 30, duration: 0.5, ease: "power3.in" }, T);
|
||||
tl.set(old, { opacity: 0 }, T + 0.4);
|
||||
tl.set(new, { opacity: 1 }, T + 0.4);
|
||||
tl.to("#morph-circle", { opacity: 0, duration: 0.15, ease: "power2.out" }, T + 0.5);
|
||||
```
|
||||
Reference in new issue
Block a user