mirror of
https://github.com/wassname/svg2cube.git
synced 2026-07-26 13:37:18 +08:00
ed1e4156664814d38c815eff555726ae6189097c
gen-svg-cube
This package makes isometric cubes. It takes in svg's and renders them from a given side at a given resolution.
Quickstart
TODO
Screenshots
Input:
Output:
GUI
Installation
npm i
Usage
From the command line:
nde svg2cube-cli.js inputs/panels.svg
Or in node:
var svg2cube = require('./svg2cube.js');
svg2cube('inputs/panels.svg',{rotateY: 45, size:256});
Author
wassname.org
License
MIT
Description
Generate isometric game sprites. Inputs an svg panel and it's folded into a cube and rendered from any angle.
678 KiB
Languages
JavaScript
74.8%
HTML
25.2%


