/* * Example polyps script... * */ MyVar := 3; Cube(a, b, c, s) := (x < a+s) & (x > a-s) & (y < b+s) & (y > b-s) & (z < c+s) & (z > c-s); def Sphere(a, b, c, s) := (x+a)**2 + (y+b)**2 + (z+c)**2 < s; def Sphere(a, b, c, s) := ((x+a)**2 + (y+b)**2 + (z+c)**2 < s); Sphere(a, b, c, s) := (x+a)**2 + (y+b)**2 + (z+c)**2 < s; RoundedCube(a, b, c, s) := Cube(a, b, c, s) & !Sphere(a, b, c, s * 1.4); // Makes a cube that's slightly rounded. Render(RoundedCube(0, 1, 1, 5))