Could you script a WebGL version too?
nope, unfotunately my knowledge to webGL GLSL shader is limited, I can script HLSL shaders only.