mirror of
https://github.com/wassname/svg2cube.git
synced 2026-06-27 19:49:19 +08:00
6d06b2144755fc6eb2b768463554a2f1e647e4d8
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.
Languages
JavaScript
74.8%
HTML
25.2%


