ChrisNikkel/SharpVG
74.8
Strong · 15 November 2026
5.1k
lines of production code
F#
primary language
5
measurements over time
What this system is
Features
Add SharpVG F\# notebook example with animation support
A new interactive notebook example for SharpVG has been added to the Examples/Notebooks directory, providing a runnable F\# demonstration of the library. The example includes a NuGet configuration file to resolve package sources and demonstrates creating styled SVG elements (rectangles) with stroke and fill pens. It also showcases advanced features such as applying transforms (rotation, scaling, translation) and defining timed animations to create dynamic visual effects within the notebook environment.
Examples/Notebooks · high confidence
Added SVG Life example demonstrating Conway's Game of Life with animations
A new Life example has been added to the Examples directory, implementing Conway's Game of Life logic to generate an animated SVG output. The program creates a board of cells that evolve over 100 iterations, using CSS animations to toggle cell visibility, and saves the resulting HTML file to the program's execution directory.
Examples/Life · high confidence
Initial implementation of SharpVG SVG generation library
SharpVG introduces a new F\# library for generating SVG graphics programmatically. The release provides a comprehensive type system for SVG elements (such as shapes, text, and groups), styling capabilities including gradients, filters, and animations, and helper modules for constructing complex vector graphics. This foundational commit establishes the core API for creating and serializing SVG content.
SharpVG · high confidence
New Sierpinski triangle example with animation and SVG enhancements
Added a new Triangle example that generates a recursive Sierpinski triangle pattern. The output is an HTML file containing an SVG with animated transformations (scaling, rotation, and offset) applied to the geometric shapes. This example demonstrates new SVG features including ViewBox support, styling, and animation capabilities within the SharpVG library.
Examples/Triangle · high confidence
New file and random number helper modules
Added two new helper modules to the codebase: \Helpers.File\ provides utilities for determining the program's execution directory, generating temporary filenames with specific extensions, and writing lines to files; \Helpers.Random\ introduces a function to generate an infinite sequence of random integers within a specified range, seeded by a combination of the current time and a provided seed value.
Helpers · high confidence
SharpVG 1.0.0: SVG parsing, mutation, and editing capabilities
SharpVG now supports loading existing SVG files back into the domain model via the new \SvgParser\ module (parsing strings, files, streams, SVGZ, and embedded HTML), enabling round-trip workflows where unknown elements are preserved as raw passthrough nodes. The library introduces a comprehensive mutation API (\Svg.mapElements\, \findById\, \replaceById\, etc.) and an element attribute API for reading, writing, and removing attributes and animations. A new \HRef\ type safely distinguishes between element-ID references and URL references, replacing bare strings in href positions. The release also adds \\<style\>\ block parsing for CSS rules, a \ParseMode\ (Lenient/Strict) for handling unknown elements, and \Svg.toStringForEditing\/\toHtmlForEditing\ which annotate elements with \data-edit-id\ attributes to support interactive editor rendering and path-based element lookup.
(repo-wide) · high confidence
Behavioural changes
1 commit (0 fixes) modifying Examples, SharpVG
A change to existing behaviour in Examples, SharpVG — 1 commit, 2 files: “Drop npm/Vite from FableClock example”. Also in this area: Added Fable-based SVG clock example.
Examples/FableClock · low confidence · unverified
Test coverage
Comprehensive test suite for SharpVG SVG generation
Added a new test project covering the SharpVG library's SVG generation capabilities. The suite includes property-based and unit tests for core modules including Anchor, Animation, Area, Attribute, Circle, ClipPath, Color, Element, Ellipse, Filter, Gradient, Graphic, Group, and more. It also introduces helper modules for basic checks (tag validation, safe ID generation) and SVG XML validation using xmllint to ensure generated output is well-formed.
Tests · high confidence
Dependencies
Migrate build system to .NET SDK style and modernize dependencies
The project has migrated from legacy Visual Studio project formats to the modern .NET SDK-style project system, removing the Paket dependency manager in favor of standard NuGet package references. The core SharpVG library now targets netstandard2.1, net8.0, and net9.0, while the test suite has been updated to use .NET 8.0 with XUnit, FsCheck, and Coverlet. The FableClock example now uses Vite 8 and targets .NET 8.0, and new examples (Life, Triangle) target .NET 9.0.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 74 → 75 (+0.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 83 → 77 (-6.4)
- Architecture 96 → 96 (+0.0)
- Maturity 71 → 77 (+5.0)
- Readiness 68 → 68 (+0.0)
- Security 98 → 98 (-0.6)
Resolved (1)
- IL efficiency: 15 authored method(s) exceed the IL budget (SharpVG/SvgParser.fs)
New (1)
- Edited copy of a member (32 corresponding lines) (SharpVG/Polygon.fs)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
ChrisNikkel/SharpVG was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 6eae31036183c5f6ff09530dba4c993ad19af2f8 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.