Skip to content
Proyek

iyinchao/liquid-glass-studio

Lihat di GitHub

Tentang

🔮 UI Apple Liquid Glass terbaik — dibuat ulang untuk Web dengan WebGL2 dan WebGPU

Pengembangan web dan aplikasi

Cara angka ini diukur

880 bintang87 Fork +2 dalam 24 jam

Yang dapat Anda lakukan

  • Fresnel reflection
  • Superellipse shapes
  • Blob effect (shape merging)
  • Glare with customizable angle

Pertumbuhan bintang terukur

dalam 24 jam
+2
dalam 7 hari
+17
dalam 15 hari
+40
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

🔮 Liquid Glass Studio

frontPhoto

English | 简体中文 | O‘zbekcha

The Ultimate Web Recreation of Apple’s Liquid Glass UI, powered by WebGL2 & WebGPU. Includes most Liquid Glass features with fine-grained controls for detailed customization.

Online Demo

https://liquid-glass.yinchao.dev/

For users in mainland China, please visit:
https://liquid-glass.iyinchao.cn/

ScreenShots

Features

✨ Apple Liquid Glass Effects:

  • Refraction
  • Dispersion
  • Fresnel reflection
  • Superellipse shapes
  • Blob effect (shape merging)
  • Glare with customizable angle
  • Gaussian blur masking
  • Anti-aliasing
  • Dark edges (iOS 27) NEW

⚙️ Interactive Controls:

  • Comprehensive real-time parameter adjustments via an intuitive UI

🖼 Background Options:

  • Support for both images and videos as dynamic backgrounds

🎞 Animation Support:

  • Spring-based shape animations with configurable behavior

Technical Highlights

  • WebGL2 / WebGPU dual-backend rendering for high-performance graphics
  • Multipass rendering for high-quality & performant Gaussian blur
  • Using SDF Defined shapes and smooth merge function
  • Custom shader implementations for realistic glass effects
  • Custom Leva UI components for intuitive parameter controls

Getting Started

Prerequisites

  • Node.js (latest LTS version recommended)
  • pnpm package manager

Installation

# Install dependencies
pnpm install

# Start development server
pnpm dev

# Build for production
pnpm build

TODO

  • More Glare Controls (hardness / color / size etc.)
  • Custom Background
  • Render with WebGPU
  • Editor mode
  • Glass Text Rendering
  • Glass Presets
  • Self-illumination
  • HDR illumination
  • Control parameter import / export
  • Render Step view to show intermediate results
  • UI Content inside of shape

Credits

Thanks to the following resources and inspirations:

License

MIT License

Jelajahi proyek terkait

Memuat…