These are Apas Cloud services: they run on our servers for a signed-in member. The examples below are shown already made; sign in to edit and run your own.
surface3d Apas Cloud
Emits a WebGPU shader for a height field z = f(x, y) over the fixed domain -2..2, rendered live on the GPU in the browser.
expr (string) -- an expression in x and y, e.g. "sin(sqrt(x^2+y^2))"
nx (number) -- optional grid resolution along x
ny (number) -- optional grid resolution along y
surfaceParametric Apas Cloud
Emits a WebGPU shader for a parametric surface (x(u,v), y(u,v), z(u,v)) over an explicit u/v domain, rendered live on the GPU.
xExpr (string) -- expression in u, v
yExpr (string) -- expression in u, v
zExpr (string) -- expression in u, v
umin (number) --
umax (number) --
vmin (number) --
vmax (number) --
nx (number) -- optional grid resolution along u
ny (number) -- optional grid resolution along v
curve3d Apas Cloud
Emits a WebGPU shader for a parametric space curve (x(t), y(t), z(t)) over an explicit t domain, rendered live on the GPU.
xExpr (string) -- expression in t
yExpr (string) -- expression in t
zExpr (string) -- expression in t
tmin (number) --
tmax (number) --
n (number) -- optional sample count, defaults to 200