Portal

Circular portal shader with customizable particle effects

portal-tw

Customize

Colors

#C084FC
#E879F9
#F0ABFC
#0a0a0a

Animation

0.25
1
10
1.5
1

Wave & Depth

1
0.75
0.5
0.75

Props

classNamestring

Additional CSS classes for styling

Default:""
primaryColorstring

Primary portal glow color (hex format)

Default:"#C084FC"
secondaryColorstring

Secondary portal glow color (hex format)

Default:"#E879F9"
centerColorstring

Center highlight color (hex format)

Default:"#F0ABFC"
ballBgColorstring

Background color for the ball (hex, rgb, rgba, or transparent)

Default:"transparent"
speednumber

Animation speed multiplier (0.1-3.0)

Default:1.0
densitynumber

Particle density scale factor (0.5-2.0)

Default:1.0
layerCountnumber

Number of particle layers to render (1-7)

Default:7
waveAmplitudenumber

Horizontal wave distortion amplitude (0-2.0)

Default:1.0
waveFrequencynumber

Horizontal wave frequency (0.01-0.2)

Default:0.08
verticalDistortionnumber

Vertical wave distortion amount (0-1.0)

Default:0.2
depthIntensitynumber

Tunnel depth effect intensity (0.1-0.5)

Default:0.2
brightnessnumber

Overall brightness multiplier (0.5-2.0)

Default:1.0
scalenumber

Scale/zoom of the portal effect (0.5-3.0)

Default:1.0