# parametric-svg-spec

> A specification for full-fledged parametric graphics. In pure SVG.

Latest version **1.2.2** (published 2015-10-16) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install parametric-svg-spec
pnpm add parametric-svg-spec
yarn add parametric-svg-spec
bun add parametric-svg-spec
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.2.2 |
| Published | 2015-10-16 |
| First published | 2015-09-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 80 |
| Author | Tomek Wiszniewski |
| Maintainers | tomekwi |
| Keywords | parametric-svg, spec, parametric, 2d, graphics, drawing, drawings, cad, svg |

## Links

- npm: https://www.npmjs.com/package/parametric-svg-spec
- Repository: https://github.com/parametric-svg/-
- Homepage: https://github.com/parametric-svg/-/packages/parametric-svg-spec#/
- Issues: https://github.com/parametric-svg/-/issues
- npm.io page: https://npm.io/package/parametric-svg-spec

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 1.2.2 (latest) — 2015-10-16
- 1.2.1 — 2015-10-16
- 1.2.0 — 2015-10-15
- 1.1.7 — 2015-10-13
- 1.1.6 — 2015-10-13
- 1.1.5 — 2015-10-13
- 1.1.4 — 2015-10-12
- 1.1.3 — 2015-10-12
- 1.1.2 — 2015-10-12
- 1.1.1 — 2015-10-12
- 1.1.0 — 2015-10-12
- 1.0.0 — 2015-10-12
- 0.0.0-work-in-progress — 2015-09-10

## README

<h1 align="center" id="/">
  <img alt="parametric.svg" src="https://cdn.rawgit.com/parametric-svg/identity/v1.0.0/logo/basic.svg" />
</h1>

[![Implementations: 3
](https://img.shields.io/badge/implementations-3-9eab05.svg?style=flat-square)
](#/implementations)
 [![SEE IT IN ACTION! ➔
](https://img.shields.io/badge/SEE%20IT%20IN%20ACTION!-%E2%9E%94-555555.svg?style=flat-square)
](http://parametric-svg.js.org)

**Parametric drawings in pure SVG.**




<a id="/in-the-wild"></a>&nbsp;

## In the wild

* The fabulous folks at [flone.cc](http://flone.cc) have used the idea to build an [open source drone](https://tomekwi.github.io/flone-frame)!
* A bunch of educational engineering charts are available at [parametric-svg-demo.firebaseapp.com](https://parametric-svg-demo.firebaseapp.com/).




<a id="/goals"></a>&nbsp;

## Goals

#### ✓ Fully compatible with SVG specs.

*parametric.svg* graphics can be viewed directly in the browser or in a simple SVG viewer. They can be edited and authored in your favorite program – be it *Inkscape*, *Adobe Illustrator*, *vim* or any other.

How is that? *parametric.svg* is just an XML namespace. We don't reinvent the wheel – instead, we extend the impressive capabilities of SVG, which are already built in.


#### ✓ Language-agnostic.

Tailor-cut for the web, but easy to implement in any programming language.


#### ✓ Ready for the future.

There is [a specification for dynamic parameters][svg-params] in the upcoming SVG 2.0. *parametric.svg* [aims to be](https://github.com/parametric-svg/-/issues/2) backwards compatible with it – profiting from all its goodness, and bringing even more than that. We not only support dynamic parameters – but also logical and arithmetic relationships between them and geometry.

SVG 2.0 isn't yet fully standardized and implemented. But *parametric.svg* is built upon existing, stable technologies – ready to be used today.

[svg-params]: http://www.w3.org/TR/SVGParamPrimer/ "SVG Parameters 1.0"


#### ✓ Full-fledged.

*parametric.svg* is a complete set of tools to describe relationships between parameters and elements. For the web it could become what Grasshopper is for CAD.




<a id="/implementations"></a>&nbsp;

## Implementations

* *[\<parametric-svg\>][]* – A custom HTML element.
* *[parametric-svg][]* – A JS library with an easy-to-use API.
* *[@parametric-svg/patch][]* and *[@parametric-svg/parse][]* – A tandem of low-level libraries.

[\<parametric-svg\>]:     https://www.npmjs.com/package/@parametric-svg/element
[parametric-svg]:         https://www.npmjs.com/package/parametric-svg
[@parametric-svg/patch]:   https://www.npmjs.com/package/@parametric-svg/patch
[@parametric-svg/parse]:   https://www.npmjs.com/package/@parametric-svg/parse

---
_Source: https://npm.io/package/parametric-svg-spec · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
