Original Post: Announcing Dash Particles
I have recently completed an update to the dash-particles package and have moved it to v0.0.3.
What Changed?
- The library moved from a mono-dictionary format to a more pythonic usage of objects to build the particles
- Expanded coverage of the
tsParticlespackage - Inclusion of presets
- Greatly improved demo
import dash_particles as dp
particles = dp.DashParticles(
id="particles",
config=(
dp.Options(
background=dp.Background(
color=dp.Color(
value='#f0f0f0',
),
),
interactivity=dp.Interactivity(
events=dp.Events(
on_click=dp.Action(
enable=True,
mode='push',
),
on_hover=dp.Action(
enable=False,
mode='none',
),
),
),
particles=dp.Particles(
color=dp.Color(
value='#000000',
),
links=dp.Links(
enable=True,
color='#000000',
opacity=0.8,
width=2,
),
number=dp.ParticleNumber(
value=50,
),
size=dp.Size(
value=5,
),
),
)
),
height="100%",
width="100%",
)
What’s next?
- Further integration to include more extentions of the
tsParticlesapp.
Please give me feedback about where you’d like to see this go, this is a small side project for me so I’ll probably come back to it while on a long train ride again.


