Skip to content
المشاريع

iyinchao/liquid-glass-studio

عرض على GitHub

حول

🔮 واجهة Apple Liquid Glass UI الأروع — أُعيد إنشاؤها للويب بالاعتماد على WebGL2 وWebGPU.

تطوير الويب والتطبيقات

كيف تُقاس هذه الأرقام

880 نجمة87 التفرعات +2 خلال 24 ساعة

ما يمكنك فعله

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

النمو المقاس للنجوم

خلال 24 ساعة
+٢
خلال 7 أيام
+١٧
خلال 15 يومًا
+٤٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

🔮 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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…