97

Baroque Golden Arabesque Filigree

Royal Baroque gold wire tracery with multi-fold rotational symmetry. Interlocking logarithmic S-scrolls, counter-curling C-volutes, delicate parabolic wire webbing, and gleaming granulated pearl nodes.

Playground
60 FPS Canvas 2D
Click + Drag to interact with field
</>

Full Executable Algorithm Code

// 062 - Baroque Golden Arabesque Filigree (geometry)
// 1:1 Original algorithm engine source
function createBaroqueFiligrane() {
  return {
    setup() {
    },
    render(context, timeState, params) {
      const { ctx, width, height } = context;
      const speed = Number(params.shimmerSpeed ?? 0.6);
      const folds = Math.max(3, Math.round(Number(params.folds ?? 8)));
      const tightness = Number(params.curlTightness ?? 1.2);
      const webDensity = Math.max(3, Math.round(Number(params.webDensity ?? 8)));
      const t = timeState.time * speed;
      ctx.fillStyle = "#050608";
      ctx.fillRect(0, 0, width, height);
      const cx = width * 0.5;
      const cy = height * 0.5;
      const maxR = Math.min(width, height) * 0.44;
      ctx.save();
      ctx.translate(cx, cy);
      const baseHue = 42;
      const coreR = maxR * 0.16;
      for (let ring = 1; ring <= 3; ring++) {
        const rr = ring / 3 * coreR;
        ctx.beginPath();
        for (let i = 0; i <= folds * 2; i++) {
          const a = i / (folds * 2) * Math.PI * 2 + t * (ring % 2 === 0 ? 0.2 : -0.2);
          const rMod = rr * (1 + 0.18 * Math.sin(a * folds + t * 2));
          const px = Math.cos(a) * rMod;
          const py = Math.sin(a) * rMod;
          if (i === 0) ctx.moveTo(px, py);
          else ctx.lineTo(px, py);
        }
        ctx.closePath();
        ctx.strokeStyle = hsla(baseHue + ring * 5, 90, 72, 0.75);
        ctx.lineWidth = 1.4 - ring * 0.2;
        ctx.stroke();
      }
      for (let f = 0; f < folds; f++) {
        const baseAngle = f / folds * Math.PI * 2;
        ctx.save();
        ctx.rotate(baseAngle + t * 0.05);
        ctx.beginPath();
        const armSteps = 70;
        const armPoints = [];
        for (let i = 0; i <= armSteps; i++) {
          const u = i / armSteps;
          const theta = u * Math.PI * 1.8 * tightness;
          const r = coreR + (maxR - coreR) * Math.pow(u, 0.88) * (1 + 0.08 * Math.sin(t * 1.5 + f));
          const curlOffset = Math.sin(theta) * (maxR * 0.14 * (1 - u) * tightness);
          const px = Math.cos(theta * 0.45) * r + curlOffset;
          const py = Math.sin(theta * 0.45) * r;
          armPoints.push({ x: px, y: py });
          if (i === 0) ctx.moveTo(px, py);
          else ctx.lineTo(px, py);
        }
        const shimmer = Math.sin(t * 3 + f * 0.8) * 10;
        ctx.strokeStyle = hsla(baseHue + shimmer, 92, 70, 0.85);
        ctx.lineWidth = 2;
        ctx.stroke();
        ctx.beginPath();
        const cSteps = 45;
        const cPoints = [];
        const midAnchor = armPoints[Math.floor(armSteps * 0.52)];
        for (let j = 0; j <= cSteps; j++) {
          const v = j / cSteps;
          const phi = -v * Math.PI * 1.6 * tightness + Math.PI * 0.35;
          const cr = maxR * 0.28 * Math.pow(v, 0.9);
          const cx_p = midAnchor.x + Math.cos(phi) * cr;
          const cy_p = midAnchor.y + Math.sin(phi) * cr;
          cPoints.push({ x: cx_p, y: cy_p });
          if (j === 0) ctx.moveTo(cx_p, cy_p);
          else ctx.lineTo(cx_p, cy_p);
        }
        ctx.strokeStyle = hsla(baseHue + 8, 85, 76, 0.7);
        ctx.lineWidth = 1.3;
        ctx.stroke();
        for (let w = 1; w <= webDensity; w++) {
          const frac = w / (webDensity + 1);
          const pA = armPoints[Math.min(armPoints.length - 1, Math.floor(frac * armSteps * 0.85))];
          const pB = cPoints[Math.min(cPoints.length - 1, Math.floor((1 - frac) * cSteps))];
          ctx.beginPath();
          ctx.moveTo(pA.x, pA.y);
          const midX = (pA.x + pB.x) * 0.5 + Math.sin(t * 2 + w) * 6;
          const midY = (pA.y + pB.y) * 0.5 + Math.cos(t * 2 + w) * 6;
          ctx.quadraticCurveTo(midX, midY, pB.x, pB.y);
          ctx.strokeStyle = hsla(baseHue - 4 + w % 3 * 6, 80, 78, 0.35);
          ctx.lineWidth = 0.75;
          ctx.stroke();
        }
        const tipA = armPoints[armPoints.length - 1];
        const tipB = cPoints[cPoints.length - 1];
        ctx.fillStyle = hsla(baseHue + 15, 100, 88, 0.95);
        ctx.beginPath();
        ctx.arc(tipA.x, tipA.y, 3.2, 0, Math.PI * 2);
        ctx.fill();
        ctx.fillStyle = hsla(baseHue + 20, 100, 95, 0.4);
        ctx.beginPath();
        ctx.arc(tipA.x, tipA.y, 6, 0, Math.PI * 2);
        ctx.fill();
        ctx.fillStyle = hsla(baseHue + 10, 95, 84, 0.9);
        ctx.beginPath();
        ctx.arc(tipB.x, tipB.y, 2.4, 0, Math.PI * 2);
        ctx.fill();
        for (let b = 1; b <= 4; b++) {
          const pt = armPoints[Math.floor(b * 14)];
          ctx.fillStyle = hsla(baseHue, 95, 78, 0.75);
          ctx.beginPath();
          ctx.arc(pt.x, pt.y, 1.5, 0, Math.PI * 2);
          ctx.fill();
        }
        ctx.restore();
      }
      ctx.beginPath();
      const outerSteps = folds * 16;
      for (let k = 0; k <= outerSteps; k++) {
        const theta = k / outerSteps * Math.PI * 2;
        const scallop = Math.abs(Math.sin(theta * (folds * 0.5) + t * 0.2)) * (maxR * 0.08);
        const ro = maxR * 0.92 + scallop;
        const px = Math.cos(theta) * ro;
        const py = Math.sin(theta) * ro;
        if (k === 0) ctx.moveTo(px, py);
        else ctx.lineTo(px, py);
      }
      ctx.closePath();
      ctx.strokeStyle = hsla(baseHue + 4, 85, 74, 0.45);
      ctx.lineWidth = 1;
      ctx.stroke();
      ctx.restore();
    }
  };
}

