Библиотека дизайна / Сайты целиком

Сайты целикомТёмныйМинимализмТипографикаБесплатно

AETHER — библиотека кинетических интерактивов

Чёрный сайт из семи экранов с интерактивами: наклон текста по скроллу, жидкая картинка, пиксельная волна, воксели, линза.

AETHER — библиотека кинетических интерактивов
Промпт
Recreate the website "AETHER Kinetic Interaction Library" with high visual fidelity as a Tailwind CSS and Vanilla JavaScript site.

The result must match the supplied reference website, not a cleaned-up reinterpretation.

Preserve source quirks:
- The lens section uses a dual-layer technique where text and images are duplicated to create the focus effect.
- The cursor is globally set to `crosshair` via body styles.
- Code modals contain hardcoded standalone HTML strings for specific components (Lens and Voxel).
- The background color is a specific `#050505` and `#000` mix throughout sections.

CRITICAL FIDELITY CONSTRAINTS
- Must use the specific `mask-image` and `-webkit-mask-image` radial-gradient pattern for Section 7 (Lens).
- Section 3 (Liquid) MUST use the exact SVG filter ID `liquid-filter` with `feTurbulence` and `feDisplacementMap` for the distortion effect.
- Maintain the `mb-[50vh]` on the main content wrapper to allow the fixed footer to reveal on scroll.
- Do not substitute Lucide icons; use the `lucide-cdn` and `data-lucide` attributes.

