Custom Shader in X3DOM

Shader Geometry Parameters:

r = a + b * cos(c * theta + tdelta) * cos(d * phi + pdelta);

a: 10

b: 1

c: 20

d: 20

tdelta: 0

pdelta: 0