// Default parameters from content metadata
const defaultParams = [
  {
    "key": "folds",
    "label": "Symmetry Folds",
    "type": "range",
    "min": 4,
    "max": 16,
    "step": 1,
    "defaultValue": 8,
    "description": "Radial rotational symmetry order"
  },
  {
    "key": "curlTightness",
    "label": "Volute Tightness",
    "type": "range",
    "min": 0.6,
    "max": 2.2,
    "step": 0.1,
    "defaultValue": 1.2,
    "description": "Logarithmic spiral coiling factor"
  },
  {
    "key": "webDensity",
    "label": "Lace Web Density",
    "type": "range",
    "min": 3,
    "max": 14,
    "step": 1,
    "defaultValue": 8,
    "description": "Filigree wire infill bridging count"
  },
  {
    "key": "shimmerSpeed",
    "label": "Shimmer Speed",
    "type": "range",
    "min": 0.2,
    "max": 2,
    "step": 0.1,
    "defaultValue": 0.6,
    "description": "24K metallic luster cycling rate"
  }
];

if (!window.__art_instances) window.__art_instances = {};
if (!window.__art_instances['baroque-filigrane']) {
  const inst = typeof createBaroqueFiligrane === 'function' ? createBaroqueFiligrane() : null;
  if (inst && inst.setup) {
    inst.setup({ ctx, width, height, dpr: 1, aspectRatio: width / height }, defaultParams);
  }
  window.__art_instances['baroque-filigrane'] = inst;
}

const instance = window.__art_instances['baroque-filigrane'];
if (instance && instance.render) {
  instance.render(
    { ctx, width, height, dpr: 1, aspectRatio: width / height },
    { time, deltaTime: dt, frameCount: Math.floor(time * 60), fps: 60 },
    defaultParams
  );
}
Edit in Interactive Playground Zero Dependencies • Standalone Canvas 2D
ƒ

Mathematical Formulation

high
Analytical Equation
r(θ)=r0ekθ,B(u)=(1u)2P0+2(1u)uP1+u2P2,θm=2πmNr(\theta) = r_0 e^{k \theta}, \quad \mathbf{B}(u) = (1-u)^2 \mathbf{P}_0 + 2(1-u)u \mathbf{P}_1 + u^2 \mathbf{P}_2, \quad \theta_m = \frac{2\pi m}{N}
Click to expand
Compact Formula
r = r_0 + (R-r_0)*u^0.88, volute = [cos(0.45θ)*r + sin(θ)*offset, sin(0.45θ)*r]

Mathematical Tags

#filigree #filigrane #gold #baroque #arabesque #lace #jewelry #ornament #geometry
Author: Math Art Core Target: 60 FPS

Export & Embed: Baroque Golden Arabesque Filigree

4K PNG Snapshot

High-resolution single frame render

WebM Video (5s Loop)

60 FPS browser-captured stream

Standalone JS Script

Complete executable Canvas 2D algorithm

HTML Iframe Embed

<iframe src="https://art.fazleyrabbi.xyz/embed/baroque-filigrane" width="500" height="500" frameborder="0" loading="lazy"></iframe>
ESC
↑↓ Navigate Select
101 Mathematical Artworks

Support the Project

Keep mathematical creative coding alive & open source

Or via Direct Payoneer ($0 Fee)
Payoneer Customer ID: $0 Fee Direct
24076084

💡 Payoneer app: Go to Pay → Pay to recipient → Enter ID 24076084.

Thank you for supporting generative mathematical animations! ✨