{
  "name": "Golden Sparkle",
  "dimension": "text",
  "slot": "action_bar",
  "width": 256,
  "height": 128,
  "textBaseline": 128,
  "placement": {
    "x": 0,
    "y": 0
  },
  "shapes": [],
  "texts": [],
  "heads": [],
  "images": [],
  "bars": [],
  "triggers": [],
  "effect": {
    "glsl": "vec4 effect(Fx f) {\n    float bob = 0.7 * sin(f.t * PI * 0.5 - f.o.x * 0.13);\n    vec2 p = f.p - vec2(0.0, bob);\n    vec2 q = floor(p) + 0.5;\n    float a = G(p);\n    float top = G(p - vec2(0.0, 1.0));\n    vec3 gold = q.y < 2.0 ? vec3(1.0, 0.97, 0.68)\n              : q.y < 4.0 ? vec3(1.0, 0.83, 0.28)\n              : q.y < 6.0 ? vec3(1.0, 0.68, 0.10)\n              : vec3(0.90, 0.50, 0.045);\n    gold = mix(gold, vec3(1.0, 0.94, 0.60), (1.0 - top) * 0.40);\n    float shine = pow(max(0.0, cos((f.o.x + q.x) * 0.10 - f.t * PI * 0.5)), 18.0);\n    gold = mix(gold, vec3(1.0, 0.96, 0.71), shine * 0.28);\n    vec4 col = vec4(0.16, 0.075, 0.012, G(p - 1.0));\n    col = over(vec4(0.27, 0.13, 0.018, N4(p) * 0.95), col);\n    col = over(vec4(gold, a), col);\n    float seed = h2(f.o + vec2(17.0, 8.0));\n    float clock = f.t / 3.0 + seed;\n    float pulse = pow(max(0.0, sin(clock * 2.0 * PI)), 3.0);\n    float x = floor(h2(f.o + vec2(23.0, 31.0)) * max(f.w, 1.0)) + 0.5;\n    float targetY = 1.5 + floor(h2(f.o + vec2(11.0, 67.0)) * 6.0);\n    vec2 sp = vec2(x, targetY);\n    float best = 20.0;\n    float found = 0.0;\n    for (int i = 0; i < 8; i++) {\n        float y = float(i) + 0.5;\n        float d = abs(y - targetY);\n        if (G(vec2(x, y)) > 0.5 && d < best) {\n            best = d;\n            sp = vec2(x, y);\n            found = 1.0;\n        }\n    }\n    vec2 d = abs(q - sp);\n    float center = (d.x < 0.5 && d.y < 0.5) ? 1.0 : 0.0;\n    float rays = ((d.x < 0.5 && d.y < 1.5) || (d.y < 0.5 && d.x < 1.5)) ? 1.0 : 0.0;\n    float spark = found * (center * pulse + (1.0 - center) * rays * smoothstep(0.72, 1.0, pulse) * 0.8);\n    return over(vec4(1.0, 1.0, 1.0, spark), col);\n}",
    "pad": [
      1,
      2,
      2,
      2
    ],
    "prompt": "festive gold text with tiny white sparkles twinkling on and off over the letters and a gentle bob",
    "sample": "Festive Gold"
  }
}