{
  "format": "field",
  "version": 1,
  "meta": {
    "name": "Radiolarian Silica Lattice",
    "author": "Infinite",
    "description": "Ernst Haeckel polycystine silica radiolarian skeleton with hexagonal pore cavities, radial spicules, and abyssal bioluminescent rim.",
    "domain": "pixel"
  },
  "device": {
    "code": "# Radiolarian Silica Lattice (Field Pixel)\nparam float pores = 9.0 [4.0, 16.0];\nparam float spicules = 6.0 [3.0, 12.0];\nparam float glow = 0.75 [0.2, 1.0];\n\np = vec2((uv.x - 0.5) * aspect, uv.y - 0.5) * 2.2;\nr = length(p);\nang = atan2(p.y, p.x);\n\nrot = ang + t * 0.12;\ngx = p.x * pores;\ngy = p.y * pores;\nhx = sin(gx + 0.5 * gy);\nhy = sin(gy * 0.866 - 0.5 * gx);\nhz = sin(gx * 0.5 - gy * 0.866);\nlattice = abs(hx * hy * hz);\n\nshell = smoothstep(0.72, 0.18, r);\nporeMask = smoothstep(0.06, 0.24, lattice);\nrim = exp(-abs(r - 0.68) * 9.0);\ncore = exp(-r * 3.8);\n\nspikeAng = abs(sin(rot * spicules * 0.5));\nspicule = smoothstep(0.94, 0.995, spikeAng) * smoothstep(1.08, 0.55, r) * smoothstep(0.45, 0.70, r);\n\nabyss = vec3(0.024, 0.043, 0.063);\nsilica = vec3(0.74, 0.89, 0.93);\ncerulean = vec3(0.29, 0.56, 0.65);\n\nrgb = abyss + cerulean * (core * 0.55 + rim * 0.85 * glow);\nrgb = rgb + silica * (shell * poreMask * 0.75 + spicule * 0.90);\ncol = clamp(rgb, 0.0, 1.0);\n",
    "params": {
      "pores": 9.0,
      "spicules": 6.0,
      "glow": 0.75
    }
  }
}