{
  "id": 14943635,
  "title": "How to Build Dual-Pass Strokes with FSCSS Array Methods",
  "url": "https://urgent.news/2026/10/16/how-to-build-dual-pass-strokes-with-fscss-array-methods",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-16T11:48:07.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/fscss/how-to-build-dual-pass-strokes-with-fscss-array-methods-20oo"
  },
  "original_language": "en",
  "account": "Creating dual-pass strokes with FSCSS array methods involves using a specific pattern to simulate a stroke on a shape that cannot be directly stroked using pure CSS. This technique, popularized by the FSCSS library and similar tools like st-core, achieves a line-like appearance by creating a dual-pass polygon effect. The process can be broken down into several key steps, each utilizing specific FSCSS functions and custom properties to build a visually appealing line chart effect.",
  "summary": "clip-path: polygon() can fill a shape. It cannot stroke one. So pure-CSS chart lines in FSCSS (and libraries like st-core) fake a stroke with a dual-pass polygon : walk the data forward for the top edge, walk it backward for a parallel edge offset by line width, fill the thin band between them. This post unpacks that pattern with @arr , inline() , $ , count() , and .reverse — the same building…",
  "key_points": [
    "Use FSCSS array methods to simulate dual-pass strokes",
    "Create line-like appearance via polygon effect",
    "Combine specific functions and custom properties"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}