Shape forge

Pick an outline; the same marks re-form into it.

Chart type
Unit unit
Tier
Free Core
Collection
Unit & pictogram
Render
Live, site theme
View .md Agent setup
LIVE/unit/logo-forge10 of 33 in Unit

Configuration

Raw Standalone
const options = {
  chart: {
    height: 400,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "unit",
    toolbar: {
      show: false
    }
  },
  series: [120, 80, 40],
  labels: ["Gold", "Silver", "Bronze"],
  colors: ["#d97706", "#94a3b8", "#b45309"],
  plotOptions: {
    unit: {
      positions: {
        name: "star",
        category: "symbol",
        kind: "silhouette",
        rings: [
          [
            [0.5, 0.020000000000000018],
            [0.6322516817658065, 0.33797117626563683],
            [0.9755282581475768, 0.3654915028125263],
            [0.7139877161664095, 0.5895288237343632],
            [0.7938926261462366, 0.9245084971874737],
            [0.5, 0.745],
            [0.2061073738537635, 0.9245084971874737],
            [0.28601228383359045, 0.5895288237343632],
            [0.02447174185242318, 0.3654915028125264],
            [0.3677483182341935, 0.3379711762656369]
          ]
        ],
        source: "original",
        minUnits: 20,
        aspect: 1,
        order: "centerOut",
        cx: undefined,
        cy: undefined,
        shape: {
          name: "star",
          category: "symbol",
          kind: "silhouette",
          minUnits: 20,
          order: "centerOut",
          source: "original"
        },
        with: e=>St({...t,...e||{}}),
        outlined: function outlined(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.16;const n=t.rings.map(t=>{const n=t.reduce((t,e)=>t+e[0],0)/t.length,a=t.reduce((t,e)=>t+e[1],0)/t.length;return t.map(t=>{let o=b(t,2);return[n+(o[0]-n)*(1-e),a+(o[1]-a)*(1-e)]})});return St({...t,name:t.name+"-outlined",kind:"stroke",rings:t.rings.concat(n)})},
        fill: (t,n)=>wt(e,t,n),
        isUnitShape: true
      }
    }
  },
  title: {
    text: "Members by tier"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

const chart = new WestCoastCharts(document.querySelector('#chart'), options)
chart.render()