GithubHelp home page GithubHelp logo

sassy-math's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sassy-math's Issues

Naming arguments and categorizing functions

In the readme.md and in the sassy-math.rb files, the inverse trigonometric functions, the hyperbolic functions and their inverses take in an argument called $radians or rad. That's a bit misleading.

The inverse trigonometric functions actually take in a number value (restricted to the interval [-1, 1] in the case of sin and cos) and output an angle value in radians. It's precisely the inverse of the direct trigonometric functions, which take in an angle value in radians and return a number (which is a number between -1 and 1 for sin and cos).

The hyperbolic functions are just that, hyperbolic functions. They're not trigonometric functions and they don't fall under trigonometry, but under hyperbolic geometry. Their name is just an analogy. Just like when plotting the points (sin(a), cos(a)), the result is the unit circle (which is why the trigonometric functions are also called circular functions), when plotting the points (sinh(a), cosh(a)), the result is the unit hyperbola.

Calling the argument for such a function $radians or rad doesn't make much sense, since the radian is a unit of angular measure. Both the hyperbolic functions and their inverses take in a number value and return a number value as well (with the domain restrictions corresponding to each).

Building a test suite

Sam,

I am playing around with building a test suite for this stuff as I dive in but am having trouble getting the ruby working. Are you building a gem after each change to test? Seems like there should be a better way.

Attached is my work, hoping to tackle random numbers and stuff to get back into this:
scottkellum/sassy-math@f7c3654

Planning on rolling this stuff into modular scale, and this project into Compass.

Move to Branch/Pull Request Model

What are people's thoughts on moving from a "push straight to master" model to a "branch and issue pull request" model? This would help with us stepping on each other's toes and make it easier to keep track of discrete pieces to be worked on.
Thoughts?

use a prefix

hi,

is it possible to use a prefix for functions in order to avoid conflicts with other frameworks?

thanks!

Make public

Ready to make this public soon? Lets just clean this up and switch it to SCSS only. Mark as beta and add the licence.

The basics are there, but it seems like we need more eyes on this to polish up rough areas.

Convert to SCSS

Would anyone be opposed to me converting this to SCSS? For me, with lots of nested if/else and for loops, SCSS is a lot easier to keep track of everything.

Should exponent() be able to accept a fraction?

Hi, in your readme file you mention being able to us

exponent($base, $power_numerator, $power_denominator)

However this function only accepts two arguments. Have I misunderstand the meaning here?

Publish to npm

Would be nice so we can use it on, say, Metalsmith projects.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.