Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By kattakathv1.0.2MITIn 1 marketplace
Rebuild a raster or noisy auto-traced logo as clean SVG from measured construction geometry: find centres, radii, angles and nodes, infer the rule, regenerate from named parameters, score the overlap against the source.
Claude loads one when your task matches it, or you run it by name.
Rebuild a raster or noisy auto-traced logo as a clean parametric SVG — by measuring the construction and recovering the rule behind it, not by tracing pixels.
Auto-tracers outline the edges of pixels, so every anti-aliasing step becomes a node and a stroked ring becomes two lumpy filled contours. Most marks were drawn from a few primitives and one or two rules. Recover those and the SVG becomes a few dozen commands that one parameter change updates consistently.
measure --> infer the rule --> snap + generate --> score vs source --> report
| Script | What it reports |
|---|---|
scripts/measure.py | Circles (RANSAC + least-squares refit), an angle histogram (probabilistic Hough), stroke width, solid/hollow nodes, and the skeleton graph — deterministic seeds, SVG coordinates |
scripts/overlay.py | iou, iou_tolerant, off_px and a colour-coded diff.png; --chromium when the SVG relies on masks |
A rule must predict a number you did not use to derive it. That prediction is the evidence; a
rule that only restates the measurements is a curve fit, not a construction. Example: two lobes of
radius r joined by a straight line at 45° force the spacing d = 2√2·r_mid, because a tangent at
distance r₁ from one centre and r₂ from the other only works when r₁ + r₂ = d·sin θ.
Topology before geometry. Circle fits say which curves exist. They never say where each one stops or what it joins, and a clean-looking model with the wrong topology fails exactly there.
Measured 2026-09-24: a wrong topology for one glyph moved the whole-logo tolerant IoU by 0.003
(0.905 → 0.908). The glyph's own crop showed it plainly — off-px 73 → 3, IoU 0.68 → 0.83. A
small part's error disappears in the average, so use --crop per component and aim for
iou_tolerant ≥ 0.9.
measure.py fits circles only, so a stretched ring breaks into
partial arcs — recall fell to 0.25–0.30 once sx > 1. Measure the stretch first and divide it out.Close with a derived vs. fitted-and-snapped vs. assumed table, name the weakest assumption and what would settle it, and put every place the source looks inconsistent to the user as a decision: faithful, or clean.
numpy, scipy, scikit-image, pillow and cairosvg.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub kattakath/skills --plugin logo-construction-geometryPlugins from other owners that cover similar ground