Skip to content

Commit

Permalink
Merge branch 'hotfix/0.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadSawalhy committed Sep 4, 2020
2 parents 9cb357b + ade8b85 commit 0455076
Show file tree
Hide file tree
Showing 18 changed files with 445 additions and 419 deletions.
20 changes: 5 additions & 15 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
module.exports = {
"env": {
"browser": true,
"es6": true
"es2021": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2018,
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
}
};
};
26 changes: 25 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
### Security

## [0.0.2] - 2020-9-4
### Fixed
- the second trial to fix readme file issue, after asking [a question](https://stackoverflow.com/questions/63733460/readme-is-deformed-in-npmjs-but-appears-in-github) in stackoverflow.



## [0.0.1] - 2020-9-4
### Fixed
- Change README.md from a binary looking file into a file in bytes, there was weird README in [rakam](https://npmjs.com/package/rakam).


## [0.0.0] - 2020-9-4
### Added
- `math2js` to convert math expression from a string into real js function by generating the code then evaluating it.
- `geometry.angles` property in the exported library, with angles you can get:
- the angle between two vectors or lines, in a clockwise direction or the other one. You can also trim or normalize the angle to be between 0 and 360.
- the min angle between two vectors or lines, in either direction
- as well as the max angle

- `geometry.lines`: here you can get
- line equation `ax+by+c=0`, the line info returned as {a:number,b:number,c:number}
- the intersection point between two lines
- projection of a point on a line
- the dist, or the displacement till the line from a given point, the shortest distance to the line, which is the length of the perpendicular line to this line from that point.

- `core`: that contains some useful functions such as `lcm`, `gcd`, `constrain`, `dist`

The First publish, still uncompleted package to be even used.
Binary file modified README.md
Binary file not shown.
Binary file modified docs/parser/math2js.md
Binary file not shown.
Loading

0 comments on commit 0455076

Please sign in to comment.