Portal

Ciruular portal shader with customizable particle effects

portal-tw

Customize

0.25
1
10
1
0.75
0.5
0.75
1
1.5

Props

NameTypeDefaultDescription
classNamestring""Additional CSS classes for styling
primaryColorstring"#C084FC"Primary portal glow color (hex format)
secondaryColorstring"#E879F9"Secondary portal glow color (hex format)
centerColorstring"#F0ABFC"Center highlight color (hex format)
ballBgColorstring"transparent"Background color for the ball (hex, rgb, rgba, or transparent)
speednumber1.0Animation speed multiplier (0.1-3.0)
densitynumber1.0Particle density scale factor (0.5-2.0)
layerCountnumber7Number of particle layers to render (1-7)
waveAmplitudenumber1.0Horizontal wave distortion amplitude (0-2.0)
waveFrequencynumber0.08Horizontal wave frequency (0.01-0.2)
verticalDistortionnumber0.2Vertical wave distortion amount (0-1.0)
depthIntensitynumber0.2Tunnel depth effect intensity (0.1-0.5)
brightnessnumber1.0Overall brightness multiplier (0.5-2.0)
scalenumber1.0Scale/zoom of the portal effect (0.5-3.0)