Neutrinos Peludos Magnéticos
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

Keywords

none

install

npm i superformula

Downloadsweekly downloads

1

version

1.0.0

license

ISC

last publish

collaborators

  • avatar