@lyo/zdog
v1.1.0
Published
Browser-compatible version of zdog
Downloads
11
Readme
@lyo/zdog
A browser-compatible version of zdog built automatically with Lyo.
Usage
In a browser
<script src="https://cdn.jsdelivr.net/npm/@lyo/zdog"></script>
<script>
zdog.extend(foo, bar);
zdog.lerp(foo, bar, baz);
zdog.modulo(foo, bar);
zdog.easeInOut(foo, bar);
zdog.Vector(foo);
zdog.Anchor(foo);
zdog.Dragger(foo);
zdog.Illustration(foo);
zdog.PathCommand(foo, bar, baz);
zdog.Shape(foo);
zdog.Group(foo);
zdog.Rect(foo);
zdog.RoundedRect(foo);
zdog.Ellipse(foo);
zdog.Polygon(foo);
zdog.Hemisphere(foo);
zdog.Cylinder(foo);
zdog.Cone(foo);
zdog.Box(foo);
</script>
In Node.js
# Install
npm i @lyo/zdog
const zdog = require('@lyo/zdog')
zdog.extend(foo, bar);
zdog.lerp(foo, bar, baz);
zdog.modulo(foo, bar);
zdog.easeInOut(foo, bar);
zdog.Vector(foo);
zdog.Anchor(foo);
zdog.Dragger(foo);
zdog.Illustration(foo);
zdog.PathCommand(foo, bar, baz);
zdog.Shape(foo);
zdog.Group(foo);
zdog.Rect(foo);
zdog.RoundedRect(foo);
zdog.Ellipse(foo);
zdog.Polygon(foo);
zdog.Hemisphere(foo);
zdog.Cylinder(foo);
zdog.Cone(foo);
zdog.Box(foo);
Disclaimer
This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.
Use at your own risk