shader element scattering.pixi (3.1 MB)
This is an example of element scattering using shaders. Copy the sksl code to your own projects. Read the sticky note because the current set up is dedicated for a canvas size of 1024 x 1024. Currently its not efficient for larger canvas sizes but it is doable.

