Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
updated some grafics at new terminal_p
orbiter719f5defb1db
diff --git a/htroot/processing/domaingraph/domaingraph.pde b/htroot/processing/domaingraph/domaingraph.pdeindex e79f083e7..5c38a76d9 100755--- a/htroot/processing/domaingraph/domaingraph.pde+++ b/htroot/processing/domaingraph/domaingraph.pde@@ -13,8 +13,8 @@ import processing.net.*;final float NODE_SIZE = 6;final float EDGE_LENGTH = 50;-final float EDGE_STRENGTH = 0.01;-final float SPACER_STRENGTH = 10;+final float EDGE_STRENGTH = 0.001;+final float SPACER_STRENGTH = 500;ParticleSystem physics;Smoother3D centroid;@@ -162,6 +162,22 @@ void keyPressed() {return;}+ if ( key == 'd' ) {+ HashSet hs = new HashSet();+ for (int i = 0; i < physics.numberOfParticles(); ++i ) {+ hs.add(physics.getParticle(i));+ }+ for (int i = 0; i < physics.numberOfSprings(); ++i ) {+ hs.remove(physics.getSpring(i).getOneEnd());+ hs.remove(physics.getSpring(i).getTheOtherEnd());+ }+ Iterator i = hs.iterator();+ while (i.hasNext()) {+ ((Particle) i.next()).kill();+ }+ return;+ }+if ( key == ' ' ) {Particle p = physics.makeParticle();addRelation(p, physics.getParticle( (int) random( 0, physics.numberOfParticles()-1) ));diff --git a/htroot/terminal_p.html b/htroot/terminal_p.htmlindex 90d494f2e..d586398dd 100755--- a/htroot/terminal_p.html+++ b/htroot/terminal_p.html@@ -7,7 +7,7 @@<meta name="description" content="YaCy Peer Live Monitoring" /><meta name="keywords" content="open,source,search,engine,monitor" /><link rel="stylesheet" type="text/css" href="/env/terminal.css" />-+<script type="text/javascript" src="/js/highslide/highslide.js"></script><script type="text/javascript">var loaderBanner = null;var loaderPerformance = null;@@ -21,7 +21,7 @@ function loadPerformance() {document.images[1].src = "/PerformanceGraph.png?cnt=" + cnt++;}function loadNetwork() {- document.images[3].src = "/NetworkPicture.png?width=660&height=360&bgcolor=FFFFFF&cnt=" + cnt++;+ document.images[3].src = "/NetworkPicture.png?width=660&height=360&bgcolor=000000&cnt=" + cnt++;}function init() {@@ -63,12 +63,12 @@ function init() {<div id="right"> <!-- start right side --><h1>Resource Monitor</h1>-<img src="/PerformanceGraph.png" width="330" height="120" name="graph" alt="PerformanceGraph"/>-<img src="/WebStructurePicture_p.png?host=auto&depth=2&width=660&height=240&nodes=100&time=1000" width="330" height="120" alt="WebStructurePicture"/>+<a href="/PerformanceGraph.png" onclick="return hs.expand(this)"><img src="/PerformanceGraph.png" width="330" height="120" name="graph" alt="PerformanceGraph"/></a>+<a href="/WebStructurePicture_p.png?host=auto&depth=2&width=660&height=240&nodes=100&time=1000" onclick="return hs.expand(this)"><img src="/WebStructurePicture_p.png?host=auto&depth=2&width=660&height=240&nodes=100&time=1000" width="330" height="120" alt="WebStructurePicture"/></a><h1>Network Monitor</h1><div style="text-align:left;margin:0;padding:0;">-<img src="/NetworkPicture.png?width=660&height=360&bgcolor=FFFFFF" width="330" height="180" alt="The yacy Network" />+<a href="/NetworkPicture.png?width=660&height=360&bgcolor=000000" onclick="return hs.expand(this)"><img src="/NetworkPicture.png?width=660&height=360&bgcolor=000000" width="330" height="180" alt="The yacy Network" /></a><embed src="http://maps.amung.us/flash/flashsrv.php?k=qp3j5gox&type=emb.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" flashvars="wausitehash=qp3j5gox&map=night&pin=star-orange&link=no" width="330" /></div>diff --git a/source/de/anomic/plasma/plasmaGrafics.java b/source/de/anomic/plasma/plasmaGrafics.javaindex 1967febbf..f67e14571 100644--- a/source/de/anomic/plasma/plasmaGrafics.java+++ b/source/de/anomic/plasma/plasmaGrafics.java@@ -196,7 +196,7 @@ public class plasmaGrafics {if (seedDB == null) return; // no other peers known- networkPicture = new ymageMatrix(width, height, ymageMatrix.MODE_SUB, bgcolor);+ networkPicture = new ymageMatrix(width, height, (bgcolor.equals("000000")) ? ymageMatrix.MODE_ADD : ymageMatrix.MODE_SUB, bgcolor);// draw network circlenetworkPicture.setColor(COL_DHTCIRCLE);