{
 "id": "sillage-brush-splatting",
 "title": "Gaussian splats drawn as brush marks",
 "aliases": [],
 "domain": "npr",
 "subdomain": "stylized splatting",
 "stage": "post",
 "realtime": "realtime",
 "platforms": [
  "webgl2",
  "webgpu",
  "desktop-gpu"
 ],
 "year_introduced": null,
 "inputs": [
  "gaussians",
  "camera-poses"
 ],
 "outputs": [
  "ldr-image"
 ],
 "style": "stylized",
 "dynamic": "dynamic",
 "summary": "Renders a Gaussian-splat scene by replacing each splat's smooth blob with a textured brush mark, so a captured or authored splat cloud reads as a painting.",
 "how_it_works": "Standard 3D Gaussian splatting projects each anisotropic Gaussian to a screen ellipse and alpha-blends it in depth order. The brush-mark approach keeps real 3D splats (position, direction, size) but draws each one as a stroke-like mark rather than a smooth blob, so marks overlap, break edges and hold still as the camera orbits. The `sillage3D` engine is a WebGL2 renderer with several mark styles (paint, gaussian, gouache), oil and watercolour variants, baked bounce light, depth of field and ambient occlusion. Scenes are JSON documents built from primitive forms, hand-placed splats, or trained `.splat` files. It is alpha software; its licence is PolyForm Noncommercial 1.0.0 (GitHub shows NOASSERTION), so commercial use needs separate terms",
 "when_to_use": "Choose it when you have a splat scene and want a painted look with coherent strokes in a browser. Prefer `stylized-gaussian-splatting` when you want to restyle the splat colours/geometry with a learned style transfer rather than change the footprint. Prefer `anisotropic-kuwahara` for a plain image-space filter on any frame.",
 "cost": {
  "class": "medium",
  "notes": "Same order of cost as standard splat rendering, plus brush texture sampling; depends on splat count."
 },
 "failure_modes": [
  "Splat count and sort cost limit scene size on integrated GPUs",
  "Brush marks reveal the splat sampling pattern in sparse regions",
  "Hard clean edges, lettering and fine mechanical detail do not suit the painted look",
  "PolyForm Noncommercial licence restricts commercial reuse of the code",
  "Alpha-stage engine; API and scene format may change"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "doi:10.1145/3592433",
   "type": "paper",
   "title": "3D Gaussian Splatting for Real-Time Radiance Field Rendering",
   "authors": [
    "Bernhard Kerbl",
    "Georgios Kopanas",
    "Thomas Leimkuehler",
    "George Drettakis"
   ],
   "year": 2023,
   "venue": "ACM Transactions on Graphics",
   "url": "https://doi.org/10.1145/3592433",
   "ids": {
    "doi": "10.1145/3592433"
   },
   "license": null,
   "extra": {
    "csl_type": "journal-article"
   },
   "provenance": {
    "title": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/3592433",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/3592433",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/3592433",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/3592433",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/3592433",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "kerbl2023gaussianb"
  },
  {
   "role": "implementation",
   "key": "gh:wrong-nebula/sillage3d",
   "type": "code",
   "title": "wrong-nebula/sillage3D",
   "description": "A 3D engine for the browser that draws every Gaussian splat as a brush mark. Alpha.",
   "authors": [
    "wrong-nebula"
   ],
   "year": 2026,
   "venue": "GitHub",
   "url": "https://github.com/wrong-nebula/sillage3D",
   "ids": {
    "repo": "wrong-nebula/sillage3D"
   },
   "license": "NOASSERTION",
   "extra": {
    "stars": 12,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-11-10T13:15:56Z",
    "language": "JavaScript",
    "homepage": "https://sillage3d.vercel.app",
    "license_name": "Other"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/sillage3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/sillage3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/sillage3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/sillage3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/sillage3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/wrong-nebula/sillage3D",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "wrongnebula2026wronge"
  }
 ],
 "presets": [
  {
   "id": "sillage-brush-splatting-live",
   "title": "Sillage Brush Splatting — smooth 3D Gaussian blobs (left) vs textured gouache brush-mark 3D splats (right)",
   "runtime": "glsl-fragment",
   "params": {
    "P_BRISTLE": 0.8,
    "P_MARK_SCALE": 1,
    "P_ORBIT": 0.5,
    "P_SPLIT": 0.48
   },
   "basis": "original",
   "license_note": "MIT — written for this index.",
   "code": "const float P_BRISTLE = 0.80; // P Bristle Grain [0.1, 1.3, 0.05]\nconst float P_MARK_SCALE = 1.00; // P Brush Mark Size [0.5, 1.6, 0.05]\nconst float P_ORBIT = 0.50; // P Camera Orbit [0.0, 1.5, 0.05]\nconst float P_SPLIT = 0.48; // P Gaussian / Brush [0.0, 1.0, 0.02]\n\nvec2 rot2(vec2 p, float a) {\n  float c = cos(a);\n  float s = sin(a);\n  return vec2(c * p.x - s * p.y, s * p.x + c * p.y);\n}\n\nfloat hash11(float p) {\n  p = fract(p * 0.1031);\n  p *= p + 33.33;\n  p *= p + p;\n  return fract(p);\n}\n\nvec3 aces(vec3 x) {\n  x = max(x, 0.0);\n  return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);\n}\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n  vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;\n  float screenX = fragCoord.x / max(iResolution.x, 1.0);\n  float split = clamp(P_SPLIT, 0.0, 1.0);\n  bool isBrush = screenX >= split;\n  float bristleAmt = clamp(P_BRISTLE, 0.05, 1.4);\n  float mScale = clamp(P_MARK_SCALE, 0.4, 1.8);\n  float t = iTime * max(P_ORBIT, 0.0);\n\n  // Subtle linen-paper studio background\n  float weave = 0.96 + 0.04 * sin(fragCoord.x * 0.85) * sin(fragCoord.y * 0.85);\n  vec3 bg = mix(vec3(0.86, 0.83, 0.77), vec3(0.70, 0.74, 0.80), smoothstep(-0.45, 0.55, uv.y)) * weave;\n  if (!isBrush) bg = mix(vec3(0.08, 0.10, 0.15), vec3(0.18, 0.23, 0.32), smoothstep(-0.45, 0.55, uv.y));\n\n  // Orbiting 3D Gaussian splat bouquet/arch composed of 34 anisotropic 3D splats\n  vec3 accum = vec3(0.0);\n  float trans = 1.0;\n\n  for (int i = 0; i < 34; i++) {\n    float fi = float(i);\n    float u = fi / 34.0;\n    // Arrange splats along a sculptural 3D floral-crown / vase volume\n    float theta = u * 6.2831853 * 3.0;\n    float y = (u - 0.5) * 0.72;\n    float rad = 0.28 + 0.14 * sin(u * 9.4247);\n    vec3 p3 = vec3(rad * cos(theta), y, rad * sin(theta));\n    p3.xz = rot2(p3.xz, t * 0.65);\n    p3.yz = rot2(p3.yz, 0.22 * sin(t * 0.4));\n\n    float zCam = 1.85 - p3.z;\n    vec2 proj = p3.xy / max(zCam * 0.64, 0.3);\n    vec2 d = uv - proj;\n\n    // 3D splat orientation projected to screen\n    float splatAng = theta + t * 0.65 + hash11(fi * 17.3) * 1.4;\n    vec2 dl = rot2(d, splatAng);\n    vec2 axis = vec2(0.115, 0.048) * mScale / max(zCam * 0.58, 0.35);\n    vec2 q = dl / axis;\n\n    // Rich botanical gouache palette driven by 3D position + height\n    vec3 baseCol = mix(vec3(0.14, 0.42, 0.56), vec3(0.94, 0.46, 0.24), smoothstep(-0.35, 0.30, y));\n    baseCol = mix(baseCol, vec3(0.96, 0.80, 0.28), smoothstep(0.18, 0.42, y) * 0.85);\n    baseCol *= 0.78 + 0.38 * smoothstep(-0.35, 0.35, p3.z + 0.2 * p3.y);\n\n    float alpha = 0.0;\n    vec3 markCol = baseCol;\n\n    if (!isBrush) {\n      // Left: Standard smooth analytical 3D Gaussian splat ellipse\n      float g = exp(-0.5 * dot(q, q));\n      alpha = clamp(g * 0.76, 0.0, 0.94);\n    } else {\n      // Right: Sillage brush-splatting -- replace smooth Gaussian with crisp dry-bristle gouache mark!\n      // Rounded-rectangle tapered brush body + frayed bristle tips along major axis q.x\n      float bristleWave = sin(q.y * 16.0 + fi * 4.3) * 0.5 + 0.5;\n      float tipFray = 1.0 - 0.32 * bristleAmt * bristleWave;\n      float bodyX = abs(q.x) - 1.15 * tipFray;\n      float bodyY = abs(q.y) - (0.86 - 0.16 * q.x * q.x);\n      float sdf = max(bodyX, bodyY);\n      float edgeMask = smoothstep(0.16, -0.06, sdf);\n      // Bristle striations & subtle pigment pooling along outer edge of stroke\n      float grain = mix(1.0, 0.76 + 0.34 * sin(q.y * 26.0 + q.x * 2.0 + fi * 9.1), bristleAmt * 0.75);\n      float edgePool = smoothstep(-0.35, 0.05, sdf) * 0.16;\n      markCol = baseCol * grain * (1.0 - edgePool);\n      alpha = edgeMask * 0.88;\n    }\n\n    if (alpha > 0.01) {\n      float depthShade = exp(-max(zCam - 1.35, 0.0) * 0.45);\n      accum += markCol * depthShade * alpha * trans;\n      trans *= (1.0 - alpha * 0.62);\n    }\n  }\n\n  vec3 col = accum + bg * trans;\n  float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));\n  col = mix(col, vec3(0.96, 0.97, 0.99), sep);\n  fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);\n}",
   "execution_fidelity": "conceptual-diagram",
   "proof": {
    "kind": "rendered",
    "label": "rendered 2026-11-30",
    "ok": true,
    "proof": {
     "ok": true,
     "technique": "sillage-brush-splatting",
     "runtime": "glsl-fragment",
     "checked_at": "2026-11-30T21:07:25.000Z",
     "renderer": "Headless EGL Tesla T4/PCIe/SSE2, OpenGL 3.30 Core, 512×512, iTime=1.5",
     "stats": {
      "mean": 0.7656,
      "std": 0.1177,
      "min": 0.3993,
      "max": 0.9022
     },
     "image": "/specimens/sillage-brush-splatting-live.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "painterly-animation-meier",
  "stroke-based-rendering",
  "stylized-gaussian-splatting"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-29T15:51:27.588Z",
  "draft": "data/drafts/npr/sillage-brush-splatting.json"
 },
 "solves": [
  "want captured splat scene to look hand-painted",
  "need painterly strokes in a browser viewer",
  "splat renders look too photographic",
  "turn a gaussian cloud into brush marks without retraining"
 ],
 "authority": "Kerbl et al., 2023",
 "url": "https://texelatlas.vercel.app/t/sillage-brush-splatting/",
 "execution_fidelity": "conceptual-diagram",
 "fidelity_label": "Visual Diagram",
 "benchmark_eligible": false,
 "gpu_weight": {
  "weight_x": 70.84,
  "tier": "extreme",
  "p50_ms": 2.3305,
  "p95_ms": 2.418,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 32,
  "preset_id": "sillage-brush-splatting-live",
  "execution_fidelity": "conceptual-diagram",
  "fidelity_label": "Visual Diagram",
  "benchmark_eligible": false,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 60.14,
   "tier": "extreme",
   "p50_ms": 0.9562,
   "p95_ms": 0.9643,
   "speedup_x": 2.44,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 50.68,
   "tier": "heavy",
   "p50_ms": 1.4597,
   "p95_ms": 1.4722,
   "speedup_x": 1.6,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}