superformula

1.0.0 • Public • Published

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);
  })
}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i superformula

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • billyzac