float smooth = chf("smooth"); float nval = noise(set(@P.x * smooth, @P.y * smooth * 3 + @Time * chf("speed"), @P.z * smooth)); if(nval < chf("thresh")){ int pt = addpoint(0, @P); setpointattrib(0, "pscale", pt, pix); setpointgroup(0, "cloud", pt, 1); setpointattrib(0, "Cd", pt, chv("cloud_col")); }