modularscale
Calculate a value from a modular scale
Last updated 8 years ago by kylemathews .
MIT · Repository · Bugs · Original npm
$ cnpm install modularscale 
SYNC missed versions from official npm registry.

modularscale

Calculate a modular scale

Idea from http://www.modularscale.com/

Install

npm install modularscale

Usage

var ms = require('modularscale');

// Defaults to using golden ratio
ms(1);
// --> 1.618

// Set desired ratio
ms(1, "minor second");
// --> 1.066

// See modularscale.com for the full list of preset ratios.
// You can also pass it any ratio you'd like.

Current Tags

  • 2.0.1                                ...           latest (8 years ago)

1 Versions

  • 2.0.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org