TECH STACK / DEPENDENCIES
- Tailwind CSS (CDN: https://cdn.tailwindcss.com)
- Lucide Icons (CDN: https://unpkg.com/lucide@latest)
- Font: 'Space Grotesk' (Google Fonts or equivalent sans-serif fallback)

GLOBAL STYLE
- Body: `background-color: #050505; color: #ffffff; cursor: crosshair; overflow-x: hidden;`
- Utility: `.section-label` (Absolute, 2rem top/left, monospace, 10px, 1px solid #222, blur background).
- Navigation: Fixed top, `z-50`, `backdrop-blur-md`, `border-b border-white/5`.

ASSET MAP
- Fracture Image: https://images.unsplash.com/photo-1550684848-fac1c5b4e853?q=80&w=2600
- Liquid Image: https://images.unsplash.com/photo-1574169208507-84376144848b?q=80&w=1200&auto=format&fit=crop
- Lens/Focus Image: https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2672

VECTOR / ICON SHAPES
- SVG Filter: ID `liquid-filter`, `feTurbulence` (baseFrequency 0.0, numOctaves 2), `feDisplacementMap` (scale 60).
- Lucide Icons: `scan-line`, `layers`, `zap`.

MEDIA BEHAVIOR
- Liquid Section: `onmouseenter` targets baseFrequency 0.03, `onmouseleave` resets to 0.00. Use `requestAnimationFrame` for smooth interpolation.
- Velocity Section: Skew formula `(targetScroll - currentScroll) * 0.15`, clamped between -10 and 10 degrees.

LAYER STACK / POSITIONING MAP
- Nav: `fixed`, `z-index: 50`.
- Main Content: `relative`, `z-index: 10`, `margin-bottom: 50vh` (for footer reveal).
- Sections: `relative`, `height: 100vh` (mostly), `overflow: hidden`.
- Section Labels: `absolute`, `top: 2rem`, `left: 2rem`, `z-index: 20`.
- Lens Section Layers:
  - Layer 1 (Blur): `inset: 0`, grayscale/blur/brightness filter.
  - Layer 2 (Focus): `inset: 0`, radial-gradient mask centered on `--lens-x`/`--lens-y`.
- Footer: `fixed`, `bottom: 0`, `z-index: 0`.

SECTION 1 - VELOCITY
- Copy: "KINETIC ENGINE", "[ SCROLL TO DEFORM ]".
- Logic: Apply alternating skew to the two `h1` elements based on scroll velocity. Text uses a vertical gradient from white to neutral-900.

SECTION 2 - FRACTURE
- Layout: Flex container with 5 slices (`.f-slice`).
- Logic: Each slice has a `data-dir` attribute. On mousemove, translate slices vertically by `yVal * 40 * data-dir`.
- Styling: Slices start grayscale(100%), transition to color on container hover.

SECTION 3 - LIQUID
- Layout: Flex row (md) or column. Text on left, image container on right.
- Copy: "LIQUID REALITY", "FLUX".
- Logic: SVG turbulence animation on the image using the `#liquid-filter`.

SECTION 4 - SPOTLIGHT
- Layout: 3-column grid of `.spotlight-card`.
- Styling: Cards have a 20px grid texture background. Border hover effect created using `-webkit-mask-composite: xor` and radial gradients tracking `--mouse-x` and `--mouse-y`.

SECTION 5 - PIXEL WAVE
- Layout: 20-column grid of 200 small divs (`.pixel`).
- Logic: On mousemove, calculate distance from cursor. If `dist < 100`, add `.active` class (white background, scale 0.5) and remove after 400ms.

SECTION 6 - VOXEL ELEVATION
- Layout: 10x10 grid in a stage with `rotateX(60deg) rotateZ(45deg)` and `preserve-3d`.
- Logic: Hovering near voxels adds `.lift` class (`translateZ(60px)`), removed after 300ms.

SECTION 7 - FOCUS LENS
- Layout: Dual text layers (dim-text and bright-text) precisely aligned.
- Copy: "SYS_ID AE-9000", "STATUS ONLINE/OFFLINE", "DATA", "PACKET_01".
- Visual: A spinning HUD ring (`.lens-hud`) follows the cursor along with the mask.

GLOBAL ANIMATION / INTERACTION RULES
- Use `requestAnimationFrame` for Velocity and Liquid loops.
- Implement `showCode(type)` function to populate and display the `.code-modal` with standalone component code snippets.
- Smooth scroll behavior implied by the custom velocity logic.

COMMON MISTAKES TO AVOID
- Do not use CSS transitions for the Velocity skew; it must be frame-calculated for "kinetic" feel.
- Ensure the Lens UI text layers are perfectly overlapping so the reveal is seamless.
- Do not forget the `object-fit: cover` and `transform: scale(1.1)` on the liquid image to prevent edges showing during distortion.

Промпт на английском — ИИ-инструменты понимают его лучше

Чёрный сайт-витрина из семи полноэкранных интерактивных эффектов. На первом экране гигантские слова KINETIC и ENGINE наклоняются в разные стороны по скорости прокрутки. Дальше: картинка из пяти полос, которые сдвигаются по курсору, жидкое искажение через SVG-фильтр, карточки с подсветкой границы, пиксельная волна из 200 точек, изометрические воксели и «линза», которая проявляет резкий слой под курсором. Футер раскрывается из-под страницы. Подойдёт как портфолио интерактивных приёмов или как набор заготовок для своего проекта.

Как получить такой же результат

  • Запускайте промпт в Claude: стек (Tailwind CDN и ванильный JS) подходит под один HTML-файл. Иконки Lucide подключайте так, как в промпте: скрипт с unpkg и вызов lucide.createIcons() после загрузки страницы.
  • Три картинки даны ссылками Unsplash, их хватает на весь сайт. Если заменяете, берите тёмные кадры: светлые потеряют эффект линзы.
  • Наклон текста должен считаться в цикле requestAnimationFrame по разнице между целевой и текущей позицией скролла. Если Claude сделает через CSS-переход, эффект «кинетики» пропадёт.
  • Для жидкого эффекта SVG-фильтр liquid-filter должен быть в разметке, а baseFrequency плавно подтягивайте к 0.03 при наведении, иначе картинка дёргается.
  • В промпте упомянуты окна с кодом (showCode), но сами фрагменты не заданы: добавьте свои или уберите кнопки.

Похожие