New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cleerly/cardinal-spline-3d

Package Overview
Dependencies
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cleerly/cardinal-spline-3d

Smooth curve through points with tension and resolution options.

  • 3.0.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Cardinal spline

Generate cardinal splines in 2 or 3 dimentions

2d

(red boxes show control points)

3d

(rendered using npmcad)

example

var spline = require('cardinal-spline')

var points = spline([ //array of control points
    [x,y,z],...
  ],
  0.5, //tension
  20 //number of segments between each control point
)

License

adapted from epistemex/cardinal-spline-js

Released under MIT license. You can use this class in both commercial and non-commercial projects provided that full header (minified and developer versions) is included.

© 2013-2017 Epistemex

Epistemex

Keywords

FAQs

Package last updated on 01 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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