skia2/site/user/modules/particles.md
Brian Osman c81378624f Update all example particle data to new single-code-chunk format
Change-Id: Ic53dc7ecab1b44761fe06e6b528864d24cc5fa58
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/363940
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2021-02-02 18:07:53 +00:00

12 KiB
Raw Blame History

Particles

Skias particle module provides a way to quickly generate large numbers of drawing primitives with dynamic, animated behavior. Particles can be used to create effects like fireworks, spark trails, ambient “weather”, and much more. Nearly all properties and behavior are controlled by scripts written in Skias custom language, SkSL.

Samples

Trail (Click and Drag!)
Cuboid
Confetti
Curves
Fireworks
Text