21 bool interior(dvec2 c) {
23 double x = c.x - 0.25;
24 double q = x * x + c.y * c.y;
25 bool cardioid = q * (q + x) < 0.25 * c.y * c.y;
31 bool circle = x * x + c.y * c.y < 0.0625;
48 if (n == 0.0 && interior(c)) {
50 }
else if (n >= 0.0) {
56 dz = 2.0 *
cmul(z, dz) + dvec2(1.0, 0.0);