Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cubicbezier

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cubicbezier - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

LICENSE

6

package.json
{
"name": "cubicbezier",
"description": "贝塞尔曲线函数",
"version": "0.1.1",
"description": "function to generate cubicbezier lines.",
"version": "0.1.2",
"contributors": [

@@ -13,3 +13,3 @@ {

"type": "git",
"url": ""
"url": "https://github.com/MrRaindrop/cubicbezier"
},

@@ -16,0 +16,0 @@ "licenses": [

@@ -1,29 +0,16 @@

#cubicbezier
# cubicbezier
贝塞尔曲线函数。
function to generate cubicbezier lines.
## 最新版本
## usage
**0.1.0**
```javascript
var bezier = new lib.cubicbezier(
.25, // x1
.1, // y1
.25, // x2
1 // y2
);
## 依赖库
## 用Grunt打包
运行 `npm install`,来安装所需的依赖模块。关于NPM的知识,请参见[nodejs](http://nodejs.org/);
运行 `grunt`,来对项目进行打包。关于Grunt的知识,请参见[gruntjs](http://gruntjs.com/);
## 如何使用
var bezier = new lib.cubicbezier(
.25, // 控制点x1
.1, // 控制点y1
.25, // 控制点x2
1 // 控制点y2
);
bezier(0.5) // 0.8024033876954125
bezier(0.5) // 0.8024033876954125
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc