├── docs
├── CNAME
├── data
│ └── world-data.json
├── elements
│ ├── test
│ │ ├── svg.d.ts
│ │ └── svg.js
│ ├── visual
│ │ ├── arrow.d.ts
│ │ ├── label.d.ts
│ │ ├── arrow.js
│ │ ├── label.js
│ │ ├── icon.d.ts
│ │ └── icon.js
│ ├── maps
│ │ ├── geo-json.js
│ │ ├── geo-json.d.ts
│ │ └── united-states.d.ts
│ ├── svg
│ │ ├── title.d.ts
│ │ ├── meta-data.d.ts
│ │ ├── definitions.d.ts
│ │ ├── description.d.ts
│ │ ├── content-model.js
│ │ ├── title.js
│ │ ├── polygon.d.ts
│ │ ├── definitions.js
│ │ ├── description.js
│ │ └── meta-data.js
│ ├── math
│ │ ├── point.d.ts
│ │ └── point.js
│ └── input
│ │ └── control-circle.d.ts
├── tests
│ ├── util
│ │ └── math.test.d.ts
│ ├── articles
│ │ ├── color.test.d.ts
│ │ └── waves.test.d.ts
│ ├── elements
│ │ ├── geometry.test.d.ts
│ │ ├── maps
│ │ │ └── map.test.d.ts
│ │ ├── svg
│ │ │ ├── a.test.d.ts
│ │ │ ├── line.test.d.ts
│ │ │ ├── path.test.d.ts
│ │ │ ├── svg.test.d.ts
│ │ │ ├── text.test.d.ts
│ │ │ ├── circle.test.d.ts
│ │ │ ├── element.test.d.ts
│ │ │ ├── ellipse.test.d.ts
│ │ │ ├── group.test.d.ts
│ │ │ ├── polygon.test.d.ts
│ │ │ ├── rectangle.test.d.ts
│ │ │ └── a.test.js
│ │ ├── graph
│ │ │ └── node.test.d.ts
│ │ ├── input
│ │ │ └── control.test.d.ts
│ │ ├── interactive.test.d.ts
│ │ └── math
│ │ │ └── plot.test.d.ts
│ ├── setup.d.ts
│ ├── model
│ │ ├── linked-list.test.d.ts
│ │ └── dependency-graph.test.d.ts
│ ├── setup.js
│ └── container.d.ts
├── examples
│ ├── elements
│ │ ├── tspan-element.d.ts
│ │ ├── path-element.d.ts
│ │ ├── text-element.d.ts
│ │ ├── line-element.d.ts
│ │ ├── ellipse-element.d.ts
│ │ ├── control-element.d.ts
│ │ ├── rectangle-element.d.ts
│ │ ├── slider-element.d.ts
│ │ ├── arrow-element.d.ts
│ │ ├── check-box-element.d.ts
│ │ ├── control-circle-element.d.ts
│ │ ├── directed-graph-element.d.ts
│ │ ├── plot-element-experimental.d.ts
│ │ ├── scrubber-element.d.ts
│ │ ├── radio-control-element.d.ts
│ │ ├── undirected-graph-element.d.ts
│ │ ├── button-element.d.ts
│ │ ├── dropdown-control-element.d.ts
│ │ ├── dropdown-control-element-temp.d.ts
│ │ └── plot-element.d.ts
│ ├── interaction
│ │ ├── snake-game.d.ts
│ │ ├── mouse-path-game.d.ts
│ │ ├── click-accuracy-game.d.ts
│ │ ├── zoom-pan-element.d.ts
│ │ ├── keyboard.d.ts
│ │ ├── animate-along-path.d.ts
│ │ ├── key-board-input.d.ts
│ │ ├── animate-along-path-vector.d.ts
│ │ ├── coordinate-system.d.ts
│ │ ├── dependency-function.d.ts
│ │ ├── mouse-interaction.d.ts
│ │ └── zoom-in-out.d.ts
│ ├── math
│ │ ├── vector.d.ts
│ │ ├── exponential-tree.d.ts
│ │ ├── normal-distribution.d.ts
│ │ ├── unit-circle-trigonometric-functions.d.ts
│ │ ├── polar-coordinate-system-pi.d.ts
│ │ ├── degrees.d.ts
│ │ ├── radians.d.ts
│ │ ├── approximate-tau.d.ts
│ │ ├── polar-coordinate-system-degrees.d.ts
│ │ ├── polar-coordinate-system-radians.d.ts
│ │ ├── wumbo.d.ts
│ │ ├── number-line.d.ts
│ │ ├── bezier-curve-quadratic.d.ts
│ │ ├── triangle.d.ts
│ │ ├── right-triangle.d.ts
│ │ ├── square-root.d.ts
│ │ ├── cartesian-coordinate-system-test.d.ts
│ │ ├── cartesian-coordinate-system.d.ts
│ │ ├── triangle-area-between-two-vectors.d.ts
│ │ ├── cartesian-coordinate-system-first-quadrant.d.ts
│ │ ├── line-defined-by-two-points.d.ts
│ │ ├── point-where-two-lines-intersect.d.ts
│ │ ├── triangle-law-of-sines.d.ts
│ │ ├── trigonometric-functions.d.ts
│ │ ├── area-between-two-vectors.d.ts
│ │ ├── distance-between-two-points-2d.d.ts
│ │ ├── graphs
│ │ │ └── cosine.d.ts
│ │ ├── cartesian-coordinate-system-continuous.d.ts
│ │ ├── angle.d.ts
│ │ ├── bezier-curve-cubic.d.ts
│ │ ├── circle-defined-by-three-points.d.ts
│ │ ├── angle-between-two-vectors.d.ts
│ │ ├── wumbo.js
│ │ ├── riemann-sum.d.ts
│ │ ├── unit-circle-angle-old.d.ts
│ │ ├── polar-coordinate-system.d.ts
│ │ └── prime-factorization.d.ts
│ ├── svg
│ │ ├── svg-transform-test.d.ts
│ │ ├── load-external-svg.d.ts
│ │ ├── svg-clip-path.d.ts
│ │ ├── svg-scale.d.ts
│ │ ├── svg-rotate.d.ts
│ │ ├── svg-translate.d.ts
│ │ ├── svg-transform.d.ts
│ │ ├── svg-line.d.ts
│ │ ├── svg-rectangle.d.ts
│ │ ├── svg-ellipse.d.ts
│ │ ├── svg-view-box.d.ts
│ │ ├── svg-coordinate-system.d.ts
│ │ ├── svg-marker.d.ts
│ │ ├── svg-coordinate-system-moved.d.ts
│ │ ├── svg-path-arc.d.ts
│ │ ├── svg-path-bezier-cubic.d.ts
│ │ └── svg-path-bezier-quadratic.d.ts
│ ├── hello-world.d.ts
│ ├── color
│ │ ├── contrast.d.ts
│ │ └── color-circle.d.ts
│ ├── maps
│ │ ├── random-color-world.d.ts
│ │ ├── map-zoom-feature.d.ts
│ │ ├── country-selection.d.ts
│ │ ├── world-map.d.ts
│ │ ├── state-quiz.d.ts
│ │ ├── population-data.d.ts
│ │ └── population-of-united-states.d.ts
│ ├── plots
│ │ ├── cosine.d.ts
│ │ ├── sine.d.ts
│ │ └── secant.d.ts
│ ├── waves
│ │ └── trapezoidal.d.ts
│ ├── graph
│ │ ├── tidy-algorithm.d.ts
│ │ ├── merge-sort.d.ts
│ │ └── prime-factorization.d.ts
│ └── hello-world.js
├── favicon.ico
├── favicon.png
├── util
│ ├── save-as.d.ts
│ ├── constants.d.ts
│ ├── svg.d.ts
│ ├── constants.js
│ └── svg.js
├── getting-started.tgz
├── images
│ ├── grayscale.png
│ └── unit-circle.png
├── team
│ ├── derek
│ │ └── headshot.jpg
│ ├── josh
│ │ └── headshot.jpg
│ ├── kurt
│ │ └── headshot.jpg
│ └── zach
│ │ └── headshot.jpg
├── university-of-utah.png
├── interactive.d.ts
├── katex
│ ├── fonts
│ │ ├── KaTeX_AMS-Regular.ttf
│ │ ├── KaTeX_Main-Bold.ttf
│ │ ├── KaTeX_Main-Bold.woff
│ │ ├── KaTeX_Main-Bold.woff2
│ │ ├── KaTeX_Main-Italic.ttf
│ │ ├── KaTeX_Math-Italic.ttf
│ │ ├── KaTeX_AMS-Regular.woff
│ │ ├── KaTeX_AMS-Regular.woff2
│ │ ├── KaTeX_Fraktur-Bold.ttf
│ │ ├── KaTeX_Fraktur-Bold.woff
│ │ ├── KaTeX_Main-Italic.woff
│ │ ├── KaTeX_Main-Italic.woff2
│ │ ├── KaTeX_Main-Regular.ttf
│ │ ├── KaTeX_Main-Regular.woff
│ │ ├── KaTeX_Math-Italic.woff
│ │ ├── KaTeX_Math-Italic.woff2
│ │ ├── KaTeX_Size1-Regular.ttf
│ │ ├── KaTeX_Size2-Regular.ttf
│ │ ├── KaTeX_Size3-Regular.ttf
│ │ ├── KaTeX_Size4-Regular.ttf
│ │ ├── KaTeX_Caligraphic-Bold.ttf
│ │ ├── KaTeX_Fraktur-Bold.woff2
│ │ ├── KaTeX_Fraktur-Regular.ttf
│ │ ├── KaTeX_Fraktur-Regular.woff
│ │ ├── KaTeX_Main-BoldItalic.ttf
│ │ ├── KaTeX_Main-BoldItalic.woff
│ │ ├── KaTeX_Main-Regular.woff2
│ │ ├── KaTeX_Math-BoldItalic.ttf
│ │ ├── KaTeX_Math-BoldItalic.woff
│ │ ├── KaTeX_SansSerif-Bold.ttf
│ │ ├── KaTeX_SansSerif-Bold.woff
│ │ ├── KaTeX_SansSerif-Bold.woff2
│ │ ├── KaTeX_SansSerif-Italic.ttf
│ │ ├── KaTeX_Script-Regular.ttf
│ │ ├── KaTeX_Script-Regular.woff
│ │ ├── KaTeX_Script-Regular.woff2
│ │ ├── KaTeX_Size1-Regular.woff
│ │ ├── KaTeX_Size1-Regular.woff2
│ │ ├── KaTeX_Size2-Regular.woff
│ │ ├── KaTeX_Size2-Regular.woff2
│ │ ├── KaTeX_Size3-Regular.woff
│ │ ├── KaTeX_Size3-Regular.woff2
│ │ ├── KaTeX_Size4-Regular.woff
│ │ ├── KaTeX_Size4-Regular.woff2
│ │ ├── KaTeX_Caligraphic-Bold.woff
│ │ ├── KaTeX_Caligraphic-Bold.woff2
│ │ ├── KaTeX_Fraktur-Regular.woff2
│ │ ├── KaTeX_Main-BoldItalic.woff2
│ │ ├── KaTeX_Math-BoldItalic.woff2
│ │ ├── KaTeX_SansSerif-Italic.woff
│ │ ├── KaTeX_SansSerif-Italic.woff2
│ │ ├── KaTeX_SansSerif-Regular.ttf
│ │ ├── KaTeX_SansSerif-Regular.woff
│ │ ├── KaTeX_Typewriter-Regular.ttf
│ │ ├── KaTeX_Caligraphic-Regular.ttf
│ │ ├── KaTeX_Caligraphic-Regular.woff
│ │ ├── KaTeX_Caligraphic-Regular.woff2
│ │ ├── KaTeX_SansSerif-Regular.woff2
│ │ ├── KaTeX_Typewriter-Regular.woff
│ │ └── KaTeX_Typewriter-Regular.woff2
│ └── contrib
│ │ └── copy-tex.min.css
├── interactive.js
├── logo.svg
├── icons
│ ├── icon.svg
│ ├── about.svg
│ ├── svg.svg
│ ├── favicon.svg
│ ├── style.svg
│ ├── line.svg
│ ├── basic-elements.svg
│ ├── utah.svg
│ ├── mouse.svg
│ ├── path.svg
│ ├── rectangle.svg
│ ├── scripting.svg
│ ├── circle.svg
│ ├── control.svg
│ ├── styling.svg
│ ├── symbol.svg
│ ├── ellipse.svg
│ ├── maps.svg
│ ├── elements.svg
│ ├── interaction.svg
│ ├── full-screen-view.svg
│ ├── graph.svg
│ ├── path-element.svg
│ └── animation.svg
├── logo-dark.svg
├── icon.svg
├── tutorials
│ └── control-with-position
│ │ └── step-0.js
├── bad
│ └── index.html
├── play-button.svg
└── logo-hero.svg
├── dist
├── elements
│ ├── test
│ │ ├── svg.d.ts
│ │ └── svg.js
│ ├── visual
│ │ ├── arrow.d.ts
│ │ ├── label.d.ts
│ │ ├── arrow.js
│ │ ├── label.js
│ │ ├── icon.d.ts
│ │ └── icon.js
│ ├── maps
│ │ ├── geo-json.js
│ │ ├── geo-json.d.ts
│ │ └── united-states.d.ts
│ ├── svg
│ │ ├── title.d.ts
│ │ ├── meta-data.d.ts
│ │ ├── definitions.d.ts
│ │ ├── description.d.ts
│ │ ├── content-model.js
│ │ ├── title.js
│ │ ├── polygon.d.ts
│ │ ├── definitions.js
│ │ ├── description.js
│ │ └── meta-data.js
│ ├── math
│ │ ├── point.d.ts
│ │ └── point.js
│ └── input
│ │ └── control-circle.d.ts
├── tests
│ ├── util
│ │ └── math.test.d.ts
│ ├── articles
│ │ ├── color.test.d.ts
│ │ └── waves.test.d.ts
│ ├── elements
│ │ ├── geometry.test.d.ts
│ │ ├── maps
│ │ │ └── map.test.d.ts
│ │ ├── svg
│ │ │ ├── a.test.d.ts
│ │ │ ├── line.test.d.ts
│ │ │ ├── path.test.d.ts
│ │ │ ├── svg.test.d.ts
│ │ │ ├── text.test.d.ts
│ │ │ ├── circle.test.d.ts
│ │ │ ├── element.test.d.ts
│ │ │ ├── ellipse.test.d.ts
│ │ │ ├── group.test.d.ts
│ │ │ ├── polygon.test.d.ts
│ │ │ ├── rectangle.test.d.ts
│ │ │ └── a.test.js
│ │ ├── graph
│ │ │ └── node.test.d.ts
│ │ ├── input
│ │ │ └── control.test.d.ts
│ │ ├── interactive.test.d.ts
│ │ └── math
│ │ │ └── plot.test.d.ts
│ ├── setup.d.ts
│ ├── model
│ │ ├── linked-list.test.d.ts
│ │ └── dependency-graph.test.d.ts
│ ├── setup.js
│ └── container.d.ts
├── examples
│ ├── elements
│ │ ├── tspan-element.d.ts
│ │ ├── path-element.d.ts
│ │ ├── text-element.d.ts
│ │ ├── line-element.d.ts
│ │ ├── ellipse-element.d.ts
│ │ ├── control-element.d.ts
│ │ ├── rectangle-element.d.ts
│ │ ├── slider-element.d.ts
│ │ ├── arrow-element.d.ts
│ │ ├── check-box-element.d.ts
│ │ ├── control-circle-element.d.ts
│ │ ├── directed-graph-element.d.ts
│ │ ├── plot-element-experimental.d.ts
│ │ ├── scrubber-element.d.ts
│ │ ├── radio-control-element.d.ts
│ │ ├── undirected-graph-element.d.ts
│ │ ├── button-element.d.ts
│ │ ├── dropdown-control-element.d.ts
│ │ ├── dropdown-control-element-temp.d.ts
│ │ └── plot-element.d.ts
│ ├── interaction
│ │ ├── snake-game.d.ts
│ │ ├── mouse-path-game.d.ts
│ │ ├── click-accuracy-game.d.ts
│ │ ├── zoom-pan-element.d.ts
│ │ ├── keyboard.d.ts
│ │ ├── animate-along-path.d.ts
│ │ ├── key-board-input.d.ts
│ │ ├── animate-along-path-vector.d.ts
│ │ ├── coordinate-system.d.ts
│ │ ├── dependency-function.d.ts
│ │ ├── mouse-interaction.d.ts
│ │ └── zoom-in-out.d.ts
│ ├── math
│ │ ├── vector.d.ts
│ │ ├── exponential-tree.d.ts
│ │ ├── normal-distribution.d.ts
│ │ ├── unit-circle-trigonometric-functions.d.ts
│ │ ├── polar-coordinate-system-pi.d.ts
│ │ ├── degrees.d.ts
│ │ ├── radians.d.ts
│ │ ├── approximate-tau.d.ts
│ │ ├── polar-coordinate-system-degrees.d.ts
│ │ ├── polar-coordinate-system-radians.d.ts
│ │ ├── wumbo.d.ts
│ │ ├── number-line.d.ts
│ │ ├── bezier-curve-quadratic.d.ts
│ │ ├── triangle.d.ts
│ │ ├── right-triangle.d.ts
│ │ ├── square-root.d.ts
│ │ ├── cartesian-coordinate-system-test.d.ts
│ │ ├── cartesian-coordinate-system.d.ts
│ │ ├── triangle-area-between-two-vectors.d.ts
│ │ ├── cartesian-coordinate-system-first-quadrant.d.ts
│ │ ├── line-defined-by-two-points.d.ts
│ │ ├── point-where-two-lines-intersect.d.ts
│ │ ├── triangle-law-of-sines.d.ts
│ │ ├── trigonometric-functions.d.ts
│ │ ├── area-between-two-vectors.d.ts
│ │ ├── distance-between-two-points-2d.d.ts
│ │ ├── graphs
│ │ │ └── cosine.d.ts
│ │ ├── cartesian-coordinate-system-continuous.d.ts
│ │ ├── angle.d.ts
│ │ ├── bezier-curve-cubic.d.ts
│ │ ├── circle-defined-by-three-points.d.ts
│ │ ├── angle-between-two-vectors.d.ts
│ │ ├── wumbo.js
│ │ ├── riemann-sum.d.ts
│ │ ├── unit-circle-angle-old.d.ts
│ │ ├── polar-coordinate-system.d.ts
│ │ └── prime-factorization.d.ts
│ ├── svg
│ │ ├── svg-transform-test.d.ts
│ │ ├── load-external-svg.d.ts
│ │ ├── svg-clip-path.d.ts
│ │ ├── svg-scale.d.ts
│ │ ├── svg-rotate.d.ts
│ │ ├── svg-translate.d.ts
│ │ ├── svg-transform.d.ts
│ │ ├── svg-line.d.ts
│ │ ├── svg-rectangle.d.ts
│ │ ├── svg-ellipse.d.ts
│ │ ├── svg-view-box.d.ts
│ │ ├── svg-coordinate-system.d.ts
│ │ ├── svg-marker.d.ts
│ │ ├── svg-coordinate-system-moved.d.ts
│ │ ├── svg-path-arc.d.ts
│ │ ├── svg-path-bezier-cubic.d.ts
│ │ └── svg-path-bezier-quadratic.d.ts
│ ├── hello-world.d.ts
│ ├── color
│ │ ├── contrast.d.ts
│ │ └── color-circle.d.ts
│ ├── maps
│ │ ├── random-color-world.d.ts
│ │ ├── map-zoom-feature.d.ts
│ │ ├── country-selection.d.ts
│ │ ├── world-map.d.ts
│ │ ├── state-quiz.d.ts
│ │ ├── population-data.d.ts
│ │ └── population-of-united-states.d.ts
│ ├── plots
│ │ ├── cosine.d.ts
│ │ ├── sine.d.ts
│ │ └── secant.d.ts
│ ├── waves
│ │ └── trapezoidal.d.ts
│ ├── graph
│ │ ├── tidy-algorithm.d.ts
│ │ ├── merge-sort.d.ts
│ │ └── prime-factorization.d.ts
│ └── hello-world.js
├── util
│ ├── save-as.d.ts
│ ├── constants.d.ts
│ ├── svg.d.ts
│ ├── constants.js
│ └── svg.js
├── getting-started.tgz
├── interactive.d.ts
└── interactive.js
├── source
├── elements
│ ├── test
│ │ └── svg.ts
│ ├── visual
│ │ ├── arrow.ts
│ │ ├── label.ts
│ │ └── icon.ts
│ ├── maps
│ │ └── geo-json.ts
│ ├── math
│ │ └── point.ts
│ └── svg
│ │ ├── title.ts
│ │ ├── definitions.ts
│ │ ├── description.ts
│ │ └── meta-data.ts
├── tests
│ ├── setup.ts
│ └── elements
│ │ └── svg
│ │ └── a.test.ts
├── interactive.ts
├── util
│ ├── constants.ts
│ └── svg.ts
└── examples
│ ├── hello-world.ts
│ └── math
│ └── wumbo.ts
├── website
├── .hugo_build.lock
├── content
│ ├── CNAME
│ ├── tests
│ │ └── _index.md
│ ├── svg
│ │ ├── elements
│ │ │ ├── pattern
│ │ │ │ └── index.md
│ │ │ ├── use
│ │ │ │ └── index.md
│ │ │ ├── polygon
│ │ │ │ └── index.md
│ │ │ ├── t-span
│ │ │ │ └── index.md
│ │ │ ├── text
│ │ │ │ └── index.md
│ │ │ ├── symbol
│ │ │ │ └── index.md
│ │ │ ├── a
│ │ │ │ └── index.md
│ │ │ ├── defs
│ │ │ │ └── index.md
│ │ │ ├── group
│ │ │ │ └── index.md
│ │ │ ├── path
│ │ │ │ ├── line-command
│ │ │ │ │ └── index.md
│ │ │ │ ├── bezier-curve-cubic
│ │ │ │ │ └── index.md
│ │ │ │ └── bezier-curve-quadratic
│ │ │ │ │ └── index.md
│ │ │ ├── _index.md
│ │ │ └── marker
│ │ │ │ └── index.md
│ │ └── viewbox
│ │ │ └── index.md
│ ├── team
│ │ ├── josh
│ │ │ └── headshot.jpg
│ │ ├── kurt
│ │ │ └── headshot.jpg
│ │ ├── zach
│ │ │ └── headshot.jpg
│ │ └── derek
│ │ │ └── headshot.jpg
│ ├── tutorials
│ │ ├── _index.md
│ │ └── control-with-position
│ │ │ └── step-0.js
│ └── examples
│ │ ├── plot-secant.md
│ │ └── _index.md
├── layouts
│ ├── _default
│ │ ├── content.html
│ │ ├── li.html
│ │ ├── summary.html
│ │ ├── list.html
│ │ ├── single.html
│ │ ├── row.html
│ │ ├── aside.html
│ │ ├── video.html
│ │ ├── card.html
│ │ └── link.html
│ ├── shortcodes
│ │ ├── baseURL.html
│ │ ├── readFile.html
│ │ ├── id.html
│ │ ├── render.html
│ │ ├── partial.html
│ │ ├── interact.html
│ │ ├── example-old.html
│ │ ├── header-link.html
│ │ └── interactive.html
│ ├── svg
│ │ ├── list.html
│ │ ├── single.html
│ │ └── svg-aside-list.html
│ ├── 404.html
│ ├── partials
│ │ ├── usage.html
│ │ ├── getting-started.html
│ │ ├── style.html
│ │ ├── github-button.html
│ │ ├── redirect.html
│ │ ├── examples.html
│ │ └── analytics.html
│ ├── sandbox
│ │ └── sandbox.html
│ ├── examples
│ │ └── free-form.html
│ └── team
│ │ ├── tr.html
│ │ └── single.html
├── static
│ ├── favicon.ico
│ ├── favicon.png
│ ├── images
│ │ ├── grayscale.png
│ │ └── unit-circle.png
│ ├── university-of-utah.png
│ ├── katex
│ │ ├── fonts
│ │ │ ├── KaTeX_AMS-Regular.ttf
│ │ │ ├── KaTeX_Main-Bold.ttf
│ │ │ ├── KaTeX_Main-Bold.woff
│ │ │ ├── KaTeX_Main-Bold.woff2
│ │ │ ├── KaTeX_Main-Italic.ttf
│ │ │ ├── KaTeX_Math-Italic.ttf
│ │ │ ├── KaTeX_AMS-Regular.woff
│ │ │ ├── KaTeX_AMS-Regular.woff2
│ │ │ ├── KaTeX_Fraktur-Bold.ttf
│ │ │ ├── KaTeX_Fraktur-Bold.woff
│ │ │ ├── KaTeX_Main-Italic.woff
│ │ │ ├── KaTeX_Main-Italic.woff2
│ │ │ ├── KaTeX_Main-Regular.ttf
│ │ │ ├── KaTeX_Main-Regular.woff
│ │ │ ├── KaTeX_Math-Italic.woff
│ │ │ ├── KaTeX_Math-Italic.woff2
│ │ │ ├── KaTeX_Size1-Regular.ttf
│ │ │ ├── KaTeX_Size2-Regular.ttf
│ │ │ ├── KaTeX_Size3-Regular.ttf
│ │ │ ├── KaTeX_Size4-Regular.ttf
│ │ │ ├── KaTeX_Caligraphic-Bold.ttf
│ │ │ ├── KaTeX_Fraktur-Bold.woff2
│ │ │ ├── KaTeX_Fraktur-Regular.ttf
│ │ │ ├── KaTeX_Fraktur-Regular.woff
│ │ │ ├── KaTeX_Main-BoldItalic.ttf
│ │ │ ├── KaTeX_Main-BoldItalic.woff
│ │ │ ├── KaTeX_Main-Regular.woff2
│ │ │ ├── KaTeX_Math-BoldItalic.ttf
│ │ │ ├── KaTeX_Math-BoldItalic.woff
│ │ │ ├── KaTeX_SansSerif-Bold.ttf
│ │ │ ├── KaTeX_SansSerif-Bold.woff
│ │ │ ├── KaTeX_SansSerif-Bold.woff2
│ │ │ ├── KaTeX_SansSerif-Italic.ttf
│ │ │ ├── KaTeX_Script-Regular.ttf
│ │ │ ├── KaTeX_Script-Regular.woff
│ │ │ ├── KaTeX_Script-Regular.woff2
│ │ │ ├── KaTeX_Size1-Regular.woff
│ │ │ ├── KaTeX_Size1-Regular.woff2
│ │ │ ├── KaTeX_Size2-Regular.woff
│ │ │ ├── KaTeX_Size2-Regular.woff2
│ │ │ ├── KaTeX_Size3-Regular.woff
│ │ │ ├── KaTeX_Size3-Regular.woff2
│ │ │ ├── KaTeX_Size4-Regular.woff
│ │ │ ├── KaTeX_Size4-Regular.woff2
│ │ │ ├── KaTeX_Caligraphic-Bold.woff
│ │ │ ├── KaTeX_Caligraphic-Bold.woff2
│ │ │ ├── KaTeX_Fraktur-Regular.woff2
│ │ │ ├── KaTeX_Main-BoldItalic.woff2
│ │ │ ├── KaTeX_Math-BoldItalic.woff2
│ │ │ ├── KaTeX_SansSerif-Italic.woff
│ │ │ ├── KaTeX_SansSerif-Italic.woff2
│ │ │ ├── KaTeX_SansSerif-Regular.ttf
│ │ │ ├── KaTeX_SansSerif-Regular.woff
│ │ │ ├── KaTeX_Typewriter-Regular.ttf
│ │ │ ├── KaTeX_Caligraphic-Regular.ttf
│ │ │ ├── KaTeX_Caligraphic-Regular.woff
│ │ │ ├── KaTeX_Caligraphic-Regular.woff2
│ │ │ ├── KaTeX_SansSerif-Regular.woff2
│ │ │ ├── KaTeX_Typewriter-Regular.woff
│ │ │ └── KaTeX_Typewriter-Regular.woff2
│ │ └── contrib
│ │ │ └── copy-tex.min.css
│ ├── logo.svg
│ ├── icons
│ │ ├── about.svg
│ │ ├── svg.svg
│ │ ├── icon.svg
│ │ ├── style.svg
│ │ ├── styling.svg
│ │ ├── symbol.svg
│ │ ├── line.svg
│ │ ├── basic-elements.svg
│ │ ├── maps.svg
│ │ ├── interaction.svg
│ │ └── path.svg
│ ├── logo-dark.svg
│ ├── icon.svg
│ ├── play-button.svg
│ └── logo-hero.svg
├── resources
│ └── _gen
│ │ └── assets
│ │ └── scss
│ │ └── scss
│ │ └── main.scss_f300667da4f5b5f84e1a9e0702b2fdde.json
├── archetypes
│ └── default.md
└── assets
│ └── scss
│ └── base
│ └── _reset.scss
├── resources
├── data
│ └── world-data.json
└── icons
│ ├── icon.svg
│ ├── favicon.svg
│ ├── style.svg
│ ├── line.svg
│ ├── basic-elements.svg
│ ├── utah.svg
│ ├── mouse.svg
│ ├── path.svg
│ ├── rectangle.svg
│ ├── scripting.svg
│ ├── circle.svg
│ ├── control.svg
│ ├── ellipse.svg
│ ├── elements.svg
│ ├── full-screen-view.svg
│ └── graph.svg
├── favicon.ico
├── katex
├── fonts
│ ├── KaTeX_AMS-Regular.ttf
│ ├── KaTeX_Main-Bold.ttf
│ ├── KaTeX_Main-Bold.woff
│ ├── KaTeX_Main-Bold.woff2
│ ├── KaTeX_Main-Italic.ttf
│ ├── KaTeX_Math-Italic.ttf
│ ├── KaTeX_AMS-Regular.woff
│ ├── KaTeX_AMS-Regular.woff2
│ ├── KaTeX_Fraktur-Bold.ttf
│ ├── KaTeX_Fraktur-Bold.woff
│ ├── KaTeX_Main-Italic.woff
│ ├── KaTeX_Main-Italic.woff2
│ ├── KaTeX_Main-Regular.ttf
│ ├── KaTeX_Main-Regular.woff
│ ├── KaTeX_Math-Italic.woff
│ ├── KaTeX_Math-Italic.woff2
│ ├── KaTeX_Size1-Regular.ttf
│ ├── KaTeX_Size2-Regular.ttf
│ ├── KaTeX_Size3-Regular.ttf
│ ├── KaTeX_Size4-Regular.ttf
│ ├── KaTeX_Caligraphic-Bold.ttf
│ ├── KaTeX_Fraktur-Bold.woff2
│ ├── KaTeX_Fraktur-Regular.ttf
│ ├── KaTeX_Fraktur-Regular.woff
│ ├── KaTeX_Main-BoldItalic.ttf
│ ├── KaTeX_Main-BoldItalic.woff
│ ├── KaTeX_Main-Regular.woff2
│ ├── KaTeX_Math-BoldItalic.ttf
│ ├── KaTeX_Math-BoldItalic.woff
│ ├── KaTeX_SansSerif-Bold.ttf
│ ├── KaTeX_SansSerif-Bold.woff
│ ├── KaTeX_SansSerif-Bold.woff2
│ ├── KaTeX_SansSerif-Italic.ttf
│ ├── KaTeX_Script-Regular.ttf
│ ├── KaTeX_Script-Regular.woff
│ ├── KaTeX_Script-Regular.woff2
│ ├── KaTeX_Size1-Regular.woff
│ ├── KaTeX_Size1-Regular.woff2
│ ├── KaTeX_Size2-Regular.woff
│ ├── KaTeX_Size2-Regular.woff2
│ ├── KaTeX_Size3-Regular.woff
│ ├── KaTeX_Size3-Regular.woff2
│ ├── KaTeX_Size4-Regular.woff
│ ├── KaTeX_Size4-Regular.woff2
│ ├── KaTeX_Caligraphic-Bold.woff
│ ├── KaTeX_Caligraphic-Bold.woff2
│ ├── KaTeX_Fraktur-Regular.woff2
│ ├── KaTeX_Main-BoldItalic.woff2
│ ├── KaTeX_Math-BoldItalic.woff2
│ ├── KaTeX_SansSerif-Italic.woff
│ ├── KaTeX_SansSerif-Italic.woff2
│ ├── KaTeX_SansSerif-Regular.ttf
│ ├── KaTeX_SansSerif-Regular.woff
│ ├── KaTeX_Typewriter-Regular.ttf
│ ├── KaTeX_Caligraphic-Regular.ttf
│ ├── KaTeX_Caligraphic-Regular.woff
│ ├── KaTeX_Caligraphic-Regular.woff2
│ ├── KaTeX_SansSerif-Regular.woff2
│ ├── KaTeX_Typewriter-Regular.woff
│ └── KaTeX_Typewriter-Regular.woff2
└── contrib
│ └── copy-tex.min.css
├── .gitignore
├── rollup.config.js
└── getting-started.sh
/docs/CNAME:
--------------------------------------------------------------------------------
1 | vectorjs.org
--------------------------------------------------------------------------------
/dist/elements/test/svg.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/data/world-data.json:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/elements/test/svg.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/source/elements/test/svg.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/website/.hugo_build.lock:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dist/elements/visual/arrow.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dist/elements/visual/label.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/elements/visual/arrow.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/elements/visual/label.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/resources/data/world-data.json:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/source/elements/visual/arrow.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/website/content/CNAME:
--------------------------------------------------------------------------------
1 | vectorjs.org
--------------------------------------------------------------------------------
/dist/tests/util/math.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/util/math.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/articles/color.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/geometry.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/maps/map.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/svg/a.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/svg/line.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/svg/path.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/svg/svg.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/svg/text.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/articles/color.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/geometry.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/maps/map.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/svg/a.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/svg/line.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/svg/path.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/svg/svg.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/svg/text.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/elements/test/svg.js:
--------------------------------------------------------------------------------
1 | //# sourceMappingURL=svg.js.map
--------------------------------------------------------------------------------
/dist/examples/elements/tspan-element.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/examples/interaction/snake-game.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/graph/node.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/input/control.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/interactive.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/math/plot.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/svg/circle.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/svg/element.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/svg/ellipse.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/svg/group.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/svg/polygon.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/dist/tests/elements/svg/rectangle.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/elements/test/svg.js:
--------------------------------------------------------------------------------
1 | //# sourceMappingURL=svg.js.map
--------------------------------------------------------------------------------
/docs/examples/elements/tspan-element.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/examples/interaction/snake-game.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/graph/node.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/input/control.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/interactive.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/math/plot.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/svg/circle.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/svg/element.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/svg/ellipse.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/svg/group.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/svg/polygon.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/tests/elements/svg/rectangle.test.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/website/layouts/_default/content.html:
--------------------------------------------------------------------------------
1 | {{ .Content }}
2 |
--------------------------------------------------------------------------------
/dist/elements/visual/arrow.js:
--------------------------------------------------------------------------------
1 | //# sourceMappingURL=arrow.js.map
--------------------------------------------------------------------------------
/dist/examples/interaction/mouse-path-game.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/elements/visual/arrow.js:
--------------------------------------------------------------------------------
1 | //# sourceMappingURL=arrow.js.map
--------------------------------------------------------------------------------
/docs/examples/interaction/mouse-path-game.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/website/layouts/_default/li.html:
--------------------------------------------------------------------------------
1 |
{{.Description}}
2 |
--------------------------------------------------------------------------------
/dist/examples/interaction/click-accuracy-game.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/docs/examples/interaction/click-accuracy-game.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/source/elements/visual/label.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 | // TODO: a label is
4 |
--------------------------------------------------------------------------------
/website/layouts/_default/summary.html:
--------------------------------------------------------------------------------
1 | {{.Description}}
2 |
--------------------------------------------------------------------------------
/website/layouts/shortcodes/baseURL.html:
--------------------------------------------------------------------------------
1 | {{- $.Site.BaseURL -}}
2 |
--------------------------------------------------------------------------------
/dist/tests/setup.d.ts:
--------------------------------------------------------------------------------
1 | import 'https://unpkg.com/chai@4.1.2/chai.js';
2 |
--------------------------------------------------------------------------------
/docs/tests/setup.d.ts:
--------------------------------------------------------------------------------
1 | import 'https://unpkg.com/chai@4.1.2/chai.js';
2 |
--------------------------------------------------------------------------------
/website/layouts/shortcodes/readFile.html:
--------------------------------------------------------------------------------
1 | {{ readFile (.Get 0 ) }}
2 |
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/favicon.ico
--------------------------------------------------------------------------------
/dist/elements/maps/geo-json.js:
--------------------------------------------------------------------------------
1 | export {};
2 | //# sourceMappingURL=geo-json.js.map
--------------------------------------------------------------------------------
/dist/examples/math/vector.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export {};
5 |
--------------------------------------------------------------------------------
/dist/tests/model/linked-list.test.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore
3 | */
4 | export {};
5 |
--------------------------------------------------------------------------------
/docs/elements/maps/geo-json.js:
--------------------------------------------------------------------------------
1 | export {};
2 | //# sourceMappingURL=geo-json.js.map
--------------------------------------------------------------------------------
/docs/examples/math/vector.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export {};
5 |
--------------------------------------------------------------------------------
/docs/tests/model/linked-list.test.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore
3 | */
4 | export {};
5 |
--------------------------------------------------------------------------------
/dist/elements/visual/label.js:
--------------------------------------------------------------------------------
1 | // TODO: a label is
2 | //# sourceMappingURL=label.js.map
--------------------------------------------------------------------------------
/dist/tests/model/dependency-graph.test.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore
3 | */
4 | export {};
5 |
--------------------------------------------------------------------------------
/docs/elements/visual/label.js:
--------------------------------------------------------------------------------
1 | // TODO: a label is
2 | //# sourceMappingURL=label.js.map
--------------------------------------------------------------------------------
/docs/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/favicon.ico
--------------------------------------------------------------------------------
/docs/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/favicon.png
--------------------------------------------------------------------------------
/docs/tests/model/dependency-graph.test.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore
3 | */
4 | export {};
5 |
--------------------------------------------------------------------------------
/website/content/tests/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Unit Tests
3 | description:
4 | ---
5 |
--------------------------------------------------------------------------------
/dist/examples/math/exponential-tree.d.ts:
--------------------------------------------------------------------------------
1 | export default function main(id: string): void;
2 |
--------------------------------------------------------------------------------
/dist/examples/math/normal-distribution.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export {};
5 |
--------------------------------------------------------------------------------
/dist/examples/math/unit-circle-trigonometric-functions.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 |
--------------------------------------------------------------------------------
/docs/examples/math/exponential-tree.d.ts:
--------------------------------------------------------------------------------
1 | export default function main(id: string): void;
2 |
--------------------------------------------------------------------------------
/docs/examples/math/normal-distribution.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export {};
5 |
--------------------------------------------------------------------------------
/docs/examples/math/unit-circle-trigonometric-functions.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 |
--------------------------------------------------------------------------------
/source/elements/maps/geo-json.ts:
--------------------------------------------------------------------------------
1 | export interface GeoJSON {
2 | features: Array
3 | }
--------------------------------------------------------------------------------
/dist/util/save-as.d.ts:
--------------------------------------------------------------------------------
1 | export declare function saveAs(blob: any, name: any, opts: any): void;
2 |
--------------------------------------------------------------------------------
/docs/util/save-as.d.ts:
--------------------------------------------------------------------------------
1 | export declare function saveAs(blob: any, name: any, opts: any): void;
2 |
--------------------------------------------------------------------------------
/website/layouts/shortcodes/id.html:
--------------------------------------------------------------------------------
1 | {{- print "interactive" (urlize $.Page.Params.Title) -}}
2 |
--------------------------------------------------------------------------------
/website/layouts/svg/list.html:
--------------------------------------------------------------------------------
1 | {{ partial "redirect" "https://kurtbruns.github.io/svg-tutorial/" }}
--------------------------------------------------------------------------------
/dist/elements/maps/geo-json.d.ts:
--------------------------------------------------------------------------------
1 | export interface GeoJSON {
2 | features: Array;
3 | }
4 |
--------------------------------------------------------------------------------
/dist/examples/math/polar-coordinate-system-pi.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export {};
5 |
--------------------------------------------------------------------------------
/dist/getting-started.tgz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/dist/getting-started.tgz
--------------------------------------------------------------------------------
/docs/elements/maps/geo-json.d.ts:
--------------------------------------------------------------------------------
1 | export interface GeoJSON {
2 | features: Array;
3 | }
4 |
--------------------------------------------------------------------------------
/docs/examples/math/polar-coordinate-system-pi.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export {};
5 |
--------------------------------------------------------------------------------
/docs/getting-started.tgz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/getting-started.tgz
--------------------------------------------------------------------------------
/docs/images/grayscale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/images/grayscale.png
--------------------------------------------------------------------------------
/source/tests/setup.ts:
--------------------------------------------------------------------------------
1 | import 'https://unpkg.com/chai@4.1.2/chai.js';
2 |
3 | mocha.setup('bdd');
4 |
--------------------------------------------------------------------------------
/website/layouts/svg/single.html:
--------------------------------------------------------------------------------
1 | {{ partial "redirect" "https://kurtbruns.github.io/svg-tutorial/" }}
--------------------------------------------------------------------------------
/docs/images/unit-circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/images/unit-circle.png
--------------------------------------------------------------------------------
/docs/team/derek/headshot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/team/derek/headshot.jpg
--------------------------------------------------------------------------------
/docs/team/josh/headshot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/team/josh/headshot.jpg
--------------------------------------------------------------------------------
/docs/team/kurt/headshot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/team/kurt/headshot.jpg
--------------------------------------------------------------------------------
/docs/team/zach/headshot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/team/zach/headshot.jpg
--------------------------------------------------------------------------------
/docs/university-of-utah.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/university-of-utah.png
--------------------------------------------------------------------------------
/website/layouts/404.html:
--------------------------------------------------------------------------------
1 | {{ define "main" }}
2 |
3 | 404: Page Not Found
4 |
5 | {{ end }}
6 |
--------------------------------------------------------------------------------
/website/layouts/svg/svg-aside-list.html:
--------------------------------------------------------------------------------
1 | {{ partial "redirect" "https://kurtbruns.github.io/svg-tutorial/" }}
--------------------------------------------------------------------------------
/website/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/favicon.ico
--------------------------------------------------------------------------------
/website/static/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/favicon.png
--------------------------------------------------------------------------------
/dist/interactive.d.ts:
--------------------------------------------------------------------------------
1 | import Interactive from "./elements/interactive.js";
2 | export default Interactive;
3 |
--------------------------------------------------------------------------------
/docs/interactive.d.ts:
--------------------------------------------------------------------------------
1 | import Interactive from "./elements/interactive.js";
2 | export default Interactive;
3 |
--------------------------------------------------------------------------------
/source/interactive.ts:
--------------------------------------------------------------------------------
1 | import Interactive from "./elements/interactive.js";
2 | export default Interactive;
3 |
--------------------------------------------------------------------------------
/website/layouts/_default/list.html:
--------------------------------------------------------------------------------
1 | {{ define "main" }}
2 | {{.Title}}
3 | {{.Content}}
4 | {{ end }}
5 |
--------------------------------------------------------------------------------
/dist/examples/math/degrees.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export default function main(id: string): void;
5 |
--------------------------------------------------------------------------------
/dist/examples/math/radians.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export default function main(id: string): void;
5 |
--------------------------------------------------------------------------------
/docs/examples/math/degrees.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export default function main(id: string): void;
5 |
--------------------------------------------------------------------------------
/docs/examples/math/radians.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export default function main(id: string): void;
5 |
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_AMS-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_AMS-Regular.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-Bold.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-Bold.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-Bold.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-Italic.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Math-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Math-Italic.ttf
--------------------------------------------------------------------------------
/website/content/svg/elements/pattern/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Pattern
3 | description:
4 | hidden: true
5 | ---
6 |
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_AMS-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_AMS-Regular.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_AMS-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_AMS-Regular.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Fraktur-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Fraktur-Bold.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Fraktur-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Fraktur-Bold.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-Italic.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-Italic.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-Regular.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-Regular.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Math-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Math-Italic.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Math-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Math-Italic.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size1-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size1-Regular.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size2-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size2-Regular.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size3-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size3-Regular.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size4-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size4-Regular.ttf
--------------------------------------------------------------------------------
/website/layouts/partials/usage.html:
--------------------------------------------------------------------------------
1 | {{ with .Site.GetPage "/usage/index" }}
2 |
3 | {{ .Content }}
4 |
5 | {{ end }}
6 |
--------------------------------------------------------------------------------
/website/static/images/grayscale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/images/grayscale.png
--------------------------------------------------------------------------------
/dist/examples/math/approximate-tau.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export default function main(id: string): void;
5 |
--------------------------------------------------------------------------------
/dist/tests/setup.js:
--------------------------------------------------------------------------------
1 | import 'https://unpkg.com/chai@4.1.2/chai.js';
2 | mocha.setup('bdd');
3 | //# sourceMappingURL=setup.js.map
--------------------------------------------------------------------------------
/docs/examples/math/approximate-tau.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export default function main(id: string): void;
5 |
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_AMS-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_AMS-Regular.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-Bold.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-Bold.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-Bold.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-Italic.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Math-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Math-Italic.ttf
--------------------------------------------------------------------------------
/docs/tests/setup.js:
--------------------------------------------------------------------------------
1 | import 'https://unpkg.com/chai@4.1.2/chai.js';
2 | mocha.setup('bdd');
3 | //# sourceMappingURL=setup.js.map
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Caligraphic-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Caligraphic-Bold.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Fraktur-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Fraktur-Bold.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Fraktur-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Fraktur-Regular.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Fraktur-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Fraktur-Regular.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-BoldItalic.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-BoldItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-BoldItalic.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-Regular.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Math-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Math-BoldItalic.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Math-BoldItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Math-BoldItalic.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_SansSerif-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_SansSerif-Bold.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_SansSerif-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_SansSerif-Bold.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_SansSerif-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_SansSerif-Bold.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_SansSerif-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_SansSerif-Italic.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Script-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Script-Regular.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Script-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Script-Regular.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Script-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Script-Regular.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size1-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size1-Regular.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size1-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size1-Regular.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size2-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size2-Regular.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size2-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size2-Regular.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size3-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size3-Regular.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size3-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size3-Regular.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size4-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size4-Regular.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Size4-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Size4-Regular.woff2
--------------------------------------------------------------------------------
/website/content/svg/elements/use/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Use
3 | description:
4 | structural: true
5 | hidden: true
6 | ---
7 |
--------------------------------------------------------------------------------
/website/content/team/josh/headshot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/content/team/josh/headshot.jpg
--------------------------------------------------------------------------------
/website/content/team/kurt/headshot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/content/team/kurt/headshot.jpg
--------------------------------------------------------------------------------
/website/content/team/zach/headshot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/content/team/zach/headshot.jpg
--------------------------------------------------------------------------------
/website/static/images/unit-circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/images/unit-circle.png
--------------------------------------------------------------------------------
/website/static/university-of-utah.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/university-of-utah.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | builds
4 | cache
5 | types
6 | *.js.map
7 | # docs
8 | # dist
9 | vector.js
10 |
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_AMS-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_AMS-Regular.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_AMS-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_AMS-Regular.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Fraktur-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Fraktur-Bold.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Fraktur-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Fraktur-Bold.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-Italic.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-Italic.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-Regular.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-Regular.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Math-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Math-Italic.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Math-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Math-Italic.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size1-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size1-Regular.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size2-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size2-Regular.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size3-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size3-Regular.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size4-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size4-Regular.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Caligraphic-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Caligraphic-Bold.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Caligraphic-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Caligraphic-Bold.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Fraktur-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Fraktur-Regular.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Main-BoldItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Main-BoldItalic.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Math-BoldItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Math-BoldItalic.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_SansSerif-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_SansSerif-Italic.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_SansSerif-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_SansSerif-Italic.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_SansSerif-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_SansSerif-Regular.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_SansSerif-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_SansSerif-Regular.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Typewriter-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Typewriter-Regular.ttf
--------------------------------------------------------------------------------
/website/content/team/derek/headshot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/content/team/derek/headshot.jpg
--------------------------------------------------------------------------------
/dist/examples/svg/svg-transform-test.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Transform
3 | * @description
4 | * @draft true
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-transform-test.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Transform
3 | * @description
4 | * @draft true
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Caligraphic-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Caligraphic-Bold.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Fraktur-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Fraktur-Bold.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Fraktur-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Fraktur-Regular.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Fraktur-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Fraktur-Regular.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-BoldItalic.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-BoldItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-BoldItalic.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-Regular.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Math-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Math-BoldItalic.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Math-BoldItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Math-BoldItalic.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_SansSerif-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_SansSerif-Bold.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_SansSerif-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_SansSerif-Bold.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_SansSerif-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_SansSerif-Bold.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_SansSerif-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_SansSerif-Italic.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Script-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Script-Regular.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Script-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Script-Regular.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Script-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Script-Regular.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size1-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size1-Regular.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size1-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size1-Regular.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size2-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size2-Regular.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size2-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size2-Regular.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size3-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size3-Regular.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size3-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size3-Regular.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size4-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size4-Regular.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Size4-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Size4-Regular.woff2
--------------------------------------------------------------------------------
/katex/contrib/copy-tex.min.css:
--------------------------------------------------------------------------------
1 | .katex,.katex-display{user-select:all;-moz-user-select:all;-webkit-user-select:all;-ms-user-select:all}
2 |
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Caligraphic-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Caligraphic-Regular.ttf
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Caligraphic-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Caligraphic-Regular.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Caligraphic-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Caligraphic-Regular.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_SansSerif-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_SansSerif-Regular.woff2
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Typewriter-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Typewriter-Regular.woff
--------------------------------------------------------------------------------
/katex/fonts/KaTeX_Typewriter-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/katex/fonts/KaTeX_Typewriter-Regular.woff2
--------------------------------------------------------------------------------
/dist/examples/math/polar-coordinate-system-degrees.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export default function main(id: string): void;
5 |
--------------------------------------------------------------------------------
/dist/examples/math/polar-coordinate-system-radians.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export default function main(id: string): void;
5 |
--------------------------------------------------------------------------------
/dist/util/constants.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Tau represents a full rotation around the circle in radians
3 | */
4 | export declare const TAU: number;
5 |
--------------------------------------------------------------------------------
/docs/examples/math/polar-coordinate-system-degrees.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export default function main(id: string): void;
5 |
--------------------------------------------------------------------------------
/docs/examples/math/polar-coordinate-system-radians.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | */
4 | export default function main(id: string): void;
5 |
--------------------------------------------------------------------------------
/docs/katex/contrib/copy-tex.min.css:
--------------------------------------------------------------------------------
1 | .katex,.katex-display{user-select:all;-moz-user-select:all;-webkit-user-select:all;-ms-user-select:all}
2 |
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Caligraphic-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Caligraphic-Bold.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Caligraphic-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Caligraphic-Bold.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Fraktur-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Fraktur-Regular.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Main-BoldItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Main-BoldItalic.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Math-BoldItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Math-BoldItalic.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_SansSerif-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_SansSerif-Italic.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_SansSerif-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_SansSerif-Italic.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_SansSerif-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_SansSerif-Regular.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_SansSerif-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_SansSerif-Regular.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Typewriter-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Typewriter-Regular.ttf
--------------------------------------------------------------------------------
/docs/util/constants.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Tau represents a full rotation around the circle in radians
3 | */
4 | export declare const TAU: number;
5 |
--------------------------------------------------------------------------------
/website/content/svg/viewbox/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: View Box Attribute
3 | description:
4 | ---
5 |
6 |
7 | {{}}
8 |
--------------------------------------------------------------------------------
/website/layouts/_default/single.html:
--------------------------------------------------------------------------------
1 | {{- define "main" -}}
2 |
3 | {{.Title}}
4 |
5 | {{- .Content -}}
6 |
7 | {{- end -}}
8 |
--------------------------------------------------------------------------------
/website/layouts/partials/getting-started.html:
--------------------------------------------------------------------------------
1 | {{ with .Site.GetPage "/getting-started/index" }}
2 |
3 | {{ .Content }}
4 |
5 | {{ end }}
6 |
--------------------------------------------------------------------------------
/dist/elements/svg/title.d.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Title extends Element {
3 | constructor();
4 | }
5 |
--------------------------------------------------------------------------------
/dist/interactive.js:
--------------------------------------------------------------------------------
1 | import Interactive from "./elements/interactive.js";
2 | export default Interactive;
3 | //# sourceMappingURL=interactive.js.map
--------------------------------------------------------------------------------
/docs/elements/svg/title.d.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Title extends Element {
3 | constructor();
4 | }
5 |
--------------------------------------------------------------------------------
/docs/interactive.js:
--------------------------------------------------------------------------------
1 | import Interactive from "./elements/interactive.js";
2 | export default Interactive;
3 | //# sourceMappingURL=interactive.js.map
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Caligraphic-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Caligraphic-Regular.ttf
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Caligraphic-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Caligraphic-Regular.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Caligraphic-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Caligraphic-Regular.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_SansSerif-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_SansSerif-Regular.woff2
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Typewriter-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Typewriter-Regular.woff
--------------------------------------------------------------------------------
/docs/katex/fonts/KaTeX_Typewriter-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/docs/katex/fonts/KaTeX_Typewriter-Regular.woff2
--------------------------------------------------------------------------------
/website/resources/_gen/assets/scss/scss/main.scss_f300667da4f5b5f84e1a9e0702b2fdde.json:
--------------------------------------------------------------------------------
1 | {"Target":"scss/main.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_AMS-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_AMS-Regular.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-Bold.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-Bold.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-Bold.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-Italic.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Math-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Math-Italic.ttf
--------------------------------------------------------------------------------
/dist/elements/svg/meta-data.d.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class MetaData extends Element {
3 | constructor();
4 | }
5 |
--------------------------------------------------------------------------------
/dist/examples/hello-world.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Vector.js Hello World
3 | * @description Hi!
4 | * @tags []
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/examples/math/wumbo.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Vector.js Hello World
3 | * @description Hi!
4 | * @tags []
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/elements/svg/meta-data.d.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class MetaData extends Element {
3 | constructor();
4 | }
5 |
--------------------------------------------------------------------------------
/docs/examples/hello-world.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Vector.js Hello World
3 | * @description Hi!
4 | * @tags []
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/math/wumbo.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Vector.js Hello World
3 | * @description Hi!
4 | * @tags []
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/website/static/katex/contrib/copy-tex.min.css:
--------------------------------------------------------------------------------
1 | .katex,.katex-display{user-select:all;-moz-user-select:all;-webkit-user-select:all;-ms-user-select:all}
2 |
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_AMS-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_AMS-Regular.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_AMS-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_AMS-Regular.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Fraktur-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Fraktur-Bold.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Fraktur-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Fraktur-Bold.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-Italic.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-Italic.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-Regular.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-Regular.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Math-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Math-Italic.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Math-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Math-Italic.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size1-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size1-Regular.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size2-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size2-Regular.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size3-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size3-Regular.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size4-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size4-Regular.ttf
--------------------------------------------------------------------------------
/dist/elements/svg/definitions.d.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Definitions extends Element {
3 | constructor();
4 | }
5 |
--------------------------------------------------------------------------------
/dist/elements/svg/description.d.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Description extends Element {
3 | constructor();
4 | }
5 |
--------------------------------------------------------------------------------
/docs/elements/svg/definitions.d.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Definitions extends Element {
3 | constructor();
4 | }
5 |
--------------------------------------------------------------------------------
/docs/elements/svg/description.d.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Description extends Element {
3 | constructor();
4 | }
5 |
--------------------------------------------------------------------------------
/source/util/constants.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | /**
5 | * Tau represents a full rotation around the circle in radians
6 | */
7 | export const TAU = 2*Math.PI;
8 |
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Caligraphic-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Caligraphic-Bold.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Fraktur-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Fraktur-Bold.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Fraktur-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Fraktur-Regular.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Fraktur-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Fraktur-Regular.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-BoldItalic.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-BoldItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-BoldItalic.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-Regular.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Math-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Math-BoldItalic.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Math-BoldItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Math-BoldItalic.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_SansSerif-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_SansSerif-Bold.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_SansSerif-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_SansSerif-Bold.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_SansSerif-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_SansSerif-Bold.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_SansSerif-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_SansSerif-Italic.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Script-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Script-Regular.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Script-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Script-Regular.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Script-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Script-Regular.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size1-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size1-Regular.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size1-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size1-Regular.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size2-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size2-Regular.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size2-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size2-Regular.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size3-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size3-Regular.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size3-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size3-Regular.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size4-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size4-Regular.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Size4-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Size4-Regular.woff2
--------------------------------------------------------------------------------
/dist/tests/articles/waves.test.d.ts:
--------------------------------------------------------------------------------
1 | import { Plot } from '../../index.js';
2 | export declare function helper(fn: any, container: any, userOptions?: {}): Plot;
3 |
--------------------------------------------------------------------------------
/docs/tests/articles/waves.test.d.ts:
--------------------------------------------------------------------------------
1 | import { Plot } from '../../index.js';
2 | export declare function helper(fn: any, container: any, userOptions?: {}): Plot;
3 |
--------------------------------------------------------------------------------
/website/archetypes/default.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: {{ replace .Name "-" " " | title }}
3 | date: {{ .Date }}
4 | description: A description of this webpage.
5 | ---
6 |
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Caligraphic-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Caligraphic-Bold.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Caligraphic-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Caligraphic-Bold.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Fraktur-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Fraktur-Regular.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Main-BoldItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Main-BoldItalic.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Math-BoldItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Math-BoldItalic.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_SansSerif-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_SansSerif-Italic.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_SansSerif-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_SansSerif-Italic.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_SansSerif-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_SansSerif-Regular.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_SansSerif-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_SansSerif-Regular.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Typewriter-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Typewriter-Regular.ttf
--------------------------------------------------------------------------------
/dist/elements/math/point.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * A point has an x position and y position
3 | */
4 | export default class Point {
5 | x: number;
6 | y: number;
7 | }
8 |
--------------------------------------------------------------------------------
/docs/elements/math/point.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * A point has an x position and y position
3 | */
4 | export default class Point {
5 | x: number;
6 | y: number;
7 | }
8 |
--------------------------------------------------------------------------------
/source/elements/math/point.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * A point has an x position and y position
3 | */
4 | export default class Point {
5 | x:number;
6 | y:number;
7 | }
8 |
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Caligraphic-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Caligraphic-Regular.ttf
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Caligraphic-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Caligraphic-Regular.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Caligraphic-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Caligraphic-Regular.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_SansSerif-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_SansSerif-Regular.woff2
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Typewriter-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Typewriter-Regular.woff
--------------------------------------------------------------------------------
/website/static/katex/fonts/KaTeX_Typewriter-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vector-js/vector/HEAD/website/static/katex/fonts/KaTeX_Typewriter-Regular.woff2
--------------------------------------------------------------------------------
/dist/util/svg.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Parses and returns the SVG documented represented by the string argument.
3 | */
4 | export declare function parseSVG(svg: any): SVGElement;
5 |
--------------------------------------------------------------------------------
/docs/util/svg.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Parses and returns the SVG documented represented by the string argument.
3 | */
4 | export declare function parseSVG(svg: any): SVGElement;
5 |
--------------------------------------------------------------------------------
/website/content/svg/elements/polygon/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Polygon
3 | description: A polygon is a basic shape defined by a series of points.
4 | shape: true
5 | ---
6 |
--------------------------------------------------------------------------------
/website/layouts/_default/row.html:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/dist/examples/interaction/zoom-pan-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | * @title Zoom and Pan Element
4 | * @description
5 | * @tags [elements, maps]
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/util/constants.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Tau represents a full rotation around the circle in radians
3 | */
4 | export const TAU = 2 * Math.PI;
5 | //# sourceMappingURL=constants.js.map
--------------------------------------------------------------------------------
/docs/examples/interaction/zoom-pan-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | * @title Zoom and Pan Element
4 | * @description
5 | * @tags [elements, maps]
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/util/constants.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Tau represents a full rotation around the circle in radians
3 | */
4 | export const TAU = 2 * Math.PI;
5 | //# sourceMappingURL=constants.js.map
--------------------------------------------------------------------------------
/dist/elements/math/point.js:
--------------------------------------------------------------------------------
1 | /**
2 | * A point has an x position and y position
3 | */
4 | export default class Point {
5 | x;
6 | y;
7 | }
8 | //# sourceMappingURL=point.js.map
--------------------------------------------------------------------------------
/docs/elements/math/point.js:
--------------------------------------------------------------------------------
1 | /**
2 | * A point has an x position and y position
3 | */
4 | export default class Point {
5 | x;
6 | y;
7 | }
8 | //# sourceMappingURL=point.js.map
--------------------------------------------------------------------------------
/dist/examples/elements/path-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Path Element
3 | * @description This interactive demonstrates the path element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/elements/text-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Text Element
3 | * @description This interactive demonstrates the text element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/path-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Path Element
3 | * @description This interactive demonstrates the path element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/text-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Text Element
3 | * @description This interactive demonstrates the text element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/website/content/svg/elements/t-span/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Text Span
3 | description:
4 | typography: true
5 | ---
6 |
7 | The text span element allows user to define spanning text.
8 |
--------------------------------------------------------------------------------
/dist/examples/color/contrast.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Visible Spectrum
3 | * @description
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/dist/examples/elements/line-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Line Element
3 | * @description This interactive demonstrates the ellipse element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/maps/random-color-world.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Random Colored Countires
3 | * @description Randomly colors the countries in the world.
4 | * @tags [maps]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/math/number-line.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Number Line
3 | * @description This interactive demonstrates the cartesian coordinate system.
4 | * @tags [math]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/color/contrast.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Visible Spectrum
3 | * @description
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/examples/elements/line-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Line Element
3 | * @description This interactive demonstrates the ellipse element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/maps/random-color-world.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Random Colored Countires
3 | * @description Randomly colors the countries in the world.
4 | * @tags [maps]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/math/number-line.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Number Line
3 | * @description This interactive demonstrates the cartesian coordinate system.
4 | * @tags [math]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/website/content/svg/elements/text/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Text
3 | description:
4 | typography: true
5 | ---
6 |
7 | The text element allows user to display text within the SVG document.
8 |
--------------------------------------------------------------------------------
/dist/examples/color/color-circle.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Visible Spectrum
3 | * @description
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/dist/examples/elements/ellipse-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Ellipse Element
3 | * @description This interactive demonstrates the ellipse element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/plots/cosine.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cosine Plot
3 | * @description This interactive demonstrates the plot element
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/examples/waves/trapezoidal.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Visible Spectrum
3 | * @description
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/examples/color/color-circle.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Visible Spectrum
3 | * @description
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/examples/elements/ellipse-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Ellipse Element
3 | * @description This interactive demonstrates the ellipse element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/plots/cosine.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cosine Plot
3 | * @description This interactive demonstrates the plot element
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/waves/trapezoidal.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Visible Spectrum
3 | * @description
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/dist/examples/elements/control-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Control Element
3 | * @description This interactive demonstrates a draggable point.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/elements/rectangle-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Rectangle Element
3 | * @description This interactive demonstrates the rectangle element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/elements/slider-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Slider Element
3 | * @description This interactive demonstrates the slider element.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/plots/sine.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | */
4 | /**
5 | * Creates a graph of the sine function within the element with the provided id.
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/examples/elements/control-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Control Element
3 | * @description This interactive demonstrates a draggable point.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/rectangle-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Rectangle Element
3 | * @description This interactive demonstrates the rectangle element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/slider-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Slider Element
3 | * @description This interactive demonstrates the slider element.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/plots/sine.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | */
4 | /**
5 | * Creates a graph of the sine function within the element with the provided id.
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/dist/examples/elements/arrow-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Arrow Element
3 | * @description This interactive demonstrates the path element.
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/examples/elements/check-box-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Checkbox Element
3 | * @description This interactive demonstrates the checkbox element.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/math/bezier-curve-quadratic.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Quadratic Bezier Curve
3 | * @description This interactive demonstrates a quadratic bezier curve.
4 | * @tags [math]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/arrow-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Arrow Element
3 | * @description This interactive demonstrates the path element.
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/elements/check-box-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Checkbox Element
3 | * @description This interactive demonstrates the checkbox element.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/math/bezier-curve-quadratic.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Quadratic Bezier Curve
3 | * @description This interactive demonstrates a quadratic bezier curve.
4 | * @tags [math]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/website/layouts/partials/style.html:
--------------------------------------------------------------------------------
1 | {{ $sass := resources.Get "scss/main.scss" }}
2 | {{ $style := $sass | resources.ToCSS }}
3 |
4 |
--------------------------------------------------------------------------------
/dist/examples/svg/load-external-svg.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Load External SVG
3 | * @description This interactive demonstrates how to load and use an external svg.
4 | * @tags [svg, maps]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/svg/load-external-svg.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Load External SVG
3 | * @description This interactive demonstrates how to load and use an external svg.
4 | * @tags [svg, maps]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/elements/control-circle-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Control Circle Element
3 | * @description This interactive demonstrates a draggable circle.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/elements/directed-graph-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Directed Graph Element
3 | * @description This interactive demonstrates the directed graph element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/elements/plot-element-experimental.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Plot Element
3 | * @description This interactive demonstrates the plot element
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/examples/elements/scrubber-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Scrubber Element
3 | * @description This interactive demonstrates the animation scrubber element.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/interaction/keyboard.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Keyboard
3 | * @description This interactive demonstrates how key board input can be used to add interactivity.
4 | * @tags [input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/control-circle-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Control Circle Element
3 | * @description This interactive demonstrates a draggable circle.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/directed-graph-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Directed Graph Element
3 | * @description This interactive demonstrates the directed graph element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/plot-element-experimental.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Plot Element
3 | * @description This interactive demonstrates the plot element
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/elements/scrubber-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Scrubber Element
3 | * @description This interactive demonstrates the animation scrubber element.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/interaction/keyboard.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Keyboard
3 | * @description This interactive demonstrates how key board input can be used to add interactivity.
4 | * @tags [input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/website/content/svg/elements/symbol/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Symbol
3 | description:
4 | structural: true
5 | hidden: true
6 | ---
7 |
8 | The symbol element is a non-rendered element that allows for repeated use.
9 |
--------------------------------------------------------------------------------
/website/layouts/partials/github-button.html:
--------------------------------------------------------------------------------
1 | Star
2 |
--------------------------------------------------------------------------------
/dist/examples/elements/radio-control-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Radio Control Element
3 | * @description This interactive demonstrates the radio control element.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/elements/undirected-graph-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Undirected Graph Element
3 | * @description This interactive demonstrates the undirected graph element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/math/triangle.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Triangle
3 | * @description This interactive demonstrates an angle formed by three points.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-clip-path.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Interactive SVG Clip Path
3 | * @description This interactive demonstrates how a clip path is applied to another element.
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-scale.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Transform Scale Attribute
3 | * @description This interactive how the scale transformation can be applied to a SVG element.
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/radio-control-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Radio Control Element
3 | * @description This interactive demonstrates the radio control element.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/undirected-graph-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Undirected Graph Element
3 | * @description This interactive demonstrates the undirected graph element.
4 | * @tags [elements]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/math/triangle.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Triangle
3 | * @description This interactive demonstrates an angle formed by three points.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-clip-path.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Interactive SVG Clip Path
3 | * @description This interactive demonstrates how a clip path is applied to another element.
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-scale.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Transform Scale Attribute
3 | * @description This interactive how the scale transformation can be applied to a SVG element.
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/website/content/tutorials/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Tutorials
3 | description: These tutorials are intended to help new users get oriented with our software system.
4 | weight: 1
5 | layout: tutorials-landing
6 | ---
7 |
--------------------------------------------------------------------------------
/dist/examples/elements/button-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Button Element
3 | * @description The button element is a user clickable button with some text inside of it.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/interaction/animate-along-path.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Animate Along Path
3 | * @description This interactive demonstrates how a element can be animated along a path.
4 | * @tags [animation]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/interaction/key-board-input.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Keyboard Input
3 | * @description This interactive demonstrates how key board input can be used to add interactivity.
4 | * @tags [input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-rotate.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Transform Rotate Attribute
3 | * @description This interactive how the rotate transformation can be applied to a SVG element.
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/button-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Button Element
3 | * @description The button element is a user clickable button with some text inside of it.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/interaction/animate-along-path.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Animate Along Path
3 | * @description This interactive demonstrates how a element can be animated along a path.
4 | * @tags [animation]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/interaction/key-board-input.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Keyboard Input
3 | * @description This interactive demonstrates how key board input can be used to add interactivity.
4 | * @tags [input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-rotate.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Transform Rotate Attribute
3 | * @description This interactive how the rotate transformation can be applied to a SVG element.
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/elements/dropdown-control-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Dropdown Control Element
3 | * @description This interactive demonstrates the dropdown control element.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-translate.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Transform Translate Attribute
3 | * @description This interactive how the translate transformation can be applied to a SVG element.
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/dropdown-control-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Dropdown Control Element
3 | * @description This interactive demonstrates the dropdown control element.
4 | * @tags [elements, input]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-translate.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Transform Translate Attribute
3 | * @description This interactive how the translate transformation can be applied to a SVG element.
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/interaction/animate-along-path-vector.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Animate Along Path
3 | * @description This interactive demonstrates how a element can be animated along a path.
4 | * @tags [animation]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/math/right-triangle.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Right Triangle
3 | * @description This interactive demonstrates the properties of a right triangle.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-transform.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Transform Attribute
3 | * @description This interactive demonstrates how the transform attribute can be used to transform SVG elements
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/interaction/animate-along-path-vector.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Animate Along Path
3 | * @description This interactive demonstrates how a element can be animated along a path.
4 | * @tags [animation]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/math/right-triangle.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Right Triangle
3 | * @description This interactive demonstrates the properties of a right triangle.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-transform.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Transform Attribute
3 | * @description This interactive demonstrates how the transform attribute can be used to transform SVG elements
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/website/layouts/_default/aside.html:
--------------------------------------------------------------------------------
1 | {{ define "resources" }}
2 |
3 | {{ end }}
4 | {{ define "body" }}
5 | {{ partial "hero" . }}
6 | {{ partial "aside" . }}
7 | {{ end }}
8 |
--------------------------------------------------------------------------------
/dist/examples/graph/tidy-algorithm.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Tidy Algorithm
3 | * @description Simple example of using the graph.tidy() function to draw a tree.
4 | * @input None
5 | * @tags [graph, tree]
6 | * @weight 1
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/dist/examples/maps/map-zoom-feature.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Map Zoom
3 | * @description Type in the names of the countries you want to zoom in on and press enter. This interactive is case-sensitive.
4 | * @tags [maps]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/math/square-root.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Square Root
3 | * @description This interactive visualizes the growth rate of x versus the growth rate of the square root of x.
4 | * @tags [math]
5 | * @weight 1
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-line.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Line
3 | * @description This interactive demonstrates the SVG line element and its attributes.
4 | * @date May 3, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-rectangle.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Rectangle Element
3 | * @description This interactive demonstrates the SVG rectangle element and its attributes.
4 | * @author Kurt Bruns
5 | * @tags [svg]
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/graph/tidy-algorithm.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Tidy Algorithm
3 | * @description Simple example of using the graph.tidy() function to draw a tree.
4 | * @input None
5 | * @tags [graph, tree]
6 | * @weight 1
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/examples/maps/map-zoom-feature.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Map Zoom
3 | * @description Type in the names of the countries you want to zoom in on and press enter. This interactive is case-sensitive.
4 | * @tags [maps]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/math/square-root.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Square Root
3 | * @description This interactive visualizes the growth rate of x versus the growth rate of the square root of x.
4 | * @tags [math]
5 | * @weight 1
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-line.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Line
3 | * @description This interactive demonstrates the SVG line element and its attributes.
4 | * @date May 3, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-rectangle.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Rectangle Element
3 | * @description This interactive demonstrates the SVG rectangle element and its attributes.
4 | * @author Kurt Bruns
5 | * @tags [svg]
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/logo.svg:
--------------------------------------------------------------------------------
1 | logo
--------------------------------------------------------------------------------
/rollup.config.js:
--------------------------------------------------------------------------------
1 | export default {
2 | input: 'dist/index.js',
3 | output: {
4 | file: 'vector.js',
5 | format: 'iife',
6 | name: 'Vector',
7 | globals: {
8 | Interactive: ''
9 | }
10 | }
11 | };
12 |
--------------------------------------------------------------------------------
/website/layouts/shortcodes/render.html:
--------------------------------------------------------------------------------
1 | {{ $layout := (.Get 0) }}
2 | {{ $path := (.Get 1) }}
3 | {{ with $.Site.GetPage $path }}
4 | {{ .Render $layout }}
5 | {{ else }}
6 | {{ errorf "Failed to find page %q" $path }}
7 | {{ end }}
8 |
--------------------------------------------------------------------------------
/dist/examples/math/cartesian-coordinate-system-test.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cartesian Coordinate System
3 | * @description This interactive demonstrates the cartesian coordinate system.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/math/cartesian-coordinate-system-test.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cartesian Coordinate System
3 | * @description This interactive demonstrates the cartesian coordinate system.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/website/layouts/shortcodes/partial.html:
--------------------------------------------------------------------------------
1 | {{ $partial := (.Get 0) }}
2 | {{ $path := (.Get 1) }}
3 | {{ with $.Site.GetPage $path }}
4 | {{ partial $partial . }}
5 | {{ else }}
6 | {{ errorf "Failed to find page %q" $path }}
7 | {{ end }}
8 |
--------------------------------------------------------------------------------
/dist/examples/elements/dropdown-control-element-temp.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Dropdown Control Element
3 | * @description This interactive demonstrates the dropdown control element.
4 | * @tags [elements, input]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/examples/interaction/coordinate-system.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | * @title Interactive Coordinate System
4 | * @description This interactive demonstrates the coordinate system of the Vector.js library.
5 | * @tags []
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/examples/interaction/dependency-function.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Dependency Relation
3 | * @description This interactive demonstrates how two elements can be made dependent on eachother.
4 | * @tags []
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/examples/maps/country-selection.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Country Selection
3 | * @description Type in the names of the countries seperated by commas into the text box. When you hit enter they will be drawn.
4 | * @tags [maps]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/elements/dropdown-control-element-temp.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Dropdown Control Element
3 | * @description This interactive demonstrates the dropdown control element.
4 | * @tags [elements, input]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/interaction/coordinate-system.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | * @title Interactive Coordinate System
4 | * @description This interactive demonstrates the coordinate system of the Vector.js library.
5 | * @tags []
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/interaction/dependency-function.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Dependency Relation
3 | * @description This interactive demonstrates how two elements can be made dependent on eachother.
4 | * @tags []
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/maps/country-selection.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Country Selection
3 | * @description Type in the names of the countries seperated by commas into the text box. When you hit enter they will be drawn.
4 | * @tags [maps]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/icons/icon.svg:
--------------------------------------------------------------------------------
1 | icon
--------------------------------------------------------------------------------
/website/content/svg/elements/a/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: A (Link)
3 | description: The 'a' element represents a link. This allows the user to link to different veiw of a SVG document or to hyper-link to another web page.
4 | structural: true
5 | ---
6 |
--------------------------------------------------------------------------------
/website/static/logo.svg:
--------------------------------------------------------------------------------
1 | logo
--------------------------------------------------------------------------------
/dist/examples/plots/secant.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Secant Plot
3 | * @description This interactive demonstrates the plot element
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export default function main(idOrElement: string | HTMLElement): void;
8 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-ellipse.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Ellipse Element
3 | * @description This interactive demonstrates the SVG ellipse element and its attributes.
4 | * @date May 3, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/examples/plots/secant.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Secant Plot
3 | * @description This interactive demonstrates the plot element
4 | * @tags [elements]
5 | * @ignore true
6 | */
7 | export default function main(idOrElement: string | HTMLElement): void;
8 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-ellipse.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Ellipse Element
3 | * @description This interactive demonstrates the SVG ellipse element and its attributes.
4 | * @date May 3, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/icons/about.svg:
--------------------------------------------------------------------------------
1 | logo-dark
--------------------------------------------------------------------------------
/docs/icons/svg.svg:
--------------------------------------------------------------------------------
1 | logo-dark
--------------------------------------------------------------------------------
/docs/logo-dark.svg:
--------------------------------------------------------------------------------
1 | logo-dark
--------------------------------------------------------------------------------
/resources/icons/icon.svg:
--------------------------------------------------------------------------------
1 | icon
--------------------------------------------------------------------------------
/dist/elements/maps/united-states.d.ts:
--------------------------------------------------------------------------------
1 | import Group from '../svg/group.js';
2 | export default class UnitedStates extends Group {
3 | states: Map;
4 | constructor();
5 | getState(postalCode: string): SVGPathElement;
6 | }
7 |
--------------------------------------------------------------------------------
/dist/examples/math/cartesian-coordinate-system.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cartesian Coordinate System
3 | * @description This interactive demonstrates the cartesian coordinate system.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/docs/elements/maps/united-states.d.ts:
--------------------------------------------------------------------------------
1 | import Group from '../svg/group.js';
2 | export default class UnitedStates extends Group {
3 | states: Map;
4 | constructor();
5 | getState(postalCode: string): SVGPathElement;
6 | }
7 |
--------------------------------------------------------------------------------
/docs/examples/math/cartesian-coordinate-system.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cartesian Coordinate System
3 | * @description This interactive demonstrates the cartesian coordinate system.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/dist/examples/math/triangle-area-between-two-vectors.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Area Between Two Vectors
3 | * @description This interactive demonstrates the area formed between two vectors.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-view-box.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG View Box Attribute
3 | * @description This interactive demonstrates how the view box attribute can be applied to a SVG element to change the view port of the image.
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/math/triangle-area-between-two-vectors.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Area Between Two Vectors
3 | * @description This interactive demonstrates the area formed between two vectors.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-view-box.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG View Box Attribute
3 | * @description This interactive demonstrates how the view box attribute can be applied to a SVG element to change the view port of the image.
4 | * @tags [svg]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/source/elements/svg/title.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 |
3 | export default class Title extends Element {
4 | constructor() {
5 | let title = document.createElementNS( 'http://www.w3.org/2000/svg', 'title');
6 | super(title);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/website/static/icons/about.svg:
--------------------------------------------------------------------------------
1 | logo-dark
--------------------------------------------------------------------------------
/website/static/icons/svg.svg:
--------------------------------------------------------------------------------
1 | logo-dark
--------------------------------------------------------------------------------
/website/static/logo-dark.svg:
--------------------------------------------------------------------------------
1 | logo-dark
--------------------------------------------------------------------------------
/dist/elements/svg/content-model.js:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | // NOTE: these interfaces only extend the Element object for testing purposes.
3 | /*
4 | * Export the general SVG element
5 | */
6 | export { Element };
7 | //# sourceMappingURL=content-model.js.map
--------------------------------------------------------------------------------
/dist/examples/math/cartesian-coordinate-system-first-quadrant.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cartesian Coordinate System First Quadrant
3 | * @description This interactive demonstrates the cartesian coordinate system.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/examples/math/line-defined-by-two-points.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Line Defined by Two Points
3 | * @description This interactive demonstrates how a line is uniquely defined by two points.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/dist/examples/math/point-where-two-lines-intersect.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Point Where Two Lines Intersect
3 | * @description This interactive demonstrates the point where two lines intersect.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/dist/examples/math/triangle-law-of-sines.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Triangle Law of Sines
3 | * @description This interactive demonstrates the relationship between two angles within a triangle.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/dist/examples/math/trigonometric-functions.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Trigonometric Functions
3 | * @description This interactive shows the connection between the three trigonometric functions and the unit circle.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-coordinate-system.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Coordinate System
3 | * @description This interactive demonstrates the properties of the SVG coordinate system.
4 | * @date July 11, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-marker.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Marker
3 | * @description This interactive demonstrates the SVG line element and its attributes.
4 | * @date May 3, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | * @ignore true
8 | */
9 | export {};
10 |
--------------------------------------------------------------------------------
/docs/elements/svg/content-model.js:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | // NOTE: these interfaces only extend the Element object for testing purposes.
3 | /*
4 | * Export the general SVG element
5 | */
6 | export { Element };
7 | //# sourceMappingURL=content-model.js.map
--------------------------------------------------------------------------------
/docs/examples/math/cartesian-coordinate-system-first-quadrant.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cartesian Coordinate System First Quadrant
3 | * @description This interactive demonstrates the cartesian coordinate system.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/math/line-defined-by-two-points.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Line Defined by Two Points
3 | * @description This interactive demonstrates how a line is uniquely defined by two points.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/docs/examples/math/point-where-two-lines-intersect.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Point Where Two Lines Intersect
3 | * @description This interactive demonstrates the point where two lines intersect.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/docs/examples/math/triangle-law-of-sines.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Triangle Law of Sines
3 | * @description This interactive demonstrates the relationship between two angles within a triangle.
4 | * @tags [math]
5 | */
6 | export default function main(id: string): void;
7 |
--------------------------------------------------------------------------------
/docs/examples/math/trigonometric-functions.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Trigonometric Functions
3 | * @description This interactive shows the connection between the three trigonometric functions and the unit circle.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-coordinate-system.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Coordinate System
3 | * @description This interactive demonstrates the properties of the SVG coordinate system.
4 | * @date July 11, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-marker.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Marker
3 | * @description This interactive demonstrates the SVG line element and its attributes.
4 | * @date May 3, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | * @ignore true
8 | */
9 | export {};
10 |
--------------------------------------------------------------------------------
/dist/examples/math/area-between-two-vectors.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Area Between Two Vectors
3 | * @description This interactive demonstrates the area formed between two vectors.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/examples/math/area-between-two-vectors.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Area Between Two Vectors
3 | * @description This interactive demonstrates the area formed between two vectors.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/source/elements/svg/definitions.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 |
3 | export default class Definitions extends Element {
4 | constructor() {
5 | let defs = document.createElementNS( 'http://www.w3.org/2000/svg', 'defs');
6 | super(defs);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/source/elements/svg/description.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 |
3 | export default class Description extends Element {
4 | constructor() {
5 | let desc = document.createElementNS( 'http://www.w3.org/2000/svg', 'desc');
6 | super(desc);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/website/content/svg/elements/defs/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | description: An interactive SVG rectangle element.
3 | title: Definitions
4 | structural: true
5 | hidden: true
6 | ---
7 |
8 | The Defs element allows for graphic elements to be defined for use elsewhere in the document.
9 |
--------------------------------------------------------------------------------
/dist/examples/math/distance-between-two-points-2d.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Distance Between Two Points 2D
3 | * @description This interactive demonstrates how to calculate the distance between two points in two dimensions.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/math/distance-between-two-points-2d.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Distance Between Two Points 2D
3 | * @description This interactive demonstrates how to calculate the distance between two points in two dimensions.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/source/elements/svg/meta-data.ts:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 |
3 | export default class MetaData extends Element {
4 | constructor() {
5 | let metadata = document.createElementNS( 'http://www.w3.org/2000/svg', 'metadata');
6 | super(metadata);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/getting-started.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | # remove old getting started
4 | rm ./dist/getting-started.tgz
5 | rm -rf ./dist/getting-started
6 |
7 | # package current gettng started
8 | tar --exclude=\"*.js.map\" -czvf ./dist/getting-started.tgz -C ./resources/getting-started .
9 |
--------------------------------------------------------------------------------
/dist/examples/maps/world-map.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Interactive World Map
3 | * @description Every country in the world displayed in an interactive.
4 | * @input Input the name of the map you want to see, and the size of the map.
5 | * @tags [maps]
6 | * @weight 1
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/dist/examples/math/graphs/cosine.d.ts:
--------------------------------------------------------------------------------
1 | export declare function graph(id: string, title: string, f: any): void;
2 | export declare function cosineGraph(id: string): void;
3 | export declare function sineGraph(id: string): void;
4 | export declare function tangentGraph(id: string): void;
5 |
--------------------------------------------------------------------------------
/docs/examples/maps/world-map.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Interactive World Map
3 | * @description Every country in the world displayed in an interactive.
4 | * @input Input the name of the map you want to see, and the size of the map.
5 | * @tags [maps]
6 | * @weight 1
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/examples/math/graphs/cosine.d.ts:
--------------------------------------------------------------------------------
1 | export declare function graph(id: string, title: string, f: any): void;
2 | export declare function cosineGraph(id: string): void;
3 | export declare function sineGraph(id: string): void;
4 | export declare function tangentGraph(id: string): void;
5 |
--------------------------------------------------------------------------------
/docs/icons/favicon.svg:
--------------------------------------------------------------------------------
1 | favicon
--------------------------------------------------------------------------------
/docs/icons/style.svg:
--------------------------------------------------------------------------------
1 | style
--------------------------------------------------------------------------------
/website/layouts/sandbox/sandbox.html:
--------------------------------------------------------------------------------
1 | {{- define "body" -}}
2 | {{ partial "hero" . }}
3 |
4 |
5 |
6 |
7 | {{.Content}}
8 |
9 |
10 | {{ end }}
11 |
--------------------------------------------------------------------------------
/dist/elements/input/control-circle.d.ts:
--------------------------------------------------------------------------------
1 | import Control from './control.js';
2 | export default class ControlCircle extends Control {
3 | private static circleRadius;
4 | /**
5 | * Constructs a control at the position (x,y)
6 | */
7 | constructor(x: number, y: number);
8 | }
9 |
--------------------------------------------------------------------------------
/docs/elements/input/control-circle.d.ts:
--------------------------------------------------------------------------------
1 | import Control from './control.js';
2 | export default class ControlCircle extends Control {
3 | private static circleRadius;
4 | /**
5 | * Constructs a control at the position (x,y)
6 | */
7 | constructor(x: number, y: number);
8 | }
9 |
--------------------------------------------------------------------------------
/docs/icons/line.svg:
--------------------------------------------------------------------------------
1 | line
--------------------------------------------------------------------------------
/resources/icons/favicon.svg:
--------------------------------------------------------------------------------
1 | favicon
--------------------------------------------------------------------------------
/resources/icons/style.svg:
--------------------------------------------------------------------------------
1 | style
--------------------------------------------------------------------------------
/dist/elements/svg/title.js:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Title extends Element {
3 | constructor() {
4 | let title = document.createElementNS('http://www.w3.org/2000/svg', 'title');
5 | super(title);
6 | }
7 | }
8 | //# sourceMappingURL=title.js.map
--------------------------------------------------------------------------------
/dist/elements/visual/icon.d.ts:
--------------------------------------------------------------------------------
1 | import Use from '../svg/use.js';
2 | export default class Icon extends Use {
3 | /**
4 | * Construct an icon element at the position (x,y) with the provided dimensions
5 | */
6 | constructor(x: number, y: number, width: number, height: number);
7 | }
8 |
--------------------------------------------------------------------------------
/dist/examples/math/cartesian-coordinate-system-continuous.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cartesian Coordinate System (Continuous)
3 | * @description This interactive demonstrates the cartesian coordinate system.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/elements/svg/title.js:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Title extends Element {
3 | constructor() {
4 | let title = document.createElementNS('http://www.w3.org/2000/svg', 'title');
5 | super(title);
6 | }
7 | }
8 | //# sourceMappingURL=title.js.map
--------------------------------------------------------------------------------
/docs/elements/visual/icon.d.ts:
--------------------------------------------------------------------------------
1 | import Use from '../svg/use.js';
2 | export default class Icon extends Use {
3 | /**
4 | * Construct an icon element at the position (x,y) with the provided dimensions
5 | */
6 | constructor(x: number, y: number, width: number, height: number);
7 | }
8 |
--------------------------------------------------------------------------------
/docs/examples/math/cartesian-coordinate-system-continuous.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cartesian Coordinate System (Continuous)
3 | * @description This interactive demonstrates the cartesian coordinate system.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/icons/basic-elements.svg:
--------------------------------------------------------------------------------
1 | basic-elements
--------------------------------------------------------------------------------
/docs/icons/utah.svg:
--------------------------------------------------------------------------------
1 | utah
--------------------------------------------------------------------------------
/resources/icons/line.svg:
--------------------------------------------------------------------------------
1 | line
--------------------------------------------------------------------------------
/dist/examples/svg/svg-coordinate-system-moved.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Coordinate System
3 | * @description This interactive demonstrates the properties of the SVG coordinate system.
4 | * @date July 11, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | * @ignore true
8 | */
9 | export {};
10 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-coordinate-system-moved.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Coordinate System
3 | * @description This interactive demonstrates the properties of the SVG coordinate system.
4 | * @date July 11, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | * @ignore true
8 | */
9 | export {};
10 |
--------------------------------------------------------------------------------
/docs/icons/mouse.svg:
--------------------------------------------------------------------------------
1 | mouse
--------------------------------------------------------------------------------
/resources/icons/basic-elements.svg:
--------------------------------------------------------------------------------
1 | basic-elements
--------------------------------------------------------------------------------
/resources/icons/utah.svg:
--------------------------------------------------------------------------------
1 | utah
--------------------------------------------------------------------------------
/dist/elements/svg/polygon.d.ts:
--------------------------------------------------------------------------------
1 | import Shape from './shape.js';
2 | /**
3 | * A polygon is a closed shape defined by a series of points.
4 | */
5 | export default class Polygon extends Shape {
6 | root: SVGPolygonElement;
7 | constructor(points: string);
8 | get points(): string;
9 | }
10 |
--------------------------------------------------------------------------------
/dist/examples/math/angle.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Angle Interactive
3 | * @description An interactive that demonstrates how an angle is defined as the amount of rotation between two rays in two-dimensional space.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/elements/svg/polygon.d.ts:
--------------------------------------------------------------------------------
1 | import Shape from './shape.js';
2 | /**
3 | * A polygon is a closed shape defined by a series of points.
4 | */
5 | export default class Polygon extends Shape {
6 | root: SVGPolygonElement;
7 | constructor(points: string);
8 | get points(): string;
9 | }
10 |
--------------------------------------------------------------------------------
/docs/examples/math/angle.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Angle Interactive
3 | * @description An interactive that demonstrates how an angle is defined as the amount of rotation between two rays in two-dimensional space.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/icons/path.svg:
--------------------------------------------------------------------------------
1 | path
--------------------------------------------------------------------------------
/resources/icons/mouse.svg:
--------------------------------------------------------------------------------
1 | mouse
--------------------------------------------------------------------------------
/website/layouts/examples/free-form.html:
--------------------------------------------------------------------------------
1 | {{ define "main" }}
2 | {{ $params := (print "?script=" .Params.Script) }}
3 |
4 | {{ partial "interactive" . }}
5 | {{ .Content }}
6 | {{ end }}
7 |
--------------------------------------------------------------------------------
/dist/elements/svg/definitions.js:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Definitions extends Element {
3 | constructor() {
4 | let defs = document.createElementNS('http://www.w3.org/2000/svg', 'defs');
5 | super(defs);
6 | }
7 | }
8 | //# sourceMappingURL=definitions.js.map
--------------------------------------------------------------------------------
/dist/elements/svg/description.js:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Description extends Element {
3 | constructor() {
4 | let desc = document.createElementNS('http://www.w3.org/2000/svg', 'desc');
5 | super(desc);
6 | }
7 | }
8 | //# sourceMappingURL=description.js.map
--------------------------------------------------------------------------------
/dist/examples/maps/state-quiz.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title State Quiz
3 | * @description Quiz on the names of all United States. Type the name of the highlighted state into the text box and press enter to see if you're correct! If you want some help, press the '/' key.
4 | * @tags [maps, games]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-path-arc.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Path Arc Command
3 | * @description This interactive demonstrates the Path Element's Arc command. At a high level the command draws an arc using the shape of an ellipse between two points.
4 | * @author Kurt Bruns
5 | * @tags [svg]
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/elements/svg/definitions.js:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Definitions extends Element {
3 | constructor() {
4 | let defs = document.createElementNS('http://www.w3.org/2000/svg', 'defs');
5 | super(defs);
6 | }
7 | }
8 | //# sourceMappingURL=definitions.js.map
--------------------------------------------------------------------------------
/docs/elements/svg/description.js:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class Description extends Element {
3 | constructor() {
4 | let desc = document.createElementNS('http://www.w3.org/2000/svg', 'desc');
5 | super(desc);
6 | }
7 | }
8 | //# sourceMappingURL=description.js.map
--------------------------------------------------------------------------------
/docs/examples/maps/state-quiz.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title State Quiz
3 | * @description Quiz on the names of all United States. Type the name of the highlighted state into the text box and press enter to see if you're correct! If you want some help, press the '/' key.
4 | * @tags [maps, games]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-path-arc.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Path Arc Command
3 | * @description This interactive demonstrates the Path Element's Arc command. At a high level the command draws an arc using the shape of an ellipse between two points.
4 | * @author Kurt Bruns
5 | * @tags [svg]
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/resources/icons/path.svg:
--------------------------------------------------------------------------------
1 | path
--------------------------------------------------------------------------------
/website/layouts/team/tr.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{.Title}}
7 | {{.Content}}
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/dist/elements/svg/meta-data.js:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class MetaData extends Element {
3 | constructor() {
4 | let metadata = document.createElementNS('http://www.w3.org/2000/svg', 'metadata');
5 | super(metadata);
6 | }
7 | }
8 | //# sourceMappingURL=meta-data.js.map
--------------------------------------------------------------------------------
/dist/examples/maps/population-data.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Export estimated state population.
3 | * https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States_by_population
4 | */
5 | export declare let data: {
6 | Rank: number;
7 | State: string;
8 | Population: number;
9 | }[];
10 |
--------------------------------------------------------------------------------
/dist/util/svg.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Parses and returns the SVG documented represented by the string argument.
3 | */
4 | export function parseSVG(svg) {
5 | let parser = new DOMParser();
6 | let doc = parser.parseFromString(svg, 'image/svg+xml');
7 | return doc.documentElement;
8 | }
9 | //# sourceMappingURL=svg.js.map
--------------------------------------------------------------------------------
/docs/elements/svg/meta-data.js:
--------------------------------------------------------------------------------
1 | import Element from './element.js';
2 | export default class MetaData extends Element {
3 | constructor() {
4 | let metadata = document.createElementNS('http://www.w3.org/2000/svg', 'metadata');
5 | super(metadata);
6 | }
7 | }
8 | //# sourceMappingURL=meta-data.js.map
--------------------------------------------------------------------------------
/docs/examples/maps/population-data.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Export estimated state population.
3 | * https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States_by_population
4 | */
5 | export declare let data: {
6 | Rank: number;
7 | State: string;
8 | Population: number;
9 | }[];
10 |
--------------------------------------------------------------------------------
/docs/icons/rectangle.svg:
--------------------------------------------------------------------------------
1 | rectangle
--------------------------------------------------------------------------------
/docs/util/svg.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Parses and returns the SVG documented represented by the string argument.
3 | */
4 | export function parseSVG(svg) {
5 | let parser = new DOMParser();
6 | let doc = parser.parseFromString(svg, 'image/svg+xml');
7 | return doc.documentElement;
8 | }
9 | //# sourceMappingURL=svg.js.map
--------------------------------------------------------------------------------
/source/examples/hello-world.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Vector.js Hello World
3 | * @description Hi!
4 | * @tags []
5 | * @ignore true
6 | */
7 |
8 | import Interactive from '../interactive.js';
9 | let interactive = new Interactive('hello-world');
10 | interactive.border = true;
11 | interactive.control(100,100);
12 |
--------------------------------------------------------------------------------
/dist/examples/math/bezier-curve-cubic.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cubic Bezier Curve
3 | * @description This interactive demonstrates the cubic bezier command for a SVG path element. There are four control points that allow the user to control the shape of the bezier curve that is drawn.
4 | * @tags [math]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/docs/examples/math/bezier-curve-cubic.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Cubic Bezier Curve
3 | * @description This interactive demonstrates the cubic bezier command for a SVG path element. There are four control points that allow the user to control the shape of the bezier curve that is drawn.
4 | * @tags [math]
5 | */
6 | export {};
7 |
--------------------------------------------------------------------------------
/resources/icons/rectangle.svg:
--------------------------------------------------------------------------------
1 | rectangle
--------------------------------------------------------------------------------
/website/assets/scss/base/_reset.scss:
--------------------------------------------------------------------------------
1 | /* Reset
2 | =============== */
3 |
4 | // Reset box sizing to border box
5 | html {
6 | box-sizing: border-box;
7 | }
8 |
9 | *,
10 | *::before,
11 | *::after {
12 | box-sizing: inherit;
13 | }
14 |
15 | // Remove figure margin
16 | figure {
17 | margin: 0;
18 | }
--------------------------------------------------------------------------------
/website/layouts/shortcodes/interact.html:
--------------------------------------------------------------------------------
1 | {{ with $.Site.GetPage (print "/examples/" (.Get 0)) }}
2 |
3 |
4 | {{ else }}
5 | {{ errorf "Failed to find example %q" (print "/concepts/" (.Get 0)) }}
6 | {{ end }}
7 |
--------------------------------------------------------------------------------
/dist/examples/elements/plot-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Plot Element
3 | * @description This interactive demonstrates the plot element
4 | * @tags [elements]
5 | */
6 | /**
7 | * Creates a graph of the sine function within the element with the provided id.
8 | */
9 | export default function main(id: string): void;
10 |
--------------------------------------------------------------------------------
/dist/examples/maps/population-of-united-states.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Population Density of the United States
3 | * @description Every state of the United States colored by population density.
4 | * @input Input the name of the map you want to see, and the size of the map.
5 | * @tags [maps]
6 | * @weight 1
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/examples/elements/plot-element.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Plot Element
3 | * @description This interactive demonstrates the plot element
4 | * @tags [elements]
5 | */
6 | /**
7 | * Creates a graph of the sine function within the element with the provided id.
8 | */
9 | export default function main(id: string): void;
10 |
--------------------------------------------------------------------------------
/docs/examples/maps/population-of-united-states.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Population Density of the United States
3 | * @description Every state of the United States colored by population density.
4 | * @input Input the name of the map you want to see, and the size of the map.
5 | * @tags [maps]
6 | * @weight 1
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/icons/scripting.svg:
--------------------------------------------------------------------------------
1 | scripting
--------------------------------------------------------------------------------
/source/examples/math/wumbo.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Vector.js Hello World
3 | * @description Hi!
4 | * @tags []
5 | * @ignore true
6 | */
7 |
8 | import Interactive from '../../interactive.js';
9 | let myInteractive = new Interactive('hello-world');
10 | myInteractive.border = true;
11 | myInteractive.control(100,100);
12 |
--------------------------------------------------------------------------------
/source/util/svg.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Parses and returns the SVG documented represented by the string argument.
3 | */
4 | export function parseSVG(svg) : SVGElement {
5 | let parser = new DOMParser();
6 | let doc = parser.parseFromString(svg, 'image/svg+xml');
7 | return doc.documentElement as unknown as SVGElement;
8 | }
9 |
--------------------------------------------------------------------------------
/website/content/svg/elements/group/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Group
3 | description: A group is a structural element, useful for applying styles and transformations to multiple elements at once.
4 | structural: true
5 | ---
6 |
7 |
8 |
--------------------------------------------------------------------------------
/website/layouts/_default/video.html:
--------------------------------------------------------------------------------
1 | {{ define "main" }}
2 |
3 |
4 |
5 | {{.Title}}
6 | {{ .Content }}
7 | {{ end }}
8 |
--------------------------------------------------------------------------------
/dist/tests/container.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * This is a static class for creating container elements with unique
3 | * identifiers.
4 | */
5 | export default class Container {
6 | static count: number;
7 | /**
8 | * Returns a container with a unique id.
9 | */
10 | static createContainer(): HTMLDivElement;
11 | }
12 |
--------------------------------------------------------------------------------
/docs/icons/circle.svg:
--------------------------------------------------------------------------------
1 | circle
--------------------------------------------------------------------------------
/docs/tests/container.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * This is a static class for creating container elements with unique
3 | * identifiers.
4 | */
5 | export default class Container {
6 | static count: number;
7 | /**
8 | * Returns a container with a unique id.
9 | */
10 | static createContainer(): HTMLDivElement;
11 | }
12 |
--------------------------------------------------------------------------------
/resources/icons/scripting.svg:
--------------------------------------------------------------------------------
1 | scripting
--------------------------------------------------------------------------------
/website/layouts/shortcodes/example-old.html:
--------------------------------------------------------------------------------
1 | {{ with .Site.GetPage (print "examples/" (.Get 0)) }}
2 |
3 |
4 | {{ else }}
5 | {{ errorf "Failed to find example %q" (print "examples/" (.Get 0)) }}
6 | {{ end }}
7 |
--------------------------------------------------------------------------------
/dist/examples/interaction/mouse-interaction.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Mouse Input
3 | * @description This interactive demonstrates how mouse input can be used to add interactivity.
4 | * @input The input to this interactive is the scroll wheel of the mouse, the mouse click, and the mouse position.
5 | * @tags [input]
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/dist/examples/math/circle-defined-by-three-points.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Circle Defined By Three Points
3 | * @description An interactive that demonstrates how a circle can be uniquely described by thee points.
4 | * @tags [math]
5 | * @date July 8, 2019
6 | * @author Kurt Bruns
7 | */
8 | export default function main(id: string): void;
9 |
--------------------------------------------------------------------------------
/docs/examples/interaction/mouse-interaction.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Mouse Input
3 | * @description This interactive demonstrates how mouse input can be used to add interactivity.
4 | * @input The input to this interactive is the scroll wheel of the mouse, the mouse click, and the mouse position.
5 | * @tags [input]
6 | */
7 | export {};
8 |
--------------------------------------------------------------------------------
/docs/examples/math/circle-defined-by-three-points.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Circle Defined By Three Points
3 | * @description An interactive that demonstrates how a circle can be uniquely described by thee points.
4 | * @tags [math]
5 | * @date July 8, 2019
6 | * @author Kurt Bruns
7 | */
8 | export default function main(id: string): void;
9 |
--------------------------------------------------------------------------------
/docs/icons/control.svg:
--------------------------------------------------------------------------------
1 | control
--------------------------------------------------------------------------------
/resources/icons/circle.svg:
--------------------------------------------------------------------------------
1 | circle
--------------------------------------------------------------------------------
/website/layouts/team/single.html:
--------------------------------------------------------------------------------
1 | {{ define "main" }}
2 |
3 |
4 |
5 |
6 |
{{.Title}}
7 |
{{.Description}}
8 |
9 |
10 | {{ .Content }}
11 |
12 | {{ end }}
13 |
--------------------------------------------------------------------------------
/docs/icon.svg:
--------------------------------------------------------------------------------
1 | icon
--------------------------------------------------------------------------------
/resources/icons/control.svg:
--------------------------------------------------------------------------------
1 | control
--------------------------------------------------------------------------------
/website/content/svg/elements/path/line-command/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | description: This interactive demonstrates the cubic bezier command for a SVG path element. There are four control points that allow the user to control the shape of the bezier curve that is drawn.
3 | id: svg-path-line
4 | tags:
5 | - svg
6 | title: Cubic Bezier Curve
7 | ---
8 |
--------------------------------------------------------------------------------
/website/layouts/partials/redirect.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{ . }}
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/dist/examples/math/angle-between-two-vectors.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Angle Between Two Vectors Interactive
3 | * @description An interactive that demonstrates how an angle is defined as the amount of rotation between two rays in two-dimensional space.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/examples/math/angle-between-two-vectors.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Angle Between Two Vectors Interactive
3 | * @description An interactive that demonstrates how an angle is defined as the amount of rotation between two rays in two-dimensional space.
4 | * @tags [math]
5 | * @ignore true
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/dist/examples/hello-world.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Vector.js Hello World
3 | * @description Hi!
4 | * @tags []
5 | * @ignore true
6 | */
7 | import Interactive from '../interactive.js';
8 | let interactive = new Interactive('hello-world');
9 | interactive.border = true;
10 | interactive.control(100, 100);
11 | //# sourceMappingURL=hello-world.js.map
--------------------------------------------------------------------------------
/dist/examples/interaction/zoom-in-out.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | * @title Zoom and Pan Interactive
4 | * @description This interactive demonstrates how to zoom in and out on a specific point.
5 | * @input The input to this interactive is the scroll wheel of the mouse, the mouse click, and the mouse position.
6 | * @tags []
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/dist/examples/math/wumbo.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Vector.js Hello World
3 | * @description Hi!
4 | * @tags []
5 | * @ignore true
6 | */
7 | import Interactive from '../../interactive.js';
8 | let myInteractive = new Interactive('hello-world');
9 | myInteractive.border = true;
10 | myInteractive.control(100, 100);
11 | //# sourceMappingURL=wumbo.js.map
--------------------------------------------------------------------------------
/docs/examples/hello-world.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Vector.js Hello World
3 | * @description Hi!
4 | * @tags []
5 | * @ignore true
6 | */
7 | import Interactive from '../interactive.js';
8 | let interactive = new Interactive('hello-world');
9 | interactive.border = true;
10 | interactive.control(100, 100);
11 | //# sourceMappingURL=hello-world.js.map
--------------------------------------------------------------------------------
/docs/examples/interaction/zoom-in-out.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore true
3 | * @title Zoom and Pan Interactive
4 | * @description This interactive demonstrates how to zoom in and out on a specific point.
5 | * @input The input to this interactive is the scroll wheel of the mouse, the mouse click, and the mouse position.
6 | * @tags []
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/examples/math/wumbo.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Vector.js Hello World
3 | * @description Hi!
4 | * @tags []
5 | * @ignore true
6 | */
7 | import Interactive from '../../interactive.js';
8 | let myInteractive = new Interactive('hello-world');
9 | myInteractive.border = true;
10 | myInteractive.control(100, 100);
11 | //# sourceMappingURL=wumbo.js.map
--------------------------------------------------------------------------------
/website/content/examples/plot-secant.md:
--------------------------------------------------------------------------------
1 | ---
2 | # This front matter is auto generated by the examples.js script
3 | title: Secant
4 | id: secant
5 | script: /examples/plots/secant.js
6 | description: This interactive demonstrates the plot element
7 | input: undefined
8 | tags: [elements]
9 | weight: undefined
10 | draft: undefined
11 | ---
12 |
--------------------------------------------------------------------------------
/website/static/icon.svg:
--------------------------------------------------------------------------------
1 | icon
--------------------------------------------------------------------------------
/source/tests/elements/svg/a.test.ts:
--------------------------------------------------------------------------------
1 | import A from '../../../elements/svg/a.js';
2 |
3 | describe('A (link)', function () {
4 | describe('constructor', function () {
5 | it('should create a link element', function() {
6 | let element = new A("./");
7 | element.setAttribute('href', 'example.com');
8 | });
9 | });
10 | });
11 |
--------------------------------------------------------------------------------
/website/content/svg/elements/path/bezier-curve-cubic/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | description: This interactive demonstrates the cubic bezier command for a SVG path element. There are four control points that allow the user to control the shape of the bezier curve that is drawn.
3 | id: svg-path-bezier-cubic
4 | tags:
5 | - svg
6 | title: Cubic Bezier Curve
7 | ---
8 |
--------------------------------------------------------------------------------
/website/layouts/shortcodes/header-link.html:
--------------------------------------------------------------------------------
1 | {{ $path := (.Get 0) }}
2 | {{ $header := (.Get 1) }}
3 | {{ $context := . }}
4 | {{ with $.Site.GetPage $path}}
5 |
6 | {{ else }}
7 | {{ errorf "Failed to find page %q" $path }}
8 | {{ end }}
9 |
--------------------------------------------------------------------------------
/website/layouts/shortcodes/interactive.html:
--------------------------------------------------------------------------------
1 | {{ $id := (.Get 0) }}
2 | {{ $path := (print "/examples/" (print $id ".js")) }}
3 | {{ if fileExists (print "static" $path ) }}
4 |
5 |
6 | {{ else }}
7 | {{ errorf "Failed to find example %q" $id }}
8 | {{ end }}
9 |
--------------------------------------------------------------------------------
/website/static/icons/icon.svg:
--------------------------------------------------------------------------------
1 | icon
--------------------------------------------------------------------------------
/dist/examples/math/riemann-sum.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Riemann Sum
3 | * @description This interactive demonstrates three Riemann Sum methods for approximating area underneath a curve. The three approximation methods are the left, right, and trapezoidal approximations.
4 | * @tags [math]
5 | * @weight 2
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/examples/math/riemann-sum.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Riemann Sum
3 | * @description This interactive demonstrates three Riemann Sum methods for approximating area underneath a curve. The three approximation methods are the left, right, and trapezoidal approximations.
4 | * @tags [math]
5 | * @weight 2
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/dist/examples/math/unit-circle-angle-old.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Unit Circle Angle
3 | * @description An interactive to demonstrate how a point along the circumference of the unit circle also defines an angle in the polar coordinate system.
4 | * @tags [math]
5 | * @date June 9, 2019
6 | * @author Kurt Bruns
7 | */
8 | export default function main(id: string): void;
9 |
--------------------------------------------------------------------------------
/docs/examples/math/unit-circle-angle-old.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Unit Circle Angle
3 | * @description An interactive to demonstrate how a point along the circumference of the unit circle also defines an angle in the polar coordinate system.
4 | * @tags [math]
5 | * @date June 9, 2019
6 | * @author Kurt Bruns
7 | */
8 | export default function main(id: string): void;
9 |
--------------------------------------------------------------------------------
/dist/examples/graph/merge-sort.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Merge Sort Interactive
3 | * @description This interactive demonstrates an implementation of the merge sort algorithm using a tree.
4 | * @tags [algorithm, graph]
5 | */
6 | import Node from '../../elements/graph/node.js';
7 | export declare function mergeSort(array: number[], level: number, parent: Node): number[];
8 |
--------------------------------------------------------------------------------
/dist/examples/graph/prime-factorization.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore
3 | * @title Prime Factorization
4 | * @description This interactive visualizes the prime factorization tree for a given number.
5 | * @input There is a number input that takes a number less than one-hundred million.
6 | * @tags [math, graph]
7 | * @ignore true
8 | * @weight 1
9 | */
10 | export {};
11 |
--------------------------------------------------------------------------------
/docs/examples/graph/merge-sort.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Merge Sort Interactive
3 | * @description This interactive demonstrates an implementation of the merge sort algorithm using a tree.
4 | * @tags [algorithm, graph]
5 | */
6 | import Node from '../../elements/graph/node.js';
7 | export declare function mergeSort(array: number[], level: number, parent: Node): number[];
8 |
--------------------------------------------------------------------------------
/docs/examples/graph/prime-factorization.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @ignore
3 | * @title Prime Factorization
4 | * @description This interactive visualizes the prime factorization tree for a given number.
5 | * @input There is a number input that takes a number less than one-hundred million.
6 | * @tags [math, graph]
7 | * @ignore true
8 | * @weight 1
9 | */
10 | export {};
11 |
--------------------------------------------------------------------------------
/docs/tutorials/control-with-position/step-0.js:
--------------------------------------------------------------------------------
1 | import Interactive from '/interactive.js';
2 |
3 | // Initialize the interactive
4 | let interactive = new Interactive("step-0");
5 | interactive.border = true;
6 | interactive.root.style.width = '100%';
7 |
8 | // Create a control point at the location (100, 100)
9 | let control = interactive.control( 100, 100);
10 |
--------------------------------------------------------------------------------
/dist/examples/math/polar-coordinate-system.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Polar Coordinate System
3 | * @description This interactive demonstrates the polar coordinate system. The polar coordinate system represents the position of a point using a radius and the angle relative to the origin.
4 | * @tags [math]
5 | * @weight 3
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/dist/examples/math/prime-factorization.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Prime Factorization
3 | * @description This interactive visualizes the prime factorization tree for a given number.
4 | * @input There is a number input that takes a number less than one-hundred million.
5 | * @tags [math, graph]
6 | * @weight 1
7 | */
8 | export default function main(id: string): HTMLInputElement;
9 |
--------------------------------------------------------------------------------
/docs/bad/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | https://vectorjs.org/svg/
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/docs/examples/math/polar-coordinate-system.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Polar Coordinate System
3 | * @description This interactive demonstrates the polar coordinate system. The polar coordinate system represents the position of a point using a radius and the angle relative to the origin.
4 | * @tags [math]
5 | * @weight 3
6 | */
7 | export default function main(id: string): void;
8 |
--------------------------------------------------------------------------------
/docs/examples/math/prime-factorization.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title Prime Factorization
3 | * @description This interactive visualizes the prime factorization tree for a given number.
4 | * @input There is a number input that takes a number less than one-hundred million.
5 | * @tags [math, graph]
6 | * @weight 1
7 | */
8 | export default function main(id: string): HTMLInputElement;
9 |
--------------------------------------------------------------------------------
/dist/examples/svg/svg-path-bezier-cubic.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Path Cubic Bezier Curve
3 | * @description This interactive demonstrates the cubic bezier command for a SVG path element. There are four control points that allow the user to control the shape of the bezier curve that is drawn.
4 | * @date May 3, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/examples/svg/svg-path-bezier-cubic.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Path Cubic Bezier Curve
3 | * @description This interactive demonstrates the cubic bezier command for a SVG path element. There are four control points that allow the user to control the shape of the bezier curve that is drawn.
4 | * @date May 3, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/website/content/tutorials/control-with-position/step-0.js:
--------------------------------------------------------------------------------
1 | import Interactive from '/interactive.js';
2 |
3 | // Initialize the interactive
4 | let interactive = new Interactive("step-0");
5 | interactive.border = true;
6 | interactive.root.style.width = '100%';
7 |
8 | // Create a control point at the location (100, 100)
9 | let control = interactive.control( 100, 100);
10 |
--------------------------------------------------------------------------------
/website/layouts/_default/card.html:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/docs/play-button.svg:
--------------------------------------------------------------------------------
1 | play-button
2 |
--------------------------------------------------------------------------------
/source/elements/visual/icon.ts:
--------------------------------------------------------------------------------
1 | import Use from '../svg/use.js';
2 |
3 | export default class Icon extends Use {
4 |
5 | /**
6 | * Construct an icon element at the position (x,y) with the provided dimensions
7 | */
8 | constructor( x:number, y:number, width:number, height:number ) {
9 | super(x,y,width,height);
10 | this.classList.add('icon');
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/website/content/examples/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | description: This page contains a gallery of examples of the Vector.js library.
3 | title: Examples
4 | layout: examples-page
5 | weight: 1
6 | ---
7 |
8 | Examples of different data visuals that our library is capable of. The library provides basic charting capability, but also a powerful general way of relating different elements together.
9 |
--------------------------------------------------------------------------------
/website/layouts/partials/examples.html:
--------------------------------------------------------------------------------
1 |
2 | {{ range where .Pages "Section" "examples" }}
3 |
4 |
5 |
6 |
7 | {{- end -}}
8 |
9 |
--------------------------------------------------------------------------------
/docs/icons/styling.svg:
--------------------------------------------------------------------------------
1 | style
--------------------------------------------------------------------------------
/docs/icons/symbol.svg:
--------------------------------------------------------------------------------
1 | elements copy
--------------------------------------------------------------------------------
/website/content/svg/elements/path/bezier-curve-quadratic/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | description: This interactive demonstrates the quadratic bezier command for a SVG
3 | path element. There are three control points that allow the user to control the
4 | shape of the bezier curve that is drawn.
5 | id: svg-path-bezier-quadratic
6 | tags:
7 | - svg
8 | title: Quadratic Bezier Curve
9 | ---
10 |
--------------------------------------------------------------------------------
/website/layouts/_default/link.html:
--------------------------------------------------------------------------------
1 | {{ $src := (print "/icons/" (print (urlize .Title) ".svg")) }}
2 | {{if fileExists (print "static" $src ) }}
3 | {{.Title}}
4 | {{ else }}
5 | {{.Title}}
6 | {{end}}
7 |
--------------------------------------------------------------------------------
/dist/elements/visual/icon.js:
--------------------------------------------------------------------------------
1 | import Use from '../svg/use.js';
2 | export default class Icon extends Use {
3 | /**
4 | * Construct an icon element at the position (x,y) with the provided dimensions
5 | */
6 | constructor(x, y, width, height) {
7 | super(x, y, width, height);
8 | this.classList.add('icon');
9 | }
10 | }
11 | //# sourceMappingURL=icon.js.map
--------------------------------------------------------------------------------
/dist/examples/svg/svg-path-bezier-quadratic.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Path Quadratic Bezier Curve
3 | * @description This interactive demonstrates the quadratic bezier command for a SVG path element. There are three control points that allow the user to control the shape of the bezier curve that is drawn.
4 | * @date May 3, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/elements/visual/icon.js:
--------------------------------------------------------------------------------
1 | import Use from '../svg/use.js';
2 | export default class Icon extends Use {
3 | /**
4 | * Construct an icon element at the position (x,y) with the provided dimensions
5 | */
6 | constructor(x, y, width, height) {
7 | super(x, y, width, height);
8 | this.classList.add('icon');
9 | }
10 | }
11 | //# sourceMappingURL=icon.js.map
--------------------------------------------------------------------------------
/docs/examples/svg/svg-path-bezier-quadratic.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @title SVG Path Quadratic Bezier Curve
3 | * @description This interactive demonstrates the quadratic bezier command for a SVG path element. There are three control points that allow the user to control the shape of the bezier curve that is drawn.
4 | * @date May 3, 2019
5 | * @author Kurt Bruns
6 | * @tags [svg]
7 | */
8 | export {};
9 |
--------------------------------------------------------------------------------
/docs/icons/ellipse.svg:
--------------------------------------------------------------------------------
1 | ellipse
--------------------------------------------------------------------------------
/website/layouts/partials/analytics.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
--------------------------------------------------------------------------------
/website/static/play-button.svg:
--------------------------------------------------------------------------------
1 | play-button
2 |
--------------------------------------------------------------------------------
/docs/icons/maps.svg:
--------------------------------------------------------------------------------
1 | utah
--------------------------------------------------------------------------------
/docs/logo-hero.svg:
--------------------------------------------------------------------------------
1 | logo-hero
--------------------------------------------------------------------------------
/resources/icons/ellipse.svg:
--------------------------------------------------------------------------------
1 | ellipse
--------------------------------------------------------------------------------
/website/static/icons/style.svg:
--------------------------------------------------------------------------------
1 | style
--------------------------------------------------------------------------------
/website/static/icons/styling.svg:
--------------------------------------------------------------------------------
1 | style
--------------------------------------------------------------------------------
/website/static/icons/symbol.svg:
--------------------------------------------------------------------------------
1 | elements copy
--------------------------------------------------------------------------------
/dist/tests/elements/svg/a.test.js:
--------------------------------------------------------------------------------
1 | import A from '../../../elements/svg/a.js';
2 | describe('A (link)', function () {
3 | describe('constructor', function () {
4 | it('should create a link element', function () {
5 | let element = new A("./");
6 | element.setAttribute('href', 'example.com');
7 | });
8 | });
9 | });
10 | //# sourceMappingURL=a.test.js.map
--------------------------------------------------------------------------------
/docs/tests/elements/svg/a.test.js:
--------------------------------------------------------------------------------
1 | import A from '../../../elements/svg/a.js';
2 | describe('A (link)', function () {
3 | describe('constructor', function () {
4 | it('should create a link element', function () {
5 | let element = new A("./");
6 | element.setAttribute('href', 'example.com');
7 | });
8 | });
9 | });
10 | //# sourceMappingURL=a.test.js.map
--------------------------------------------------------------------------------
/website/static/icons/line.svg:
--------------------------------------------------------------------------------
1 | line
--------------------------------------------------------------------------------
/docs/icons/elements.svg:
--------------------------------------------------------------------------------
1 | elements
--------------------------------------------------------------------------------
/docs/icons/interaction.svg:
--------------------------------------------------------------------------------
1 | mouse
--------------------------------------------------------------------------------
/website/content/svg/elements/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: SVG Elements
3 | description: A collection of SVG elements for lookup and reference.
4 | layout: svg-aside-list
5 | references:
6 | - name: 'MDN SVG Elements'
7 | url: 'https://developer.mozilla.org/en-US/docs/Web/SVG/Element'
8 | - name: 'SVG Working Group Element Index'
9 | url: 'https://svgwg.org/svg2-draft/eltindex.html'
10 | ---
11 |
--------------------------------------------------------------------------------
/website/static/icons/basic-elements.svg:
--------------------------------------------------------------------------------
1 | elements copy
--------------------------------------------------------------------------------
/website/static/icons/maps.svg:
--------------------------------------------------------------------------------
1 | utah
--------------------------------------------------------------------------------
/website/static/logo-hero.svg:
--------------------------------------------------------------------------------
1 | logo-hero
--------------------------------------------------------------------------------
/docs/icons/full-screen-view.svg:
--------------------------------------------------------------------------------
1 | full-screen-view
--------------------------------------------------------------------------------
/docs/icons/graph.svg:
--------------------------------------------------------------------------------
1 | graph
--------------------------------------------------------------------------------
/docs/icons/path-element.svg:
--------------------------------------------------------------------------------
1 | path
--------------------------------------------------------------------------------
/resources/icons/elements.svg:
--------------------------------------------------------------------------------
1 | elements
--------------------------------------------------------------------------------
/docs/icons/animation.svg:
--------------------------------------------------------------------------------
1 | animation
--------------------------------------------------------------------------------
/resources/icons/full-screen-view.svg:
--------------------------------------------------------------------------------
1 | full-screen-view
--------------------------------------------------------------------------------
/resources/icons/graph.svg:
--------------------------------------------------------------------------------
1 | graph
--------------------------------------------------------------------------------
/website/content/svg/elements/marker/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Marker
3 | description: A marker element can be used to define a marker along a path. For example, we can define a marker to represent an arrow at the start or end of the path.
4 | hidden: true
5 | ---
6 |
7 | A marker element can be used to define a marker along a path. For example, we can define a marker to represent an arrow at the start or end of the path.
8 |
--------------------------------------------------------------------------------
/website/static/icons/interaction.svg:
--------------------------------------------------------------------------------
1 | mouse
--------------------------------------------------------------------------------
/website/static/icons/path.svg:
--------------------------------------------------------------------------------
1 | path
--------------------------------------------------------------------------------