1.0.0 • Published 8 years ago

superformula v1.0.0

Weekly downloads
2
License
ISC
Repository
-
Last release
8 years ago

makeDrawing

Makes a drawing for you! Promise-based!

Usage

Pass it a frequency and amplitude -- 100 and 100 is a good place to start -- and it returns the file path of a new drawing.

const makeDrawing = require('makeDrawing')

for (var i = 10; i < 100; i += 10) {
  makeDrawing(i, i)
  .then(function(filePath) {
    console.log('Finished making the drawing:', filePath);
  })
}
1.0.0

8 years ago