Socket
Socket
Sign inDemoInstall

solid-parakeet

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    solid-parakeet

hsla functional notation represention of the complex plane


Version published
Weekly downloads
3
Maintainers
1
Created
Weekly downloads
 

Readme

Source

solid-parakeet - color model for complex numbers

npm cc0

<img align=right alt=hsl src=https://upload.wikimedia.org/wikipedia/commons/thumb/3/32/HSL_sphere_color_solid.png/320px-HSL_sphere_color_solid.png title=SharkD@wikimedia.org /> equivalent to the suface depicted as the riemann sphere. hue is the imaginary componet. lightness the real. 100% saturation; gray is NaN.

> solidparakeet( 0, 1 ) // i
'hsla(90, 100%, 50%, 1)' // "lime"

browser

<script src="solid-parakeet.js"></script>
<script>
  solidparakeet( 0, 1 )
</script>

npm

npm install --save solid-parakeet
var solidparakeet = require( 'solid-parakeet' )

require.js

<script src="require.js"></script>
<script>
  requirejs( ['solid-parakeet'], function ( solidparakeet ) {
    document.body.style.backgroundColor = solidparakeet( 0, 1 )
  } )
</script>

Keywords

FAQs

Last updated on 24 Jan 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc