Skip to content

MeliValesca/logo-particle

Repository files navigation

Logo Particle Animation

A React Native demo app showcasing animated logo particles, fluid screen transitions, and custom UI components built with react-native-ease and Reanimated.

Features

  • Particle Logo — 662 dots extracted from a PNG logo, animated with EaseView (Core Animation)
  • Splash Screen — Pulsing particle animation with native bootsplash
  • Screen Transitions — Dots scatter and reassemble between splash and login screens
  • Login Screen — Floating inputs above keyboard, metallic card border, 3D button effect
  • Galaxy Explosion — Particles explode into a star field on login, persisting across navigation
  • MetallicView — Reusable component with animated shine border effect
  • BubbleTextInput — Reusable input that floats above keyboard with spring animation
  • EaseGradient — Fake gradient using stacked Views (no native gradient library needed)

Stack

Project Structure

src/
  common/
    BubbleTextInput.tsx   — Floating input component
    MetallicView.tsx      — Animated metallic border wrapper
    EaseGradient.tsx      — Fake gradient with stacked Views
    OrbitStarView.tsx     — Orbiting star dots component
    colors.ts             — Shared color palette
  screens/
    AuthScreen.tsx        — Login screen with particle animations
    HomeScreen.tsx        — Mock home screen with metallic cards
  data/
    logoPoints.ts         — Pre-extracted dot positions from logo
  ParticleBackground.tsx  — Global particle layer (persists across screens)
  ParticleContext.tsx      — Shared animation state between components
  navigation.tsx          — React Navigation stack setup
  TouchVisualizer.tsx     — Tap indicator for screen recordings

Getting Started

npm install
cd ios && pod install && cd ..
npx react-native run-ios

Generating Logo Dots

To extract dot positions from a different logo:

node scripts/extract-dots.mjs

This reads src/assets/logo.png and outputs src/data/logoPoints.ts with normalized coordinates.

Credits

About

just a fun animation

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors