Diary (December 7, 2020): Difference between revisions

From Gnomon Chronicles
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:


=== Snap.svg ===
=== Snap.svg ===
[[File:Sample.svg|thumb|SVG sample image.]]
<code>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="391" height="391" viewBox="-70.5 -70.5 391 391" xmlns="http://www.w3.org/2000/svg">
<rect fill="#fff" stroke="#000" x="-70" y="-70" width="390" height="390"/>
<g opacity="0.8">
<rect x="25" y="25" width="200" height="200" fill="green" stroke-width="4" stroke="pink" />
<circle cx="125" cy="125" r="75" fill="orange" />
<polyline points="50,150 50,200 200,200 200,100" stroke="red" stroke-width="4" fill="none" />
<line x1="50" y1="50" x2="200" y2="200" stroke="blue" stroke-width="4" />
</g>
</svg>
</code>


* [http://snapsvg.io/ Snap.svg] - JavaScript SVG library
* [http://snapsvg.io/ Snap.svg] - JavaScript SVG library

Revision as of 04:54, 7 December 2020

Online diary of Karl Jones for Monday December 7, 2020.

Previous: Diary (December 6, 2020) - Next: Diary (December 8, 2020)

Diary

Azerbaijan

Snap.svg

SVG sample image.

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg width="391" height="391" viewBox="-70.5 -70.5 391 391" xmlns="http://www.w3.org/2000/svg"> <rect fill="#fff" stroke="#000" x="-70" y="-70" width="390" height="390"/> <g opacity="0.8"> <rect x="25" y="25" width="200" height="200" fill="green" stroke-width="4" stroke="pink" /> <circle cx="125" cy="125" r="75" fill="orange" /> <polyline points="50,150 50,200 200,200 200,100" stroke="red" stroke-width="4" fill="none" /> <line x1="50" y1="50" x2="200" y2="200" stroke="blue" stroke-width="4" /> </g> </svg>

  • Snap.svg - JavaScript SVG library
  • Scalable Vector Graphics - an Extensible Markup Language (XML)-based vector image format for two-dimensional graphics with support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium (W3C) since 1999. SVG images and their behaviors are defined in XML text files. This means that they can be searched, indexed, scripted, and compressed. As XML files, SVG images can be created and edited with any text editor, as well as with drawing software.

In the News

Fiction cross-reference

Nonfiction cross-reference

External links