Socket
Socket
Sign inDemoInstall

canvas-starfield

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

6

canvas-starfield.js

@@ -29,4 +29,4 @@ /*

if (typeof module !== 'undefined') module.exports = sf
else window.Starfield = sf
if (typeof module !== 'undefined') module.exports = sf()
else window.Starfield = sf()

@@ -61,3 +61,3 @@ })(this, function() {

for (var i = 0, l = config.numStars || 500; i < l; i++) this.stars.push({
x: Math.round(Math.random() * this.canvas.width),
x: Math.round(Math.random() * this.canvas.width),
y: Math.round(Math.random() * this.canvas.height),

@@ -64,0 +64,0 @@ r: 0.5 + (Math.random() * (config.maxRadius || 500)),

{
"name": "canvas-starfield",
"version": "1.0.0",
"version": "1.0.1",
"description": "A canvas rendered starfield that twinkles and moves.",

@@ -5,0 +5,0 @@ "main": "canvas-starfield.js",

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