Now In Code
Get access

Converging Light Lines and AI Loading States

Scene 1: a glowing pill turns into a circle, then an infinity shape whose left lobe opens into red and blue strands converging on a point. Scene 2: an AI search loading screen with a color-sweep title and status lines. Canvas and Skia share one core.

Inspired by a design posted on PinterestRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "converging-light-lines-ai-loading-states" to this project.

The full source is attached at the end of this prompt. Put the files under components/converging-light-lines-ai-loading-states/, install the listed dependencies with `npx expo install`, and render it on a route I can open.

Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply.

=== Source files are attached here for paid plans ===
Pro piece. The prompt includes the full source.Get access

Details

Platforms
iOS, Android, Web
Requires
Expo SDK 54+
Access
Pro
Updated
18 Nov 2026
License
Unlimited commercial projects
Original design
Pinterest

Are you the designer? Ask us to change or remove this.

CLI and MCP server Coming soon

Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs

What it does

Two scenes. The first is a four-by-five social-style frame where many thin light lines emerge from several points, curve toward the middle and merge into one glowing figure while a caption reading Bringing together appears. The lines have coloured glows and the loop repeats about every seven seconds. The second is a phone-screen search interface with a coloured halo around it and three lines of status text that appear one by one while the system works, followed by a results view with a tab row. Scenes are chosen with a prop, and the preview lets a time be frozen and speed set. Colour order for the halo comes from a measured palette.

How it's built

A shared core exposes a frame function of scene and time that returns a list of drawing operations: paths, circles, ovals, rounded rectangles and text, each with gradients, blur sigma and a blend mode. Measured tables for the lines, emitters, palette and glow are stored by source frame number and read with monotone cubic or linear interpolation. The React Native component maps each operation to a Skia element, using blur masks, linear gradients, additive blending and nested clip groups, and loads its font with Skia's font hook. The browser preview uses a Canvas2D executor that follows the same blur-then-clip order as Skia. The component takes scene, width, frozen time and speed.

Good for

  • Loading states for an AI answer, search or plan generation
  • Onboarding screens that express many inputs becoming one result
  • Hero animations for a glow-heavy dark interface

Dependencies

@shopify/react-native-skiareact-native

Tags

AI AssistantDark ModeGlowGradientHealth and FitnessLoading AnimationLoading StateBrand and MarketingMinimalMorphingPath DrawingRevealSearch BarText Animation

Related