Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contributing to the official modularscale.com js plugin #1

Open
scottkellum opened this issue Mar 4, 2015 · 5 comments
Open

Contributing to the official modularscale.com js plugin #1

scottkellum opened this issue Mar 4, 2015 · 5 comments

Comments

@scottkellum
Copy link

Nice to see some work on this! Found through automated tweets after registering with NPM.

Are you doing anything differently than the modular scale calculator that powers modularscale.com? Is there anything we are doing wrong or could be doing better? If you’re interested and have ideas on ways it can be better it’d be great to have your help there.

@KyleAMathews
Copy link
Owner

Hi :-) thanks for your great work on modularscale.com! Discovering these ideas has made my typography way way better.

The reason I wrote a new one is:

  1. it didn't look like your module was on NPM which I need
  2. I wanted the musical scales to be included within the module
  3. your calculator looks like it always generates an array of values which is useful for modularscale.com but not generally elsewhere.
  4. since I write all my code in commonjs modules, it'd be painful to fit a bower package into my workflow.

Definitely be interested in merging the two projects as long as the code meets both our needs and is published on NPM.

@scottkellum
Copy link
Author

Thanks, I’ll create cases for these.
#3 is incorrect, it should output a single value unless I merged a change I shouldn’t have.

Definitely interested in #4 and getting the package out to more people. I don’t usually write a lot of JS so am more familiar with Compass and Bower package management.

I’m going to add you as a contributor. Feel free to jump in if you’d like, would love to have some help. No pressure if you plan on carrying on, more power to you.

@KyleAMathews
Copy link
Owner

@scottkellum released this tonight — http://kyleamathews.github.io/react-typography/

@KyleAMathews
Copy link
Owner

How would you propose we collaborate (if at all)? Right now the two projects are different enough code wise that one or the other would have to change significantly...

@scottkellum
Copy link
Author

Hey, React typography looks great!

I just took care of all the above issues

Function works pretty much the same way, defaults to the golden section and ms(1) outputs 1.618033988749895. Adding a ratio is a bit different because it goes ms(value, bases, ratios) instead of ms(value, bases).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants