Exported assets are free to use commercially and modify.

SMAAShader.js

SMAAWeightsShader

Antialiasing weights

SMAAWeightsShader
Preview requires WebGL2. You can still download the demo.
Image processing demo

Uses colored marks to decide how much nearby color to mix into stepped edges.

Official source