Some checks failed
ci / Validate workspace (push) Successful in 12m32s
landing-page-ci / Validate landing page (push) Successful in 9m41s
landing-page-deploy / Deploy landing page (push) Failing after 5m23s
refresh-contributors-wall / Refresh contributors wall cache bust (push) Failing after 11s
github-metrics / Generate repository metrics SVG (push) Failing after 2m3s
This repository contains the open-design daemon CLI source code, built and packaged at https://helix-mind.ai/cli/open-design/latest.tgz for use by the HelixMind /design slash command. Licenses: Apache-2.0 (root) + MIT (skills/*)
38 lines
1.1 KiB
Markdown
38 lines
1.1 KiB
Markdown
## 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);
|
|
```
|