diff --git a/config.php b/config.php index ca3e6d5..885f96a 100644 --- a/config.php +++ b/config.php @@ -1,6 +1,6 @@ - +
diff --git a/js/pamela-nodes.js b/js/pamela-nodes.js index d837840..47f28d1 100644 --- a/js/pamela-nodes.js +++ b/js/pamela-nodes.js @@ -147,17 +147,17 @@ Node.prototype.draw = Node.prototype.normal.draw; jQuery.extend(NorbertNode.prototype, Node.prototype); function NorbertNode() { this.norbert = new Image(); - this.norbert.src = "img/ccc.png"; + this.norbert.src = "img/norbert-8bit.png"; this.position = new Vector(0, 0, 0); } 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 - (192 / s)); - var y = Math.floor(this.projection.y - (180 / s)); + 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 - (192 / s)); + //var y = Math.floor(this.projection.y - (180 / s)); context.drawImage(this.norbert, x, y); }; diff --git a/js/pamela.js b/js/pamela.js index d7e567d..cb8f5e3 100644 --- a/js/pamela.js +++ b/js/pamela.js @@ -166,7 +166,7 @@ Pamela.prototype.draw = function() { }); context.save(); - context.fillStyle = "#333"; + context.fillStyle = "#fff"; context.fillRect( 0, 0, width, height ); context.translate(width / 2, height / 2); for (var i = 0; i < this.nodes.length; i++) { diff --git a/pamela-scanner.sh b/pamela-scanner.sh index b48f5ff..a93976c 100755 --- a/pamela-scanner.sh +++ b/pamela-scanner.sh @@ -39,7 +39,7 @@ exit 1 } IF='wlan0' -OUT='http://81.163.130.39/pamela/upload.php' +OUT='http://hackerspace.be/pam/upload.php' SLEEP='120' TEMP=$(getopt -o 'hi:o:s:-n' "pamela arp scanner" -- "$@")