While Volity is not explicitly tied to any one UI format at core, the project has been enamored with SVG since its inception. The Gamut client uses SVG + ECMAScript UI files.
You can drop inline SVG documents into any Volity Wiki page. Any raw URL ending in .svg
or .svgz
will be automatically rendered into an appropriate HTML <object>
tag.
To set dimensions on the SVG viewport that the tag creates, append |w=[pixels]&h=[pixels]
after the URL. If you don't set dimensions, the viewport will take on a small default size, with the document initially scaling or cropping itself to fit. (The difference depends on the SVG object's top-level width, height, viewBox, and preserveAspectRatio attributes.)
Examples:
http://www.croczilla.com/svg/samples/butterfly/butterfly.svg
http://www.croczilla.com/svg/samples/butterfly/butterfly.svg|w=410&h=300