Kain Xu

Vortex

Shaders 56

About

“Vortex —A mathematical art generator in polar coordinates.” Parameters: t - time r - radius (0 ~ 1) th - angle θ x, y - cartesian coordinates (-1 ~ 1) noise() - random noise function exp() - exponential function hypot() - hypotenuse function Features: • Click to change pattern • Edit expression directly • Sharable via URL • Press Space to toggle resolution Math functions available: sin, cos, tan, abs, sqrt, exp hypot, atan2, max, min, round ceil, floor, random inspired by @antfu & @aemkei

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Vortex to your project and fits it to your theme.

Code

How Vortex is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

'use client'

import { VortexPage } from "@/components/ui/vortex"

const DemoOne = () => {
  return (
    <div className="w-full h-screen bg-black">
       <VortexPage />
    </div>
  );
};

export { DemoOne };

More by Kain Xu

View all
  • SpiralAnimation

    SpiralAnimation

    2.4K
  • ParticleTextEffect

    ParticleTextEffect

    2.2K
  • Wave Background

    Wave Background

    1.4K
  • FlowButton

    FlowButton

    1.4K
  • layered text

    layered text

    1.1K
  • Entropy

    Entropy

    1.1K
  • LiquidRadio

    LiquidRadio

    871
  • BlurTextAnimation

    BlurTextAnimation

    497

More in Shaders

View all
  • Glass Fold

    Glass Fold

    498
  • Shader Animation

    Shader Animation

    3.9K
  • Parallel Waves

    Parallel Waves

    13
  • Phosphor 30

    Phosphor 30

    314
  • Stream Search

    Stream Search

    20
  • Radial Shader

    Radial Shader

    149
  • Illos Knowledge Sources

    Illos Knowledge Sources

    55
  • Paper design shader Background

    Paper design shader Background

    700