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,37 @@
|
||||
## Radial / Shape
|
||||
|
||||
### Circle Iris
|
||||
|
||||
Expanding circle from center reveals new scene.
|
||||
|
||||
```js
|
||||
tl.set(new, { opacity: 1 }, T);
|
||||
tl.fromTo(new,
|
||||
{ clipPath: "circle(0% at 50% 50%)" },
|
||||
{ clipPath: "circle(75% at 50% 50%)", duration: 0.5, ease: "power2.out" }, T);
|
||||
tl.set(old, { opacity: 0 }, T + 0.5);
|
||||
```
|
||||
|
||||
### Diamond Iris
|
||||
|
||||
Expanding diamond shape from center.
|
||||
|
||||
```js
|
||||
tl.set(new, { opacity: 1 }, T);
|
||||
tl.fromTo(new,
|
||||
{ clipPath: "polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%)" },
|
||||
{ clipPath: "polygon(50% -20%, 120% 50%, 50% 120%, -20% 50%)", duration: 0.5, ease: "power2.out" }, T);
|
||||
tl.set(old, { opacity: 0 }, T + 0.5);
|
||||
```
|
||||
|
||||
### Diagonal Split
|
||||
|
||||
Old scene shrinks to a triangle in one corner.
|
||||
|
||||
```js
|
||||
tl.set(new, { opacity: 1, zIndex: 1 }, T);
|
||||
tl.set(old, { zIndex: 10, clipPath: "polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)" }, T);
|
||||
tl.to(old, { clipPath: "polygon(60% 0%, 100% 0%, 100% 40%, 60% 0%)", duration: 0.5, ease: "power3.inOut" }, T);
|
||||
tl.set(old, { opacity: 0, zIndex: "auto", clipPath: "none" }, T + 0.5);
|
||||
tl.set(new, { zIndex: "auto" }, T + 0.5);
|
||||
```
|
||||
Reference in new issue
Block a user