zdog icon indicating copy to clipboard operation
zdog copied to clipboard

Flat, round, designer-friendly pseudo-3D engine for canvas & SVG

Results 51 zdog issues
Sort by recently updated
recently updated
newest added

The ability to save and load graphs from Zdog .json files could be quite useful in the future, at least in gamedev purposes. Arranged in a tree structure, i.e. illustration:{...

feature request

A to-do for me. The composite shapes have some API weirdness: + Currently `Box` uses `BoxRect` class, which like a `Rect` only it isn't copied with `copyGraph`, because a `Box`...

When I try and create a new shape inside: var shapes = []; function animate(){ push.shapes(new Zdog.Shape({...})); illo.updateRenderGraph(); window.requestAnimationFrame(animate); } Although the array gets populated, the new shapes do not...

**Add a 👍 reaction** to this issue if you would like to see this feature added. Do not add +1 comments — [They will be deleted](https://metafizzy.co/blog/use-github-reactions-delete-plus-1-comments/). --- Right now there's...

feature request

Hi 👋 First of all thanks for an awesome library. Really like it so far! I wonder if there are any plans on implementing functionality to work with relative values...

feature request

Placing a box within a group produces the following (drag around to see the result): **Test case:** https://codepen.io/MarioD/pen/vwQErz

bug

I think it's more familiar and user friendly to rotate elements using degrees. Is it possible to set an optional global variable like `Zdog.useDegrees = true;`. Then any value passed...

feature request

Looks to me like the behaviour or of the dragger tool is working in euler angles, not quaternions. As is the vector.js has only euler rotation modes. Is it planned...

feature request

Currently composite shapes like `Hemisphere`, `Cylinder`, and `Cone` can only be rendered with fully circular bases. There is no easy way to render a quarter-sphere or half-cone. One solution may...

feature request

A possible enhancement of the cone shape: make it possible to define truncated cones (with a flat circular cap on each end). The cylinder shape would then, in principle, be...

feature request