From ac192b779b58e187c9749a4aa2c4b04734110e35 Mon Sep 17 00:00:00 2001 From: Brandon Tilley Date: Sat, 28 Dec 2013 21:45:22 -0800 Subject: [PATCH] (site) Increase number of pings on homepage/rotating example --- site/public/examples/rotating.ejs | 2 +- site/public/examples/rotating.js | 2 +- site/public/js/homepage.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/site/public/examples/rotating.ejs b/site/public/examples/rotating.ejs index b4ed4c6..d20a86d 100644 --- a/site/public/examples/rotating.ejs +++ b/site/public/examples/rotating.ejs @@ -69,7 +69,7 @@ var lng = Math.random() * 360 - 180; var color = colors[Math.floor(Math.random() * colors.length)]; globe.plugins.pings.add(lng, lat, { color: color, ttl: 2000, angle: Math.random() * 10 }); - }, 250); + }, 150); var canvas = document.getElementById('rotatingGlobe'); // Special code to handle high-density displays (e.g. retina, some phones) diff --git a/site/public/examples/rotating.js b/site/public/examples/rotating.js index 1eacc55..ec9b7a4 100644 --- a/site/public/examples/rotating.js +++ b/site/public/examples/rotating.js @@ -44,7 +44,7 @@ var lng = Math.random() * 360 - 180; var color = colors[Math.floor(Math.random() * colors.length)]; globe.plugins.pings.add(lng, lat, { color: color, ttl: 2000, angle: Math.random() * 10 }); - }, 250); + }, 150); var canvas = document.getElementById('rotatingGlobe'); // Special code to handle high-density displays (e.g. retina, some phones) diff --git a/site/public/js/homepage.js b/site/public/js/homepage.js index c5a516b..cfad5b2 100644 --- a/site/public/js/homepage.js +++ b/site/public/js/homepage.js @@ -40,7 +40,7 @@ var lng = Math.random() * 360 - 180; var color = colors[Math.floor(Math.random() * colors.length)]; globe.plugins.pings.add(lng, lat, { color: color, ttl: 2000, angle: Math.random() * 10 }); - }, 250); + }, 150); var canvas = document.getElementById('homepage-globe-canvas'); // Special code to handle high-density displays (e.g. retina, some phones)