Sign in to Reactiive

Use your Google or Apple account.
Signing in subscribes you to the newsletter: new content and the occasional promotion. Unsubscribe at any time.
Skip to content

Glassmorphism and Simplex Noise with React Native Skia

Wednesday, March 29, 2023
enzomanuelmangano
demos
blur-circles
An ongoing collection of React Native animations crafted with Reanimated, Gesture Handler, and Skia.
TypeScript
3.2k
296
A mesmerizing animation featuring two interactive circles with dynamic blur effects and gradient colors. The circles move in organic patterns using noise functions, creating a fluid and natural motion.

What's This About?

This component creates an artistic visual effect where two circles interact: one with a colorful gradient and another with a glass-like blur effect. The circles move independently using different noise patterns, creating an engaging and organic animation.

Technical Implementation

The component uses Skia for high-performance rendering and implements:
Perlin noise for natural movement
Sweep gradients for color transitions
Sophisticated blur masking
Clip paths for complex visual effects
Continuous animation using shared values

Usage

// The component is self-contained and can be used directly <BlurCircles />; // Core animation configuration const FREQUENCY = 0.8; const RADIUS = 45; const A = 60; // Animation setup const clock = useSharedValue(0); clock.value = withRepeat( withTiming(20000, { duration: 20000, }), -1, true );

Unlock the beauty of React Native animations

Learn Reanimated, Gesture Handler & Skia with Reanimate.dev

Feedback on Blur Circles

Ideas, bugs, or anything that felt off: I read every message. For anything else, write to hello@reactiive.io.
Send feedback