Particle Text

Interactive 3D particle text with WebGL

particle-text-tw

Customize

200
2
2
150
5
0.75
0.05

Props

NameTypeDefaultDescription
textstring"brilliant."The text content to render as particles.
colorsstring[]["#40ffaa", "#40aaff", "#ff40aa", "#aa40ff"]Array of colors to randomly assign to particles.
particleSizenumber2Size of individual particles in pixels.
particleGapnumber2Gap between particles. Higher values reduce density.
mouseControlsobject{ enabled: true, radius: 150, strength: 5 }Configuration for mouse interaction behavior.
fontSizenumber200Font size of the text. When autoFit is enabled, this is the maximum font size.
autoFitbooleantrueAutomatically scale font size to fit container width. Uses fontSize as maximum.
backgroundColorstring"transparent"Background color of the canvas.
frictionnumber0.75Controls how quickly particles slow down (0-1).
easenumber0.05Controls how quickly particles return to origin (0-1).