Playground
Split by use case:
Configs Playground: richer demos with full editable options.Shapes Playground: focused demos for particleshape.typewith per-shape options when available.Presets Playground: official preset-name demos ({ preset: "..." }).Palettes Playground: palette-focused demos from the presets project.Bundles Playground: dedicated playgrounds for@tsparticles/confetti,@tsparticles/fireworks, and@tsparticles/particles.
Execution is always user-triggered only (no autoplay).
Shared flow
The layout is consistent across playgrounds:
Canvas preview first.
Controls for Start/Pause/Resume/Destroy.
JSON editor for options.
Pick a demo from the menu.
Press
Startto run it (no autoplay).Edit the JSON in the editor.
Press
Startagain to reload with your new options.Use
Pause/Resumeto control performance and CPU usage.
Note:
Destroyfully releases the container instance.
Suggested workflow
- Prototype here until the effect is stable.
- Copy the final JSON into your project.
- Type it with
ISourceOptionsin application code.
