I edited the rendering behavior to remove the depth effect and add gridlines for easier diagramming for a math paper that I was writing. The modified code can be found in the grid-render branch; everything else functions the same. Thanks to nathan-huckleberry for doing the hard work for me!
A basic command-line utility for rendering fumens as png/gif images in the style of four.lol. Written using Knewjade's tetris-fumen.
Rendering single fumen page to png
fumen-canvas.js image <fumen> <output file>
Renders page of fumen into a png.
Options:
--version Show version number [boolean]
--help Show help [boolean]
--page Render a specific page of the fumen. [number] [default: 0]
--height Number of rows to render starting at the bottom. [number]
--transparent Make empty squares transparent. [boolean] [boolean]
Rendering full fumen to gif
fumen-canvas.js gif <fumen> <output file>
Renders fumen into a gif.
Options:
--version Show version number [boolean]
--help Show help [boolean]
--start Specify index of first page to be rendered.
[number] [default: 0]
--end Specify index at which to stop rendering. [number]
--height Number of rows to render starting at the bottom. [number]
--transparent Make empty squares transparent. [boolean]
node fumen-canvas.js gif v115@vhKyOJDkBmfBksB9tBHjBplBNrBkmBHsBAAA pc.gif