diff --git a/img/whitespace-logo-square-transp-drop.png b/img/whitespace-logo-square-transp-drop.png new file mode 100644 index 0000000..2b8ad38 Binary files /dev/null and b/img/whitespace-logo-square-transp-drop.png differ diff --git a/index.html b/index.html index 59b7b88..b4ed8fb 100644 --- a/index.html +++ b/index.html @@ -1,11 +1,11 @@ Pamela - + + + + diff --git a/js/pamela-nodes.js b/js/pamela-nodes.js index 28b5038..65a5555 100644 --- a/js/pamela-nodes.js +++ b/js/pamela-nodes.js @@ -175,7 +175,7 @@ Node.prototype.draw = Node.prototype.normal.draw; jQuery.extend(NorbertNode.prototype, Node.prototype); function NorbertNode() { this.norbert = new Image(); - this.norbert.src = "img/norbert-8bit.png"; + this.norbert.src = "img/whitespace-logo-square-transp-drop.png"; self = this; this.norbertLoaded = false; this.norbert.onload=function() { self.norbertLoaded = true; } @@ -185,8 +185,8 @@ function NorbertNode() { NorbertNode.prototype.draw = function() { var s = Math.abs(this.projection.z / (width / 2)); s *= 2; - var x = Math.floor(this.projection.x - (186 / s)); - var y = Math.floor(this.projection.y - (50 / s)); + var x = Math.floor(this.projection.x - (280 / s)); + var y = Math.floor(this.projection.y - (240 / s)); //var x = Math.floor(this.projection.x - (192 / s)); //var y = Math.floor(this.projection.y - (180 / s)); if (this.norbertLoaded) diff --git a/macs.php b/macs.php index 0753632..d2aaf6e 100644 --- a/macs.php +++ b/macs.php @@ -27,15 +27,11 @@ require_once("config.php"); require_once("lib/trans.php"); require_once("lib/macs.php"); -//function translator($mac) { -// global $mac_translation_table; -// if (array_key_exists($mac, $mac_translation_table)) -// return $mac_translation_table[$mac]; -// return $mac; -//} - $macs = macs_get(); $macs = known_macs_translate($macs); -//$macs = array_map("translator", $macs); -echo '["'.implode('", "', $macs).'"]'; +if (count($macs) > 0) { + echo '["'.implode('", "', $macs).'"]'; +} else { + echo '[]'; +} macs_purge();